[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Crash with new-style exceptions on FreeBSD amd64
From: |
Nicola Pero |
Subject: |
RE: Crash with new-style exceptions on FreeBSD amd64 |
Date: |
Thu, 15 Mar 2007 00:23:50 +0100 (CET) |
make messages=yes
will display exactly the command-line commands used to compile and link; you may
want to try it out and compare those with the ones you use yourself ... that
might
provide some light on what the problem could be. :-)
Thanks
-----Original Message-----
From: Michael Gardner <address@hidden>
Sent: Wed, March 14, 2007 9:46 pm
To: address@hidden
Subject: Crash with new-style exceptions on FreeBSD amd64
I'm having problems using "new-style" exceptions with GNUstep on
FreeBSD 6.2 (amd64). I have the following program (main.m):
#include <Foundation/Foundation.h>
int main(int argc, char ** argv) {
@try {
@throw nil;
} @catch (id thing) {
printf("caught!\n");
}
}
which runs file when I compile it with:
g++41 -fobjc-exceptions -I$GNUSTEP_SYSTEM_ROOT/Library/Headers
-L$GNUSTEP_SYSTEM_ROOT/Library/Libraries -lobjc -lgnustep-base -o main
main.m
but crashes with an "Abort trap: 6 (core dumped)" when I compile it
using gmake. I tried to run it under GDB, but all I get is this:
warning: Unable to get location for thread creation breakpoint: generic error
[New LWP 100171]
Program terminated with signal SIGABRT, Aborted.
The program no longer exists.
I'm running the following versions of the GNUstep libraries (compiled
from ports):
gnustep-back-0.11.0
gnustep-base-1.13.1
gnustep-gui-0.11.0
gnustep-make-1.13.0_4
Any ideas or suggestions?
-Michael
_______________________________________________
Gnustep-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/gnustep-dev
- Crash with new-style exceptions on FreeBSD amd64, Michael Gardner, 2007/03/14
- RE: Crash with new-style exceptions on FreeBSD amd64,
Nicola Pero <=
- Re: Crash with new-style exceptions on FreeBSD amd64, Michael Gardner, 2007/03/14
- Re: Crash with new-style exceptions on FreeBSD amd64, Andrew Pinski, 2007/03/15
- Re: Crash with new-style exceptions on FreeBSD amd64, Michael Gardner, 2007/03/15
- Re: Crash with new-style exceptions on FreeBSD amd64, Andrew Pinski, 2007/03/15
- Re: Crash with new-style exceptions on FreeBSD amd64, Richard Frith-Macdonald, 2007/03/15
- Re: Crash with new-style exceptions on FreeBSD amd64, Michael Gardner, 2007/03/15
- Re: Crash with new-style exceptions on FreeBSD amd64, Michael Gardner, 2007/03/15
- Re: Crash with new-style exceptions on FreeBSD amd64, Richard Frith-Macdonald, 2007/03/15
- Re: Crash with new-style exceptions on FreeBSD amd64, Andrew Pinski, 2007/03/15
- Re: Crash with new-style exceptions on FreeBSD amd64, Michael Gardner, 2007/03/15