gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash with new-style exceptions on FreeBSD amd64


From: Andrew Pinski
Subject: Re: Crash with new-style exceptions on FreeBSD amd64
Date: Thu, 15 Mar 2007 14:20:13 -0700

On 3/15/07, Michael Gardner <address@hidden> wrote:
On 3/15/07, Andrew Pinski <address@hidden> wrote:
> On 3/15/07, Richard Frith-Macdonald <address@hidden> wrote:
> > I thought that compiling with '-x objective-c' was supposed to have
> > the same effect as compiling a file with a .m extension too.
> > If that understanding is correct, I don't see how the behavior you
> > are seeing could be anything other than a compiler bug.
>
> Oh, I know what this is now.
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31089

That bug's description doesn't seem to match the symptoms I'm seeing,
and it's reported against gcc 4.3 rather than 4.1.

For one, it is the same symptom, in that we are not linking against
the shared libgcc which the driver does automatically for objective-C
files if it is sees a .m.

Try adding -shared-libgcc to the link line and see if that works.

Again what is the ouput of ldd because that will tell me what is
really happening?

Thanks,
Andrew Pinski




reply via email to

[Prev in Thread] Current Thread [Next in Thread]