other/7848: Linking with gnat/gnarl libs causes crash at run-time

dave.tuson@m.eads.net dave.tuson@m.eads.net
Fri Sep 6 08:48:00 GMT 2002


>Number:         7848
>Category:       other
>Synopsis:       Linking with gnat/gnarl libs causes crash at run-time
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 06 07:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dave Tuson
>Release:        gcc-3.0.2
>Organization:
>Environment:
Compaq Alpha running TRU64 Unix 5.1
>Description:
I need to call Ada routines from C++ and therfore I use the gnat/gnarl libs.  If the C++ code include 'throw' statement the program will abort at the throw rather than handling the exception.  This happens for any code I write if I link with the above libs (even for simple C++ code that does not interface to Ada, as shown in the attachment).
>How-To-Repeat:
Attached file contains the source code, compile command and link command (along with the output generated by these commands).  Compile and link as per attached file and run the executable created.
>Fix:
None identified.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list