From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14237 invoked by alias); 24 Mar 2008 20:59:19 -0000 Received: (qmail 14228 invoked by uid 22791); 24 Mar 2008 20:59:17 -0000 X-Spam-Check-By: sourceware.org Received: from wa-out-1112.google.com (HELO wa-out-1112.google.com) (209.85.146.182) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 24 Mar 2008 20:58:39 +0000 Received: by wa-out-1112.google.com with SMTP id m16so2989760waf.20 for ; Mon, 24 Mar 2008 13:58:35 -0700 (PDT) Received: by 10.114.126.1 with SMTP id y1mr12635110wac.108.1206392315141; Mon, 24 Mar 2008 13:58:35 -0700 (PDT) Received: by 10.114.178.12 with HTTP; Mon, 24 Mar 2008 13:58:35 -0700 (PDT) Message-ID: Date: Mon, 24 Mar 2008 20:59:00 -0000 From: "Deepak Barua" To: "Andrew Haley" Subject: Re: [help] undefined reference to `_Unwind_SjLj_Register' Cc: gcc-help@gcc.gnu.org, "Daniel Jacobowitz" In-Reply-To: <47E79966.7050008@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47E79966.7050008@redhat.com> 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 X-SW-Source: 2008-03/txt/msg00244.txt.bz2 Hi Andrew, Thanks for clearing up the confusion , i have a 2.6.24.3 arm-linux kernel so i should ---enable-sjlj-exceptions while compiling gcc-4.2.2 ... I'll try it with my crosstool setup and get back to you... Regards Deepak On 3/24/08, Andrew Haley wrote: > Deepak Barua wrote: > > > I am trying to run crosstest for the new toolchain i > > built but i am getting this linking error. > > (Have attached file with errors ) > > > > Can you tell me what seems to be the problem ...? > > > > I am compiling the toolchain with NPTL and TLS support for the ARM > > architecture gcc-4.2.2 and glibc-2.7 > > > > Should i enable sjlj exceptions while compiling gcc-4.2.2 ...? > > But as i understand from your post > > http://sourceware.org/ml/libc-ports/2005-11/msg00030.html > > > > enabling sjlj exception handling is a obsolete method of exception > > handling .... so what can i do ....? > > That depends on whether it's armel or arm. This is your kernel: it'll > be one or the other. If it's arm you use sjlj. > > Andrew. > -- Hack Hack Hack