ELF loader fails to load shared object on ThunderX2 running RHEL7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
Simple test:
hello.c
include <stdio.h>
int main(int argc, char* argv[])
{
{
printf("Hello World... \n");
}
return 0;
}
when compiled with :
*Compiler
https:/
Arm-Compiler-
*Running:
1) with -armpl
armclang -armpl hello.c
./
2) without flag
armclang hello.c
./
•With Docker image:
CentOS Linux release 7.7.1908 (AltArch)
*Two different machines:
AArch64, Taishan. tsv110, Kunpeng 920, ARMv8.2-A
AArch64, Taishan 2280, Cortex-A72, ARMv8-A
*QEMU 4.0
qemu-aarch64 version 4.1.91 (v4.2.0-rc1)
Results:
****Taishan 2280 Cortex-A72
Running
1)with -armpl flag with and without the docker
WORKS-> Hello World...
-> ldd a.out
ldd a.out
linux-vdso.so.1 => (0x0000ffffbc6a
libamath_generic.so => /scratch/
libm.so.6 => /lib64/libm.so.6 (0x0000ffffbc49
libastring_
libomp.so => /scratch/
librt.so.1 => /lib64/librt.so.1 (0x0000ffffbbed
libpthread.so.0 => /lib64/
libarmpl_
libc.so.6 => /lib64/libc.so.6 (0x0000ffffb318
libstdc++.so.6 => /scratch/
libgcc_s.so.1 => /scratch/
libdl.so.2 => /lib64/libdl.so.2 (0x0000ffffb2ed
/lib/ld-
Running
2) without -armpl flag with and without the docker
WORKS -> Hello World...
-> ldd a.out
ldd a.out
linux-vdso.so.1 => (0x0000ffffa689
libastring_
libc.so.6 => /lib64/libc.so.6 (0x0000ffffa66c
/lib/ld-
****Taishan - tsv110 Kunpeng 920
For Running
1)with -armpl flag with and without the docker
DOES NOT WORK -> with and without Docker
context @ pc=0xffffaaa8844a
ldd a.out
linux-vdso.so.1 => (0x0000ffffad4b
libamath_generic.so => /scratch/
libm.so.6 => /lib64/libm.so.6 (0x0000ffffad2a
libastring_
libomp.so => /scratch/
librt.so.1 => /lib64/librt.so.1 (0x0000ffffaccc
libpthread.so.0 => /lib64/
libarmpl_
libc.so.6 => /lib64/libc.so.6 (0x0000ffffa3f5
libstdc++.so.6 => /scratch/
libgcc_s.so.1 => /scratch/
libdl.so.2 => /lib64/libdl.so.2 (0x0000ffffa3c9
/lib/ld-
Running
2) without -armpl flag with and without the docker
ldd a.out
linux-vdso.so.1 => (0x0000ffff880c
libastring_
libc.so.6 => /lib64/libc.so.6 (0x0000ffff87ee
/lib/ld-
Changed in qemu: | |
status: | New → Incomplete |
Could you invoke one of the failing and passing cases with -d page and post the results please.