Hello,
Is it possible to run dynamically linked binary in SE mode on ARM system
and for ARM? I'm trying to do it using --redirects /lib64=/usr/lib64 for
dynamic libs , but it isn't working. I got an error
build/ARM/sim/vma.cc:142: panic: Failed to map file into host address
space: Invalid argument. I saw message that it works only for x86, but it
is old information. Could you recommend something for me please?
Best regards
Iana
Hi Iana,
In theory it shouldn't be a problem to run a dynamically linked binary on a Arm host... Could you run the application with GDB and check why the mmap is failing?
Kind Regards
Giacomo
From: Iana Chertkova via gem5-users gem5-users@gem5.org
Sent: 28 April 2023 03:24
To: gem5-users@gem5.org gem5-users@gem5.org
Cc: Iana Chertkova yaneeka2209@gmail.com
Subject: [gem5-users] SE mode with dynamic linking
Hello,
Is it possible to run dynamically linked binary in SE mode on ARM system and for ARM? I'm trying to do it using --redirects /lib64=/usr/lib64 for dynamic libs , but it isn't working. I got an error build/ARM/sim/vma.cc:142: panic: Failed to map file into host address space: Invalid argument. I saw message that it works only for x86, but it is old information. Could you recommend something for me please?
Best regards
Iana
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.