From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21494 invoked by alias); 29 Mar 2008 18:54:32 -0000 Received: (qmail 21484 invoked by uid 22791); 29 Mar 2008 18:54:32 -0000 X-Spam-Check-By: sourceware.org Received: from wf-out-1314.google.com (HELO wf-out-1314.google.com) (209.85.200.175) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 29 Mar 2008 18:54:14 +0000 Received: by wf-out-1314.google.com with SMTP id 28so783825wfc.14 for ; Sat, 29 Mar 2008 11:54:13 -0700 (PDT) Received: by 10.142.188.4 with SMTP id l4mr2759806wff.92.1206816852991; Sat, 29 Mar 2008 11:54:12 -0700 (PDT) Received: by 10.143.14.18 with HTTP; Sat, 29 Mar 2008 11:54:12 -0700 (PDT) Message-ID: <56d259a00803291154k24b75fd0qabea5fd52733c548@mail.gmail.com> Date: Sat, 29 Mar 2008 18:54:00 -0000 From: "Martin Guy" To: "Henrik Grindal Bakken" Subject: Re: Problem with exceptions on arm Cc: gcc-help@gcc.gnu.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: c5759feaed1495b7 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/msg00302.txt.bz2 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 M