From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21551 invoked by alias); 20 Nov 2013 17:59:01 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 21518 invoked by uid 89); 20 Nov 2013 17:59:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RDNS_NONE,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-la0-f41.google.com Received: from Unknown (HELO mail-la0-f41.google.com) (209.85.215.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 20 Nov 2013 17:58:59 +0000 Received: by mail-la0-f41.google.com with SMTP id eo20so1565851lab.28 for ; Wed, 20 Nov 2013 09:58:49 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.152.22.4 with SMTP id z4mr1413310lae.14.1384970329336; Wed, 20 Nov 2013 09:58:49 -0800 (PST) Received: by 10.112.173.195 with HTTP; Wed, 20 Nov 2013 09:58:49 -0800 (PST) In-Reply-To: References: Date: Wed, 20 Nov 2013 18:14:00 -0000 Message-ID: Subject: Re: C++ exceptions From: Jonathan Wakely To: vijay nag Cc: "gcc-help@gcc.gnu.org" Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00152.txt.bz2 On 20 November 2013 17:43, vijay nag wrote: > > Nope Im running a variant of debian linux i686 kernel. Does GCC pick > libgcc from GCC_EXEC_PREFIX ? I am running the program in complete > chroot encironment so that libraries donot collide with host machine. > Are you telling me that Issue is because of wrong version of libgcc ? It's not possible to say, because you've still provided almost no information. How are you building the libraries? What flags are you using to compile and link? Is the exception thrown from one of the libraries? Is the catch in a library or the main program? Have you tried a simple example that just has a single function in a single shared library that throws an exception? If not, why not? Without most of this information we're just guessing randomly what the problem might be.