https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100912
--- Comment #4 from Matheus Castanho ---
Just for completeness, setting the rpath showed the same results:
~/build/gcc> /home/mscastanho/usr/bin/g++ -g -Wl,-rpath,$HOME/usr/lib64
~/test-ieee128.cpp -o test-shared
~/build/gcc> ./test-shared
6.95
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100912
--- Comment #3 from Matheus Castanho ---
Using objdump -dr ~/usr/lib64/libstdc++.so.6:
[...]
000c9340 <_ZSt16__convert_from_vRKP15__locale_structPciPKcz>:
c9340: 25 00 4c 3c addis r2,r12,37
c9344: c0 c5 42 38
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100912
--- Comment #2 from Jonathan Wakely ---
Yes, or use "-Wl,-rpath,$HOME/usr/lib64" when linking.
I won't be able to test this myself until Monday
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100912
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2021-06-04
Component|libstdc++