swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] Compiling Swarm-2.2 on Solaris 2.8


From: Gary Polhill
Subject: Re: [Swarm-Support] Compiling Swarm-2.2 on Solaris 2.8
Date: Thu, 15 Jun 2006 11:06:00 +0100

>
>
>>>> address@hidden 2006-06-12 17:04:37 >>>
>Hmm,  I don't remember if recent version of GCC / Solaris fix this, but 
>once upon a time if you had a GCC configured with the native linker, the 
>constructors for Objective C wouldn't get called, and you'd get a 
>failure like this.  The fix was to build GNU binutils to gets its 
>linker, and then build GCC to use that.

Well I've tried building my own version of gcc-4.1.0 configured to use GNU ld, 
and I now get this error when compiling Swarm:

 gcc -DHAVE_CONFIG_H -I. -I../../../src/swarm-2.2/libobjc -I. -I./objc 
-I../../../src/swarm-2.2/libobjc/objc -I../../../src/swarm-2.2/libobjc 
-DBUILDING_LIBOBJC -g -O2 -fgnu-runtime -fno-strict-aliasing -Wall -Wno-import 
-Wno-protocol -Wno-long-long -fgnu-runtime -fno-strict-aliasing -Wall 
-Wno-import -Wno-protocol -Wno-long-long -MT mframe.lo -MD -MP -MF 
.deps/mframe.Tpo -c ../../../src/swarm-2.2/libobjc/mframe.m -o mframe.o
../../../src/swarm-2.2/libobjc/mframe.m: In function 'mframe_decode_return':
../../../src/swarm-2.2/libobjc/mframe.m:1592: warning: pointer targets in 
passing argument 2 of 'getSizeAndAlignment' differ in signedness
../../../src/swarm-2.2/libobjc/mframe.m:1728: internal compiler error: in 
assign_stack_temp_for_type, at function.c:605
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Should I submit a bug report to gcc? In the meantime, should I build a 
different version of gcc? (My previous (short-lived) joy at compiling swarm 
successfully was based on a local installation of gcc-3.3, which probably 
wasn't configured with GNU ld.) Do you think I'll be OK with gcc-3.4.6? Or 
should I reconfigure Swarm with --disable-libobjc?

Gary


-- 
Please note that the views expressed in this e-mail are those of the
sender and do not necessarily represent the views of the Macaulay
Institute. This email and any attachments are confidential and are
intended solely for the use of the recipient(s) to whom they are
addressed. If you are not the intended recipient, you should not read,
copy, disclose or rely on any information contained in this e-mail, and
we would ask you to contact the sender immediately and delete the email
from your system. Thank you.
Macaulay Institute and Associated Companies, Macaulay Drive,
Craigiebuckler, Aberdeen, AB15 8QH.




reply via email to

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