This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Programs compiled with "-fPIE" + "-pie" seg fault on sparc-linux [testcase].
- From: Petter Reinholdtsen <pere at hungry dot com>
- To: Balint Cristian <rezso at rdsor dot ro>
- Cc: libc-alpha <libc-alpha at sources dot redhat dot com>, gcc at gcc dot gnu dot org
- Date: 08 Feb 2004 13:10:32 +0100
- Subject: Re: Programs compiled with "-fPIE" + "-pie" seg fault on sparc-linux [testcase].
- References: <200401120249.40163.rezso@rdsor.ro>
- Reply-by: Tue, 1 Jan 1801 04:37:40 +1000
[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/>.