public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andrew Haley <aph@redhat.com>
To: Henrik Grindal Bakken <hgb@ifi.uio.no>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Problem with exceptions on arm
Date: Mon, 31 Mar 2008 12:09:00 -0000	[thread overview]
Message-ID: <47F0D420.4040608@redhat.com> (raw)
In-Reply-To: <x2etzinxuog.fsf@shmi.ifi.uio.no>

Henrik Grindal Bakken wrote:
> "Martin Guy" <martinwguy@yahoo.it> writes:
> 
>> On 3/27/08, Henrik Grindal Bakken <hgb@ifi.uio.no> 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.

  reply	other threads:[~2008-03-31 12:09 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-27 10:10 Henrik Grindal Bakken
2008-03-29 18:54 ` Martin Guy
2008-03-31  6:41   ` Henrik Grindal Bakken
2008-03-31 12:09     ` Andrew Haley [this message]
2008-03-31 12:21       ` Henrik Grindal Bakken
2008-03-31 12:40         ` Martin Guy
2008-03-31 12:45           ` Henrik Grindal Bakken
2008-04-01  8:25 ` Henrik Grindal Bakken
2008-04-01 10:01   ` Martin Guy
2008-04-01 10:13     ` Andrew Haley
2008-04-01 10:32       ` Kai Ruottu
2008-04-01 11:04         ` Henrik Grindal Bakken
2008-04-01 16:30         ` Andrew Haley
2008-04-01 10:51       ` Henrik Grindal Bakken
2008-04-01 12:16       ` Henrik Grindal Bakken
2008-04-01 10:21     ` Henrik Grindal Bakken

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47F0D420.4040608@redhat.com \
    --to=aph@redhat.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=hgb@ifi.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).