-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compilation error in the docker image #9
Comments
An update on this. The issue occurs only when I am trying to build on OSX. If I pre-build on a Ubuntu VM and use that image on OSX - it works. I am not sure what is causing this but it would be great to know. |
I have very little experience with building on OSX, unfortunately. Does this issue also happen with just plain gem5? One thing you can try to do is to get scons to print out the command line for every command it's running to identify exactly which file the assembler is tripping up on. |
Tl;dr increase the CPU and RAM limit of the docker VM. Apologise for bumping this up after two years. But I had the same issue and resolved it by increasing the CPU and RAM limits of the docker desktop. As this might still be useful to anyone not on Linux. Longer description: Worth updating the documentation for this and might be good idea to also provide pre-built images. |
Hello,
I am trying to compile a gem5 in the docker image but it is unsuccessful. My workflow is as follows:
Getting the docker image and accessing it:
docker pull xyzsam/gem5-aladdin
docker run -it --rm --mount source=gem5-aladdin-workspace,target=/workspace xyzsam/gem5-aladdin
Updating submodules and aladdin
cd /workspace/gem5-aladdin/; git pull; git submodule update --init --recursive
cd /workspace/gem5-aladdin/src/aladdin; git pull origin master
Finally compiling gem5:
cd /workspace/gem5-aladdin/; scons build/X86/gem5.opt
First it asks about the missing hook
Then it fails with the following message:
Please find the log attached.
log.txt
Any help would be much appreciated,
Tomas
The text was updated successfully, but these errors were encountered: