https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87938
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-10 CC| |ebotcazou at gcc dot gnu.org Depends on| |87936 Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > But libgnat.a is compiled with whatever the default is, so if gcc defaults > to -pie -fPIE, then libgnat.a is compiled with -fPIE. My guess is that we > want to build libgnat.a with -fno-PIE/-fno-pie. That's not clear to me but, in any case, this depends on the other. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87936 [Bug 87936] gnatlink fails with -pie