[Bug ada/87936] gnatlink fails with -pie

2018-11-10 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87936 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ada/87936] gnatlink fails with -pie

2018-11-08 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87936 --- Comment #2 from Tom de Vries --- (In reply to Richard Biener from comment #1) > I suppose it works when using -fPIC/-pic? Using -fPIC: ... $ rm -f hello.ali hello.o hello ; gnatmake -fPIC hello.adb gcc -c -fPIC hello.adb gnatbind -x hello.a

[Bug ada/87936] gnatlink fails with -pie

2018-11-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87936 --- Comment #1 from Richard Biener --- I suppose it works when using -fPIC/-pic?