https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109004

--- Comment #5 from bugreporter66 at gmail dot com ---
The exact command line used to produce the new binaries (added -static):

ubuntu-mate@ubuntu-mate:~/Downloads/bug$ powerpc64le-linux-gnu-g++  -o
test_p64-test{0,.ii} -mcpu=power9 -O0 -fpie -pie -static
ubuntu-mate@ubuntu-mate:~/Downloads/bug$ 
ubuntu-mate@ubuntu-mate:~/Downloads/bug$ powerpc64le-linux-gnu-g++  -o
test_p64-test{2,.ii} -mcpu=power9 -O2 -fpie -pie -static

Also tried different QEMU versions (6.2.0, 5.1.0, 4.2.0) to eliminate the
possibility of emulation issue. The source and the compiler are the same as
with the original report.

ubuntu-mate@ubuntu-mate:~/Downloads/bug$ powerpc64le-linux-gnu-g++  --version
powerpc64le-linux-gnu-g++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0

Reply via email to