http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57409

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|implement PIE support on    |implement PIE support or
                   |Solaris                     |reject -pie option

--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> I see different possible solutions:
> 
> 1) gcc toolchain detects that it is using a linker that does not support pie
> and issue a error "unsupported flag" when we try to use pie
> 
> 2) enter a binutils bug report asking to do a nop when it receives pie flags
> for a platform that does not support it (as does solaris standard ld)
> 
> 3) Ask Todd to check if pie is working from configure script.
> 
> Of course 3) will only fix sudo and no other packages trying to use pie.
> 
> What do you prefer?

No strong opinion, but PIE is essentially a Linux thing so it shouldn't be
enabled by default everywhere (unless you really know what you are doing).

The failure mode could admittedly be improved though, so let's record that.

Reply via email to