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

--- Comment #2 from Christian Jullien <jullien at eligis dot com> ---
Thanks for your quick reply yet it is not totally satisfactory.

1) if gcc does not support pie on solaris 10 sparc (I can accept that), gcc
toolchain should detect this and protest (from ./configure) if PIE can't be
used on a given platform. Using PIE flag should make gcc return an error "PIE
no supported on this platform"

2) at the same time, Todd Miller (sudo developer) was able to use PIE on a very
similar machine (see
http://www.sudo.ws/pipermail/sudo-users/2013-May/005195.html) using gcc 4.8. It
looks there is a way to make gcc work with PIE. This is configure duty to find
this way and/or advice that a configure option is missing in order to support
PIE.

3) I also may have an incorrect ./configure options I'll be glad to fix and
test

Christian

Reply via email to