public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/38642] [4.3/4.4 Regression] Code with -fPIC results in segfault on ARM (old ABI)
  2008-12-27 16:51 [Bug target/38642] New: [4.3/4.4 Regression] Code with -fPIC results in segfault on ARM (old ABI) tbm at cyrius dot com
@ 2008-12-27 16:51 ` tbm at cyrius dot com
  2009-01-01  5:14 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: tbm at cyrius dot com @ 2008-12-27 16:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tbm at cyrius dot com  2008-12-27 16:50 -------
Created an attachment (id=16991)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16991&action=view)
testcase


-- 


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


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

* [Bug target/38642]  New: [4.3/4.4 Regression] Code with -fPIC results in segfault on ARM (old ABI)
@ 2008-12-27 16:51 tbm at cyrius dot com
  2008-12-27 16:51 ` [Bug target/38642] " tbm at cyrius dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: tbm at cyrius dot com @ 2008-12-27 16:51 UTC (permalink / raw)
  To: gcc-bugs

[ Forwarded from http://bugs.debian.org/487406 ]

Enrico Zini reported the following bug (with testcase) to Debian: the attached
code compiled with -fPIC results in a segfault on ARM (old ABI; not on EABI).

It works fine on other architectures or on ARM with gcc 4.2.

I verified that the bug is present in gcc 4.3 from SVN and in trunk.


-- 
           Summary: [4.3/4.4 Regression] Code with -fPIC results in segfault
                    on ARM (old ABI)
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com
GCC target triplet: arm-linux-gnu


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


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

* [Bug target/38642] [4.3/4.4 Regression] Code with -fPIC results in segfault on ARM (old ABI)
  2008-12-27 16:51 [Bug target/38642] New: [4.3/4.4 Regression] Code with -fPIC results in segfault on ARM (old ABI) tbm at cyrius dot com
  2008-12-27 16:51 ` [Bug target/38642] " tbm at cyrius dot com
@ 2009-01-01  5:14 ` pinskia at gcc dot gnu dot org
  2009-01-03 15:31 ` rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-01-01  5:14 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.3


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


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

* [Bug target/38642] [4.3/4.4 Regression] Code with -fPIC results in segfault on ARM (old ABI)
  2008-12-27 16:51 [Bug target/38642] New: [4.3/4.4 Regression] Code with -fPIC results in segfault on ARM (old ABI) tbm at cyrius dot com
  2008-12-27 16:51 ` [Bug target/38642] " tbm at cyrius dot com
  2009-01-01  5:14 ` pinskia at gcc dot gnu dot org
@ 2009-01-03 15:31 ` rguenth at gcc dot gnu dot org
  2009-01-24 10:28 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-03 15:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-01-03 15:28 -------
only arm-eabi is in the list of primary/secondary targets.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
      Known to work|                            |4.2.4
           Priority|P3                          |P4


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


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

* [Bug target/38642] [4.3/4.4 Regression] Code with -fPIC results in segfault on ARM (old ABI)
  2008-12-27 16:51 [Bug target/38642] New: [4.3/4.4 Regression] Code with -fPIC results in segfault on ARM (old ABI) tbm at cyrius dot com
                   ` (2 preceding siblings ...)
  2009-01-03 15:31 ` rguenth at gcc dot gnu dot org
@ 2009-01-24 10:28 ` rguenth at gcc dot gnu dot org
  2009-07-10  9:45 ` [Bug target/38642] [4.3/4.4/4.5 " ramana at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-24 10:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2009-01-24 10:21 -------
GCC 4.3.3 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.3                       |4.3.4


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


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

* [Bug target/38642] [4.3/4.4/4.5 Regression] Code with -fPIC results in segfault on ARM (old ABI)
  2008-12-27 16:51 [Bug target/38642] New: [4.3/4.4 Regression] Code with -fPIC results in segfault on ARM (old ABI) tbm at cyrius dot com
                   ` (3 preceding siblings ...)
  2009-01-24 10:28 ` rguenth at gcc dot gnu dot org
@ 2009-07-10  9:45 ` ramana at gcc dot gnu dot org
  2009-07-11 15:23 ` mikpe at it dot uu dot se
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ramana at gcc dot gnu dot org @ 2009-07-10  9:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ramana at gcc dot gnu dot org  2009-07-10 09:45 -------
Does this still occur on trunk ?


-- 

ramana at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug target/38642] [4.3/4.4/4.5 Regression] Code with -fPIC results in segfault on ARM (old ABI)
  2008-12-27 16:51 [Bug target/38642] New: [4.3/4.4 Regression] Code with -fPIC results in segfault on ARM (old ABI) tbm at cyrius dot com
                   ` (4 preceding siblings ...)
  2009-07-10  9:45 ` [Bug target/38642] [4.3/4.4/4.5 " ramana at gcc dot gnu dot org
@ 2009-07-11 15:23 ` mikpe at it dot uu dot se
  2009-07-19 22:29 ` mikpe at it dot uu dot se
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mikpe at it dot uu dot se @ 2009-07-11 15:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from mikpe at it dot uu dot se  2009-07-11 15:23 -------
The bug occurs on OABI with gcc-4.3-20090705 but not with gcc-4.4-20090707.


-- 


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


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

* [Bug target/38642] [4.3/4.4/4.5 Regression] Code with -fPIC results in segfault on ARM (old ABI)
  2008-12-27 16:51 [Bug target/38642] New: [4.3/4.4 Regression] Code with -fPIC results in segfault on ARM (old ABI) tbm at cyrius dot com
                   ` (5 preceding siblings ...)
  2009-07-11 15:23 ` mikpe at it dot uu dot se
@ 2009-07-19 22:29 ` mikpe at it dot uu dot se
  2009-08-04 12:45 ` rguenth at gcc dot gnu dot org
  2010-05-22 18:28 ` [Bug target/38642] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: mikpe at it dot uu dot se @ 2009-07-19 22:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from mikpe at it dot uu dot se  2009-07-19 22:29 -------
This was fixed for 4.4 by revision 133117, which did a fair amount of stack
frame management changes. Applying that change to 4.3-20090712 fixes this test
case also for 4.3.

I'm not in a position to do a full regression test of an OABI toolchain, but I
may have time to test that it doesn't cause regressions for EABI.


-- 


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


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

* [Bug target/38642] [4.3/4.4/4.5 Regression] Code with -fPIC results in segfault on ARM (old ABI)
  2008-12-27 16:51 [Bug target/38642] New: [4.3/4.4 Regression] Code with -fPIC results in segfault on ARM (old ABI) tbm at cyrius dot com
                   ` (6 preceding siblings ...)
  2009-07-19 22:29 ` mikpe at it dot uu dot se
@ 2009-08-04 12:45 ` rguenth at gcc dot gnu dot org
  2010-05-22 18:28 ` [Bug target/38642] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rguenth at gcc dot gnu dot org  2009-08-04 12:29 -------
GCC 4.3.4 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.4                       |4.3.5


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


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

* [Bug target/38642] [4.3/4.4/4.5/4.6 Regression] Code with -fPIC results in segfault on ARM (old ABI)
  2008-12-27 16:51 [Bug target/38642] New: [4.3/4.4 Regression] Code with -fPIC results in segfault on ARM (old ABI) tbm at cyrius dot com
                   ` (7 preceding siblings ...)
  2009-08-04 12:45 ` rguenth at gcc dot gnu dot org
@ 2010-05-22 18:28 ` rguenth at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-22 18:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rguenth at gcc dot gnu dot org  2010-05-22 18:13 -------
GCC 4.3.5 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.5                       |4.3.6


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


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

end of thread, other threads:[~2010-05-22 18:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-27 16:51 [Bug target/38642] New: [4.3/4.4 Regression] Code with -fPIC results in segfault on ARM (old ABI) tbm at cyrius dot com
2008-12-27 16:51 ` [Bug target/38642] " tbm at cyrius dot com
2009-01-01  5:14 ` pinskia at gcc dot gnu dot org
2009-01-03 15:31 ` rguenth at gcc dot gnu dot org
2009-01-24 10:28 ` rguenth at gcc dot gnu dot org
2009-07-10  9:45 ` [Bug target/38642] [4.3/4.4/4.5 " ramana at gcc dot gnu dot org
2009-07-11 15:23 ` mikpe at it dot uu dot se
2009-07-19 22:29 ` mikpe at it dot uu dot se
2009-08-04 12:45 ` rguenth at gcc dot gnu dot org
2010-05-22 18:28 ` [Bug target/38642] [4.3/4.4/4.5/4.6 " rguenth 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).