[Bug c++/34778] New: terminate called after throwing an instance of

2008-01-14 Thread tkiernan at gmail dot com
Hi ,
I have downloaded GCC 4.2.2 and configured it on powerpc , linux (redhat 4.5)

host: powerpc64-unknown-linux-gnu
build: powerpc64-unknown-linux-gnu
target: powerpc64-unknown-linux-gnu
configured with: ./configure -prefix=/home/teresa/gcc4.2.2/local/
--enable-languages=c,c++ -disable-nls -enable-sjlj-execptions

When I run my application , I'm  getting the problem when running an exception
from an instance of the class - see below as what i was getting with GCC
version 4.1.1  and version 4.2.2

Does anyone know if this has been fixed on gcc4.2.2 /4.1.1 and do I need to
configure a gcc flag to allow visibility ?


terminate called after throwing an instance of 'OracleAPIException'
  what():  ORA-20005: 
Below is the output of the stacktrace

 0x0080aad79f70 in .__GI_raise () from /lib64/tls/libc.so.6
#1  0x0080aad7bac4 in .__GI_abort () from /lib64/tls/libc.so.6
#2  0x0080ab12d5b4 in ._ZN9__gnu_cxx27__verbose_terminate_handlerEv ()
   from /usr/lib64/libstdc++.so.6
#3  0x0080ab12a00c in .__cxa_call_unexpected ()
   from /usr/lib64/libstdc++.so.6
#4  0x0080ab12a054 in ._ZSt9terminatev () from /usr/lib64/libstdc++.so.6
#5  0x0080ab12a2e4 in .__cxa_rethrow () from /usr/lib64/libstdc++.so.6


-- 
   Summary: terminate called after throwing an instance of
   Product: gcc
   Version: 4.2.2
Status: UNCONFIRMED
  Severity: blocker
  Priority: P3
 Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
    ReportedBy: tkiernan at gmail dot com


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



[Bug c++/34779] New: terminate called after throwing an instance of

2008-01-14 Thread tkiernan at gmail dot com
Hi ,
I have downloaded GCC 4.2.2 and configured it on powerpc , linux (redhat 4.5)

host: powerpc64-unknown-linux-gnu
build: powerpc64-unknown-linux-gnu
target: powerpc64-unknown-linux-gnu
configured with: ./configure -prefix=/home/teresa/gcc4.2.2/local/
--enable-languages=c,c++ -disable-nls -enable-sjlj-execptions

When I run my application , I'm  getting the problem when running an exception
from an instance of the class - see below as what i was getting with GCC
version 4.1.1  and version 4.2.2

Does anyone know if this has been fixed on gcc4.2.2 /4.1.1 and do I need to
configure a gcc flag to allow visibility ?


terminate called after throwing an instance of 'OracleAPIException'
  what():  ORA-20005: 
Below is the output of the stacktrace

 0x0080aad79f70 in .__GI_raise () from /lib64/tls/libc.so.6
#1  0x0080aad7bac4 in .__GI_abort () from /lib64/tls/libc.so.6
#2  0x0080ab12d5b4 in ._ZN9__gnu_cxx27__verbose_terminate_handlerEv ()
   from /usr/lib64/libstdc++.so.6
#3  0x0080ab12a00c in .__cxa_call_unexpected ()
   from /usr/lib64/libstdc++.so.6
#4  0x0080ab12a054 in ._ZSt9terminatev () from /usr/lib64/libstdc++.so.6
#5  0x0080ab12a2e4 in .__cxa_rethrow () from /usr/lib64/libstdc++.so.6


-- 
   Summary: terminate called after throwing an instance of
   Product: gcc
   Version: 4.2.2
Status: UNCONFIRMED
  Severity: blocker
  Priority: P3
 Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
    ReportedBy: tkiernan at gmail dot com


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



[Bug c++/34778] terminate called after throwing an instance of

2008-01-14 Thread tkiernan at gmail dot com


--- Comment #3 from tkiernan at gmail dot com  2008-01-14 12:16 ---
(In reply to comment #2)
> -enable-sjlj-execptions Why are you using that option?  This causes an ABI
> incompatiable with the default GCC build.
> 

Ok , I have reconfigured gcc4.2.2 without this option again ... 

How ever , I want to revert back to using gcc4.1.1 . Do you know if there was a
patch for gcc4.1.1 , Does it need to be configured with a flag to turn the
visibility on .. ??

Thanks  


-- 


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



[Bug c++/34778] terminate called after throwing an instance of

2008-01-14 Thread tkiernan at gmail dot com


--- Comment #4 from tkiernan at gmail dot com  2008-01-14 13:01 ---
I have reconfigued gcc4.2.2 withou the enable-sjlij-exceptions  flag and still
getting the same behaviour ...


-- 

tkiernan at gmail dot com changed:

   What|Removed |Added

   Severity|normal  |blocker


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



[Bug c++/34778] terminate called after throwing an instance of

2008-01-16 Thread tkiernan at gmail dot com


--- Comment #6 from tkiernan at gmail dot com  2008-01-16 12:29 ---
Created an attachment (id=14947)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14947&action=view)
TestCase


-- 


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



[Bug c++/34778] terminate called after throwing an instance of

2008-01-16 Thread tkiernan at gmail dot com


--- Comment #7 from tkiernan at gmail dot com  2008-01-16 12:32 ---
(From update of attachment 14947)
Attached is the source code and binary - issue is on gcc4.1.1 Linux redhat4.5, 
IBM ppc64.
It aborts when tries to rethrow exception across shared libs.
Execute ./main


-- 


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