From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7673 invoked by alias); 6 Sep 2002 14:56:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 7654 invoked by uid 71); 6 Sep 2002 14:56:01 -0000 Resent-Date: 6 Sep 2002 14:56:01 -0000 Resent-Message-ID: <20020906145601.7652.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, dave@dtuson.freeserve.co.uk Resent-Reply-To: gcc-gnats@gcc.gnu.org, dave.tuson@m.eads.net Received: (qmail 1201 invoked by uid 61); 6 Sep 2002 14:50:32 -0000 Message-Id: <20020906145032.1200.qmail@sources.redhat.com> Date: Fri, 06 Sep 2002 07:56:00 -0000 From: dave.tuson@m.eads.net Reply-To: dave.tuson@m.eads.net To: gcc-gnats@gcc.gnu.org Cc: dave@dtuson.freeserve.co.uk X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify: dave@dtuson.freeserve.co.uk Subject: other/7848: Linking with gnat/gnarl libs causes crash at run-time X-SW-Source: 2002-09/txt/msg00097.txt.bz2 List-Id: >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: