2

Change CONFIG_RETPOLINE to n. Run make menuconfig. Navigate to Processor type and features, and uncheck Avoid speculative indirect branches in kernel. Note that your kernel can be exposed to kernel-to-user data leaks.


2

Open the terminal in Ubuntu and type: sudo apt install g++-4.8 This command installs g++ version 4.8.5 in Ubuntu, the same version that is installed on your server. sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 40 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 60 sudo update-alternatives --config g++ After ...


1

I've had/am having the same problem. I think it's coming from gcc 9 throwing some warnings for stuff that wasn't throwing warnings before. As a quick fix, find the SConstruct file in your gem5 directory, scroll down to where gcc flags are being set and add the warnings that pop up to the no-error list (or remove the error flag altogether): main.Append(...


1

Hi I'm trying to compile Akira on 18.04 as well. For me building granite from source did not work. but then I found that you can just install the libgranite-devpackage.


1

as file.s -o file.out ld file.out -e main -o file ./file -o: Tells where to send the output -e: Tells ld the start symbol


1

On Ubuntu 18.04.3, I was able to get the correct missing library Xm.h using sudo apt-get install libmotif-dev


Only top voted, non community-wiki answers of a minimum length are eligible