Hello,
I added a custom register class and two instructions manipulating the
new register class to the ARM architecture.
However, at the final step of linking ARM/gem5.OPT, the linker gives
seemingly unrelated undefined references:
[ LINK] -> ARM/gem5.opt
/usr/bin/ld: build/ARM/python/_m5/param_DummyChecker.o: in function
`.LC217':
param_DummyChecker.cc:(.rodata.cst8+0x30): undefined reference to
`gem5::DummyCheckerParams::create() const'
/usr/bin/ld: build/ARM/python/_m5/param_BaseO3Checker.o: in function
`.LC217':
param_BaseO3Checker.cc:(.rodata.cst8+0x30): undefined reference to
`gem5::BaseO3CheckerParams::create() const'
I've traced them to the generated files
"python3/_m5/param_DummyChecker.cc", "params/DummyChecker.hh" and
"python3/_m5/param_BaseO3Checker.cc", "params/BaseO3Checker.hh". However
I don't see how my changes could affect these generated files as the
only file I changed that's even remotely related to Checker stuff is
"src/cpu/checker/thread_context.hh". The rest of the files I touched
don't even contain "checker" in their paths.
Can anyone give some pointers where the issue could stem from?
Best,
Leonard
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org