[Bug ada/87936] gnatlink fails with -pie
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87936 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2018-11-10 CC||ebotcazou at gcc dot gnu.org Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #3 from Eric Botcazou --- Patches welcome.
[Bug ada/87936] gnatlink fails with -pie
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.ali gnatlink hello.ali -fPIC $ ./hello Hello, world! ... using -fpic: ... $ rm -f hello.ali hello.o hello ; gnatmake -fpic hello.adb gcc -c -fpic hello.adb gnatbind -x hello.ali gnatlink hello.ali -fpic $ ./hello Hello, world! ...
[Bug ada/87936] gnatlink fails with -pie
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87936 --- Comment #1 from Richard Biener --- I suppose it works when using -fPIC/-pic?