From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6852 invoked by alias); 31 Mar 2008 12:09:13 -0000 Received: (qmail 6753 invoked by uid 22791); 31 Mar 2008 12:09:11 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 31 Mar 2008 12:08:03 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m2VC81kt023884; Mon, 31 Mar 2008 08:08:01 -0400 Received: from zebedee.pink (vpn-14-7.rdu.redhat.com [10.11.14.7]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m2VC80xd012640; Mon, 31 Mar 2008 08:08:00 -0400 Message-ID: <47F0D420.4040608@redhat.com> Date: Mon, 31 Mar 2008 12:09:00 -0000 From: Andrew Haley User-Agent: Thunderbird 2.0.0.12 (X11/20080213) MIME-Version: 1.0 To: Henrik Grindal Bakken CC: gcc-help@gcc.gnu.org Subject: Re: Problem with exceptions on arm References: <56d259a00803291154k24b75fd0qabea5fd52733c548@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/msg00328.txt.bz2 Henrik Grindal Bakken wrote: > "Martin Guy" writes: > >> On 3/27/08, Henrik Grindal Bakken wrote: >>> Hi. I have built myself a cross-compiler x86->arm-linuxeabi, with >>> which I'm having some problems. >>> When I run on target, a simple test program with exceptions fail: >>> $ /tmp/fnord >>> terminate called after throwing an instance of 'char*' >>> terminate called recursively >>> Aborted >> Hi Henrik >> I just tried your test program on Debian "armel"'s native gnueabi >> g++ (4.2.3), and it catches "hello" fine. Their gcc -v says: >> >> Using built-in specs. >> Target: arm-linux-gnueabi >> Configured with: ../src/configure -v >> --enable-languages=c,c++,fortran,obj-c++,treelang --prefix=/usr >> --enable-shared --with-system-zlib --libexecdir=/usr/lib >> --without-included-gettext --enable-threads=posix --enable-nls >> --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 >> --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr >> --disable-libmudflap --disable-libssp --disable-sjlj-exceptions >> --enable-checking=release --build=arm-linux-gnueabi >> --host=arm-linux-gnueabi --target=arm-linux-gnueabi >> Thread model: posix >> gcc version 4.2.3 (Debian 4.2.3-2) >> >> In case that's any help > > Thanks, Martin. It does help a little, I guess (ruling out > sjlj-exceptions, for one), but nothing springs at me from that > configure line. Could this be kernel related? Yes, but it's much more likely to be libc releated. Andrew.