Hi Jason

I tried today using a the same unmodified build that caused the WriteMask.hh 
missing error and today it introduced a new error!

This time it was complaining about DataBlock.hh being missing however I checked 
the directory and the file was there. I recloned the repository and tried to 
build again using


scons build/X86/gem5.fast -j2


But now I'm getting thousands of "Multiple definition" errors from this step

[    LINK]  -> X86/gem5.fast.unstripped
build/X86/base/lib.fo.partial: In function `void cp::Print::add_arg<int>(int 
const&)':
(.text+0x5670): multiple definition of `void cp::Print::add_arg<int>(int 
const&)'
build/X86/dev/x86/lib.fo.partial:(.text.unlikely+0x0): first defined here
build/X86/kern/lib.fo.partial:(.rodata+0xf80): multiple definition of `typeinfo 
name for std::_Mutex_base<(__gnu_cxx::_Lock_policy)2>'
build/X86/base/lib.fo.partial:(.rodata+0x1160): first defined here
build/X86/kern/lib.fo.partial:(.rodata+0x2b0): multiple definition of `typeinfo 
name for PCEvent'
build/X86/base/lib.fo.partial:(.rodata+0x17a0): first defined here
build/X86/kern/lib.fo.partial:(.rodata+0x4a0): multiple definition of `vtable 
for GenericISA::UPCState<unsigned long>'
build/X86/base/lib.fo.partial:(.rodata+0x1b88): first defined here
...

________________________________
From: gem5-users <[email protected]> on behalf of Jason Lowe-Power 
<[email protected]>
Sent: 22 May 2017 15:28:27
To: gem5 users mailing list
Subject: Re: [gem5-users] Build failure for x86

Hi,

This is a strange error. It's saying the file doesn't exist... does it? Another 
thing you can try is re-cloning the repo from scratch and building. Then, 
assuming the clean build works, pull your changes in and rebuild.

Jason

On Sun, May 21, 2017 at 11:21 AM Moussa, Ayman 
<[email protected]<mailto:[email protected]>> wrote:

I forgot to add that I made in a minor change to the branch predictor in 
src/cpu/o3/O3CPU.py, which is why I want to re build gem5. This is probably a 
silly question but is it necessary to re build so I can see the changes?


Thanks

________________________________
From: gem5-users 
<[email protected]<mailto:[email protected]>> on behalf of 
Moussa, Ayman 
<[email protected]<mailto:[email protected]>>
Sent: 21 May 2017 17:15:53
To: gem5 users mailing list
Subject: [gem5-users] Build failure for x86


I've pulled from the latest repository today and I'm trying to rebuild 
gem5.fast for X86 but my build keeps failing:


 [     CXX] X86/python/_m5/param_DMA_Controller.cc -> .fo
In file included from build/X86/mem/protocol/Types.hh:3:0,
                 from build/X86/mem/protocol/DMA_Controller.hh:15,
                 from build/X86/python/_m5/param_DMA_Controller.cc:8:
build/X86/mem/protocol/WriteMask.hh:1:93: fatal error: 
/home/user/Desktop/Individual 
Project/gem5/build/X86/mem/ruby/common/WriteMask.hh: No such file or directory
compilation terminated.
scons: *** [build/X86/python/_m5/param_DMA_Controller.fo] Error 1
scons: building terminated because of errors.


Is there any solution for this?


_______________________________________________
gem5-users mailing list
[email protected]<mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to