Hi all,

I typically work on an x86 machine, but I’m trying to submit gem5 jobs to a 
cluster that runs ARM based hosts. Each source script compiles, I run into the 
following error when linking:

/tmp/gem5.fast.unstripped.PI0JsN.ltrans45.ltrans.o: in function 
`ArmV8KvmCPU::updateThreadContext()':
<artificial>:(.text+0x25884): relocation truncated to fit: 
R_AARCH64_ADR_PREL_PG_HI21 against `.rodata’collect2: error: ld returned 1 exit 
status

It makes sense that the .text segment of the binary will be very large, and I 
see that there is a note on gem5’s architecture support documentation that it 
is out dated. I assume that I can try disassembling the binary and seeing if 
there is an alternative command to avoid this particular linker error, but I 
figured I would also ping the mailing list to see if there is an easier fix as 
well.

Thank you all for your help!

Best,
Sam
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to