public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/33743] New: problem with unwinding through signal frame.
@ 2007-10-12 0:24 pluto at agmk dot net
2007-10-12 0:25 ` [Bug target/33743] " pluto at agmk dot net
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: pluto at agmk dot net @ 2007-10-12 0:24 UTC (permalink / raw)
To: gcc-bugs
gcc-4.1 with patch from PR26208 doesn't support
unwinding through signal frames.
$ uname -a
SunOS hermes 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Blade-1500
$ ./u-sparc-sun-solaris2.9
boom!
10af4 signalHandler+0x1c
ff31f010 _setuid+0x68
alive!
$ ./u-sparc64-sun-solaris2.9
boom!
100000dac signalHandler+0x28
ffffffff7f1a7b58 _setuid+0x54
alive!
on x86 it works fine.
$ ./u-i486-gnu-linux
boom!
0x8048ac8 signalHandler+0x15
0xffffe500 __kernel_sigreturn+0x0
0x8048b0e zoo+0x34
0x8048b21 bar+0xb
0x8048b36 foo+0x13
0x8048b63 main+0x28
0x322de6 __libc_start_main+0xc6
alive!
$ ./u-x86_64-gnu-linux
boom!
0x400deb signalHandler+0x1a
0x400e26 zoo+0x2c
0x400e45 bar+0x17
0x400e55 foo+0xe
0x400e6f main+0x18
0x34cf71c4cc __libc_start_main+0xdc
alive!
--
Summary: problem with unwinding through signal frame.
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at agmk dot net
GCC target triplet: sparc*-sun-solaris2.9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33743
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/33743] problem with unwinding through signal frame.
2007-10-12 0:24 [Bug target/33743] New: problem with unwinding through signal frame pluto at agmk dot net
@ 2007-10-12 0:25 ` pluto at agmk dot net
2007-10-12 0:26 ` pluto at agmk dot net
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pluto at agmk dot net @ 2007-10-12 0:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pluto at agmk dot net 2007-10-12 00:25 -------
Created an attachment (id=14342)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14342&action=view)
makefile.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33743
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/33743] problem with unwinding through signal frame.
2007-10-12 0:24 [Bug target/33743] New: problem with unwinding through signal frame pluto at agmk dot net
2007-10-12 0:25 ` [Bug target/33743] " pluto at agmk dot net
@ 2007-10-12 0:26 ` pluto at agmk dot net
2007-10-12 8:25 ` [Bug target/33743] " ebotcazou at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pluto at agmk dot net @ 2007-10-12 0:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pluto at agmk dot net 2007-10-12 00:26 -------
Created an attachment (id=14343)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14343&action=view)
testcase.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33743
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/33743] unwinding through signal frame
2007-10-12 0:24 [Bug target/33743] New: problem with unwinding through signal frame pluto at agmk dot net
2007-10-12 0:25 ` [Bug target/33743] " pluto at agmk dot net
2007-10-12 0:26 ` pluto at agmk dot net
@ 2007-10-12 8:25 ` ebotcazou at gcc dot gnu dot org
2008-11-30 9:52 ` ebotcazou at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-10-12 8:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from ebotcazou at gcc dot gnu dot org 2007-10-12 08:25 -------
> gcc-4.1 with patch from PR26208 doesn't support
> unwinding through signal frames.
>
> $ uname -a
> SunOS hermes 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Blade-1500
This is not supported on Solaris.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
Severity|normal |enhancement
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC build triplet| |*-*-solaris2.*
GCC host triplet| |*-*-solaris2.*
GCC target triplet|sparc*-sun-solaris2.9 |*-*-solaris2.*
Last reconfirmed|0000-00-00 00:00:00 |2007-10-12 08:25:13
date| |
Summary|problem with unwinding |unwinding through signal
|through signal frame. |frame
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33743
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/33743] unwinding through signal frame
2007-10-12 0:24 [Bug target/33743] New: problem with unwinding through signal frame pluto at agmk dot net
` (2 preceding siblings ...)
2007-10-12 8:25 ` [Bug target/33743] " ebotcazou at gcc dot gnu dot org
@ 2008-11-30 9:52 ` ebotcazou at gcc dot gnu dot org
2009-10-11 20:06 ` [Bug target/33743] unwinding through signal frames ebotcazou at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2008-11-30 9:52 UTC (permalink / raw)
To: gcc-bugs
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2007-10-12 08:25:13 |2008-11-30 09:50:42
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33743
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/33743] unwinding through signal frames
2007-10-12 0:24 [Bug target/33743] New: problem with unwinding through signal frame pluto at agmk dot net
` (3 preceding siblings ...)
2008-11-30 9:52 ` ebotcazou at gcc dot gnu dot org
@ 2009-10-11 20:06 ` ebotcazou at gcc dot gnu dot org
2009-10-11 20:49 ` ebotcazou at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2009-10-11 20:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from ebotcazou at gcc dot gnu dot org 2009-10-11 20:06 -------
Subject: Bug 33743
Author: ebotcazou
Date: Sun Oct 11 20:06:12 2009
New Revision: 152648
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152648
Log:
PR target/33743
* config/i386/sol2.h (MD_UNWIND_SUPPORT): Define.
* config/i386/sol2-unwind.h: New file.
Added:
trunk/gcc/config/i386/sol2-unwind.h
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/sol2.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33743
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/33743] unwinding through signal frames
2007-10-12 0:24 [Bug target/33743] New: problem with unwinding through signal frame pluto at agmk dot net
` (4 preceding siblings ...)
2009-10-11 20:06 ` [Bug target/33743] unwinding through signal frames ebotcazou at gcc dot gnu dot org
@ 2009-10-11 20:49 ` ebotcazou at gcc dot gnu dot org
2009-10-11 20:51 ` ebotcazou at gcc dot gnu dot org
2010-07-13 9:15 ` ro at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2009-10-11 20:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from ebotcazou at gcc dot gnu dot org 2009-10-11 20:49 -------
Subject: Bug 33743
Author: ebotcazou
Date: Sun Oct 11 20:48:46 2009
New Revision: 152649
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152649
Log:
PR target/33743
* config/sparc/sol2.h (MD_UNWIND_SUPPORT): Define.
* config/sparc/sol2-unwind.h: New file.
Added:
trunk/gcc/config/sparc/sol2-unwind.h
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/sparc/sol2.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33743
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/33743] unwinding through signal frames
2007-10-12 0:24 [Bug target/33743] New: problem with unwinding through signal frame pluto at agmk dot net
` (5 preceding siblings ...)
2009-10-11 20:49 ` ebotcazou at gcc dot gnu dot org
@ 2009-10-11 20:51 ` ebotcazou at gcc dot gnu dot org
2010-07-13 9:15 ` ro at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2009-10-11 20:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from ebotcazou at gcc dot gnu dot org 2009-10-11 20:51 -------
This now should work on Solaris 8, 9 and 10.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33743
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/33743] unwinding through signal frames
2007-10-12 0:24 [Bug target/33743] New: problem with unwinding through signal frame pluto at agmk dot net
` (6 preceding siblings ...)
2009-10-11 20:51 ` ebotcazou at gcc dot gnu dot org
@ 2010-07-13 9:15 ` ro at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: ro at gcc dot gnu dot org @ 2010-07-13 9:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from ro at gcc dot gnu dot org 2010-07-13 09:15 -------
Subject: Bug 33743
Author: ro
Date: Tue Jul 13 09:14:59 2010
New Revision: 162131
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162131
Log:
* config/i386/sol2-unwind.h (x86_64_fallback_frame_state): Correct
explanation.
Find ucontext_t * on Solaris 11.
(x86_fallback_frame_state): Handle Solaris 9 multi-threaded pattern.
Handle new Solaris 11 __sighndlr patterns.
Backport from mainline:
2009-10-11 Olivier Hainque <hainque@adacore.com>
Eric Botcazou <ebotcazou@adacore.com>
PR target/33743
* config/i386/sol2.h (MD_UNWIND_SUPPORT): Define.
* config/i386/sol2-unwind.h: New file.
Added:
branches/gcc-4_4-branch/gcc/config/i386/sol2-unwind.h
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/config/i386/sol2.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33743
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2010-07-13 9:15 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-12 0:24 [Bug target/33743] New: problem with unwinding through signal frame pluto at agmk dot net
2007-10-12 0:25 ` [Bug target/33743] " pluto at agmk dot net
2007-10-12 0:26 ` pluto at agmk dot net
2007-10-12 8:25 ` [Bug target/33743] " ebotcazou at gcc dot gnu dot org
2008-11-30 9:52 ` ebotcazou at gcc dot gnu dot org
2009-10-11 20:06 ` [Bug target/33743] unwinding through signal frames ebotcazou at gcc dot gnu dot org
2009-10-11 20:49 ` ebotcazou at gcc dot gnu dot org
2009-10-11 20:51 ` ebotcazou at gcc dot gnu dot org
2010-07-13 9:15 ` ro 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).