Programs compiled with "-fPIE" + "-pie" seg fault on sparc-linux [testcase].

Petter Reinholdtsen pere@hungry.com
Sun Feb 8 12:10:00 GMT 2004


[Balint Cristian]
> First hope on right list, just remarked that programs compiled with
> -fPIE and linked with -pie instead -ldl not work it seg fault.

I'm not sure if this is the correct mailing list.

> [root@sun server]# gcc -pie -fPIE pietest.c -o pietest

When I test this on Debian Woody for x86, I get this message:

  % gcc -pie -fPIE pietest.c -o pietest
  gcc: unrecognized option `-pie'
  cc1: Invalid option `-fPIE'
  %

Is it sparc-specific?

If this is a glibc bug, the bug could be reported into
<URL:http://sources.redhat.com/bugzilla/>.



More information about the Libc-alpha mailing list