[gem5-users] Link problem with address version of m5ops in x86_64

2021-05-31 Thread Pedro Becker via gem5-users
Hi all, I'm trying to use the address version of m5ops with x86, to use it with X86KvmCPU. I compiled the x86 libm5.a following the docs: https://www.gem5.org/documentation/general_docs/m5ops/. I'm using the m5_exit_addr.c from gem5-resources (https://gem5.googlesource.com/public/gem5-resources

[gem5-users] Re: Link problem with address version of m5ops in x86_64

2021-05-31 Thread Pedro Becker via gem5-users
Hi, Adding the -no-pie flag when linking the target application solves the problem. Hence, step 2 turns into: $ gcc m5_exit_addr.o -o m5_exit_addr -L/home/pedro/gem5/util/m5/build/x86/out -lm5 -no-pie Best, Pedro. ___ gem5-users mailing list -- gem5-

[gem5-users] Re: Error Building the Disk Image SPEC CPU2017 using packer

2021-05-31 Thread Ange via gem5-users
Hi Hoa, Thank you for your response. I tried your solution, and I also followed this tutorial for KVM installation (https://help.ubuntu.com/community/KVM/Installation), and both passed the step, but now when the build is on the step below "qemu: Overriding default Qemu arguments with qemuargs

[gem5-users] sentInt() must only be used for interrupts 32 and higher

2021-05-31 Thread Leon Zhao via gem5-users
Hi all, When I was attempting to enable 2-core SMT on gem5 20.0.0.3, I encountered a panic directly caused by src/dev/arm/gic_v2.cc GicV2::sendInt(uint32_t num): /___ pani