public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/31942]  New: -fPIE -pie executable SEGV before main()
@ 2007-05-15 18:27 lamont at debian dot org
  2007-05-15 18:45 ` [Bug c/31942] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: lamont at debian dot org @ 2007-05-15 18:27 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/31942] -fPIE -pie executable SEGV before main()
  2007-05-15 18:27 [Bug c/31942] New: -fPIE -pie executable SEGV before main() lamont at debian dot org
@ 2007-05-15 18:45 ` pinskia at gcc dot gnu dot org
  2007-05-16  3:20 ` danglin at gcc dot gnu dot org
  2007-06-02  0:13 ` danglin at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-15 18:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-05-15 19:44 -------
THis is more likely the dyanmic load's fault rather than GCC's.


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/31942] -fPIE -pie executable SEGV before main()
  2007-05-15 18:27 [Bug c/31942] New: -fPIE -pie executable SEGV before main() lamont at debian dot org
  2007-05-15 18:45 ` [Bug c/31942] " pinskia at gcc dot gnu dot org
@ 2007-05-16  3:20 ` danglin at gcc dot gnu dot org
  2007-06-02  0:13 ` danglin at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: danglin at gcc dot gnu dot org @ 2007-05-16  3:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from danglin at gcc dot gnu dot org  2007-05-16 04:19 -------
See
http://lists.parisc-linux.org/pipermail/parisc-linux/2006-January/028072.html


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/31942] -fPIE -pie executable SEGV before main()
  2007-05-15 18:27 [Bug c/31942] New: -fPIE -pie executable SEGV before main() lamont at debian dot org
  2007-05-15 18:45 ` [Bug c/31942] " pinskia at gcc dot gnu dot org
  2007-05-16  3:20 ` danglin at gcc dot gnu dot org
@ 2007-06-02  0:13 ` danglin at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: danglin at gcc dot gnu dot org @ 2007-06-02  0:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from danglin at gcc dot gnu dot org  2007-06-02 00:13 -------
After some discussion on the parisc-linux list, this bug was determined
to be in _start.  This is pure assembly code and part of glibc.  Therefore,
this is not a GCC bug.


-- 

danglin at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-06-02  0:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-15 18:27 [Bug c/31942] New: -fPIE -pie executable SEGV before main() lamont at debian dot org
2007-05-15 18:45 ` [Bug c/31942] " pinskia at gcc dot gnu dot org
2007-05-16  3:20 ` danglin at gcc dot gnu dot org
2007-06-02  0:13 ` danglin at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).