public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28351] New: SIGSEGV rethrowing an exception with -m64 -static on ppc/linux
@ 2006-07-11 21:10 sebor at roguewave dot com
2006-07-11 21:13 ` [Bug c++/28351] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: sebor at roguewave dot com @ 2006-07-11 21:10 UTC (permalink / raw)
To: gcc-bugs
We're seeing the behavior below in 64-bit statically linked programs on
PowerPC/Linux (this has the same effect: gcc -m64 t.cpp -lsupc++). Here's
the stack trace, if it helps at all:
#0 0x00000000100010e8 in .__cxa_get_globals_fast ()
#1 0x0000000010000d60 in .__cxa_end_catch ()
#2 0x0000000010000a98 in main () at t.cpp:10
$ cat t.cpp && gcc --version && g++ -m64 t.cpp -static && ./a.out
void foo () { throw 0; }
int main ()
{
try {
try {
foo ();
}
catch (...) {
throw;
}
}
catch (...) {
return 0;
}
return 1;
}
$ cat t.cpp && gcc --version && g++ -m64 t.cpp -static && ./a.out
void foo () { throw 0; }
int main ()
{
try {
try {
foo ();
}
catch (...) {
throw;
}
}
catch (...) {
return 0;
}
return 1;
}
gcc (GCC) 3.3.3 (SuSE Linux)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Segmentation fault
gcc (GCC) 3.3.3 (SuSE Linux)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Segmentation fault
--
Summary: SIGSEGV rethrowing an exception with -m64 -static on
ppc/linux
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sebor at roguewave dot com
GCC build triplet: powerpc-suse-linux
GCC host triplet: powerpc-suse-linux
GCC target triplet: powerpc-suse-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28351
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/28351] SIGSEGV rethrowing an exception with -m64 -static on ppc/linux
2006-07-11 21:10 [Bug c++/28351] New: SIGSEGV rethrowing an exception with -m64 -static on ppc/linux sebor at roguewave dot com
@ 2006-07-11 21:13 ` pinskia at gcc dot gnu dot org
2006-07-11 21:42 ` sebor at roguewave dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-11 21:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-07-11 21:12 -------
I think this was a glibc bug with TLS. What version of glibc you are using?
Also you should really report this to SUSE first as it is their distro.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28351
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/28351] SIGSEGV rethrowing an exception with -m64 -static on ppc/linux
2006-07-11 21:10 [Bug c++/28351] New: SIGSEGV rethrowing an exception with -m64 -static on ppc/linux sebor at roguewave dot com
2006-07-11 21:13 ` [Bug c++/28351] " pinskia at gcc dot gnu dot org
@ 2006-07-11 21:42 ` sebor at roguewave dot com
2006-07-22 22:27 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: sebor at roguewave dot com @ 2006-07-11 21:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from sebor at roguewave dot com 2006-07-11 21:42 -------
Libc says it's 2.3.3 (20040412).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28351
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/28351] SIGSEGV rethrowing an exception with -m64 -static on ppc/linux
2006-07-11 21:10 [Bug c++/28351] New: SIGSEGV rethrowing an exception with -m64 -static on ppc/linux sebor at roguewave dot com
2006-07-11 21:13 ` [Bug c++/28351] " pinskia at gcc dot gnu dot org
2006-07-11 21:42 ` sebor at roguewave dot com
@ 2006-07-22 22:27 ` pinskia at gcc dot gnu dot org
2006-07-22 22:28 ` pinskia at gcc dot gnu dot org
2006-07-23 23:56 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-22 22:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-07-22 22:27 -------
This is a glibc bug which has been fixed already.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28351
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/28351] SIGSEGV rethrowing an exception with -m64 -static on ppc/linux
2006-07-11 21:10 [Bug c++/28351] New: SIGSEGV rethrowing an exception with -m64 -static on ppc/linux sebor at roguewave dot com
` (2 preceding siblings ...)
2006-07-22 22:27 ` pinskia at gcc dot gnu dot org
@ 2006-07-22 22:28 ` pinskia at gcc dot gnu dot org
2006-07-23 23:56 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-22 22:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-07-22 22:28 -------
*** Bug 28456 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28351
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/28351] SIGSEGV rethrowing an exception with -m64 -static on ppc/linux
2006-07-11 21:10 [Bug c++/28351] New: SIGSEGV rethrowing an exception with -m64 -static on ppc/linux sebor at roguewave dot com
` (3 preceding siblings ...)
2006-07-22 22:28 ` pinskia at gcc dot gnu dot org
@ 2006-07-23 23:56 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-23 23:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-07-23 23:56 -------
*** Bug 28456 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28351
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-07-23 23:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-11 21:10 [Bug c++/28351] New: SIGSEGV rethrowing an exception with -m64 -static on ppc/linux sebor at roguewave dot com
2006-07-11 21:13 ` [Bug c++/28351] " pinskia at gcc dot gnu dot org
2006-07-11 21:42 ` sebor at roguewave dot com
2006-07-22 22:27 ` pinskia at gcc dot gnu dot org
2006-07-22 22:28 ` pinskia at gcc dot gnu dot org
2006-07-23 23:56 ` pinskia 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).