From b795dd75727d51d6c141236cbccc82c434bc98a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Mon, 30 Dec 2019 00:00:00 +0000 Subject: [PATCH] gem5 gcc version --- README.adoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.adoc b/README.adoc index 7893e5e..2d5920e 100644 --- a/README.adoc +++ b/README.adoc @@ -611,6 +611,12 @@ If you have already built previously, don't be afraid: gem5 and QEMU use almost Remember that the gem5 boot is <> than QEMU since the simulation is more detailed. +gem5 moves a bit slowly, and if your host compiler is very new, the build might be broken for it, e.g. this was the case for Ubuntu 19.10 with GCC 9 and gem5 62d75e7105fe172eb906d4f80f360ff8591d4178 from Dec 2019. You can work around that by https://askubuntu.com/questions/466651/how-do-i-use-the-latest-gcc-on-ubuntu/1163021#1163021[installing an older compiler] and using it with something like: + +.... +./build-gem5 -- CC=gcc-8 CXX=g++-8 +.... + To get a terminal, either open a new shell and run: ....