Discussion:
[gem5-users] When building gem5 has some problem
王宥憲
2018-09-04 21:09:49 UTC
Permalink
Hello

When I use "scons build/X86/gem5.opt" to build gem5, it show some error to
me.

build/X86/arch/x86/remote_gdb.o:(.bss+0x0): multiple definition of
`X86ISA::GDB_REG_BYTES'
build/X86/sim/system.o:(.bss+0x28): first defined here
collect2: error: ld returned 1 exit status
scons: *** [build/X86/gem5.opt] Error 1

Because system.o is a object file, I can not write or delete code.

The all files download from "https://github.com/markoshorro/gem5-spm"

Best regards
Yo-Xian,Wang
Ciro Santilli
2018-09-05 06:08:47 UTC
Permalink
What's your gem5 git SHA version? What's your compiler version? Did you
nuke the entire folder and do a clean build?
Post by 王宥憲
Hello
When I use "scons build/X86/gem5.opt" to build gem5, it show some error
to me.
build/X86/arch/x86/remote_gdb.o:(.bss+0x0): multiple definition of
`X86ISA::GDB_REG_BYTES'
build/X86/sim/system.o:(.bss+0x28): first defined here
collect2: error: ld returned 1 exit status
scons: *** [build/X86/gem5.opt] Error 1
Because system.o is a object file, I can not write or delete code.
The all files download from "https://github.com/markoshorro/gem5-spm"
Best regards
Yo-Xian,Wang
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Loading...