stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Commented: (STDCXX-199) [XLC++ 8.0/Linux/PPC] SIGSEGV throwing an exception
Date Mon, 17 Jul 2006 18:29:15 GMT
    [ http://issues.apache.org/jira/browse/STDCXX-199?page=comments#action_12421684 ] 
            
Martin Sebor commented on STDCXX-199:
-------------------------------------

-------- Original Message --------
Subject: Re: PMR #: 02264,K78,000-abnormal exit of code on execution
Date: 	Fri, 14 Jul 2006 15:57:44 -0400
From: 	Basil Kanneth <bkanneth@ca.ibm.com>
To: 	Martin Sebor <sebor@roguewave.com>

Hi Martin,

We have opened a ticket with SuSE through an internal IBM portal. You 
can view this only if SuSE decides to publish it.

If you have no immediate questions or concerns regarding this PMR, I 
would like to set a follow-up date for Friday, July 21st, 2006.

Please contact me if you have any questions regarding this issue.

Sincerely,

Basil Kanneth
XL C/C++ and Fortran Support
IBM Software Group - Toronto Lab
+1 905-413-2880


*Martin Sebor <sebor@roguewave.com>*

07/11/2006 05:58 PM

	
To: Basil Kanneth/Toronto/IBM@IBMCA
cc: 
Subject: Re: PMR #: 02264,K78,000-abnormal exit of code on execution

Basil Kanneth wrote:
 >
 > Hi Martin,
 >
 > Can you please review my previous note regarding the
 > '-qnostaticlink=libgcc' option and let me know if you have any questions
 > regarding this PMR ?

I agree that it's a problem in gcc (we reproduced it with it
as well) or perhaps even in the OS. I'm wondering whether you
reported it to the gcc or SuSE folks and if so, if I could have
the bug number so I can continue to track the issue.

Thanks
Martin

 >
 > Sincerely,
 >
 > Basil Kanneth
 > XL C/C++ and Fortran Support
 > IBM Software Group - Toronto Lab
 > +1 905-413-2880
 >
 >
 > *Basil Kanneth/Toronto/IBM*
 >
 > 07/04/2006 03:33 PM
 >
 >                  
 > To: Martin Sebor <sebor@roguewave.com>
 > cc: 
 > Subject: Re: PMR #: 02264,K78,000-abnormal exit of code on executionLink
 > 
<Notes://D25ML04/8525715D00725DDB/DABA975B9FB113EB852564B5001283EA/1421B2B2B77D51908525719900692E90>
 >
 >
 >                  
 >
 >
 >
 >
 > Hi Martin,
 >
 > Has the '-qnostaticlink=libgcc' option fixed the abnormal exit of code
 > on execution ?
 >
 > Sincerely,
 >
 > Basil Kanneth
 > XL C/C++ and Fortran Support
 > IBM Software Group - Toronto Lab
 > +1 905-413-2880

> [XLC++ 8.0/Linux/PPC] SIGSEGV throwing an exception
> ---------------------------------------------------
>
>                 Key: STDCXX-199
>                 URL: http://issues.apache.org/jira/browse/STDCXX-199
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: External
>    Affects Versions: 4.1.3
>         Environment: XLC++ 8.0, gcc 3.3.3, SuSE Linux on PowerPC:
> $ uname -srvp && /lib64/tls/libc.so.6
> Linux 2.6.5-7.191-pseries64 #1 SMP Tue Jun 28 14:58:56 UTC
> 2005 ppc64
> GNU C Library stable release version 2.3.3 (20040412), by
> Roland McGrath et al.
> Copyright (C) 2004 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.
> Configured for ppc64-suse-linux.
> Compiled by GNU CC version 3.3.3 (SuSE Linux).
> Compiled on a Linux 2.6.5 system on 2005-06-03.
> Available extensions:
>         GNU libio by Per Bothner
>         crypt add-on version 2.1 by Michael Glad and others
>         NPTL 0.61 by Ulrich Drepper
>         GNU Libidn by Simon Josefsson
>         BIND-8.2.3-T5B
>         NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
> Thread-local storage support included.
> Report bugs using the `glibcbug' script to <bugs@gnu.org>.
>            Reporter: Martin Sebor
>
> PMR 02264,K78,000
> When compiled and linked with XLC++ 8.0 using the specified command line options the
program below exits abnormally. The same program runs successfully to
> completion when compiled and linked with gcc on the same machine (using gcc -g -m64 t.cpp
-lsupc++).
> $ cat t.cpp && xlc -qversion && xlc t.cpp -q64 -g -lxlopt -lxl -libmc++
-lsupc++ -lgcc -lgcc_eh && ./a.out 
> struct A { };
> void foo ();
> void bar () throw (A) { return foo (); }
> int foobar ()
> {
>     try {
>         bar ();
>         return 1;
>     }
>     catch (A) { return 0; }
>     catch (...) { }
>     return 2;
> }
> int main ()
> {
>     return foobar ();
> }
> void foo ()
> {
>     struct B: A { };
>     B b;
>     throw b;
> }
> IBM XL C/C++ Advanced Edition V8.0 for Linux   
> Version: 08.00.0000.0000  
> Segmentation fault

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message