swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] Need help on a Mac OS X


From: Bill Northcott
Subject: Re: [Swarm-Support] Need help on a Mac OS X
Date: Fri, 22 Apr 2005 08:21:11 +1000

On 22/04/2005, at 7:10 AM, Tim Kohler wrote:
Hi all. Here's a slightly different OS X (10.3.9) problem. I am trying to
run a greatly updated version of the venerable Village model under
Swarm2.2. This model runs perfectly under Cygwin on a PC. After overcoming some linking problems after bringing it over to the Mac side (by doing a make clean, and then remaking) it bombs right away when I run it. Running
it under gdb, here's the backtrace:

........
aSelector=0x1780d10) at ../../../../src/collections/Collection.m:216
#7  0x0171c5f8 in __builtin_avcall ()

IMO this will be your problem. The builtins on the Apple 3.3.1 (and FSF 3.3) compiler are broken on PowerPC and most other RISC architectures. They only work on x86 which is why Cygwin works for you. You need a gcc 4.0 compiler in which they have been fixed.

Apple released sources for gcc-4061 with the Darwin 7.9 sources last week. You could try that. Or if you wait a week or so, I hope to post a more up to date compiler on the ftp site. Otherwise Tiger is released at the end of next week and that should have a working compiler.

You could try the gcc-4020 that is there already but it may have issues unless you also get an up to date cctools.
#8 0x016f4c4c in -[FCall_c performCall].61 (self=0x61d1a90, _cmd=0x0) at
../../../../src/defobj/FCall.m:757

Bill Northcott



reply via email to

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