This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/31942] New: -fPIE -pie executable SEGV before main()
- From: "lamont at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 May 2007 18:27:19 -0000
- Subject: [Bug c/31942] New: -fPIE -pie executable SEGV before main()
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
On hppa, using either of the following gcc's (Debian sid and Ubuntu feisty):
gcc version 4.1.3 20070429 (prerelease) (Debian 4.1.2-6)
gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4hppa1)
results in the following:
% cat xx.c; gcc -pie -fPIC -fPIE xx.c && ./a.out
int main(int n,const**p) { ; return 0; }
Segmentation fault
gcc version 4.1.2 20061115 seems ok
--
Summary: -fPIE -pie executable SEGV before main()
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: lamont at debian dot org
GCC build triplet: hppa-linux-gnu
GCC host triplet: hppa-linux-gnu
GCC target triplet: hppa-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31942