ARM GCC bug [Was: Squeak on WinCE HPC MIPS?]
Kevin Fisher
kgf at golden.net
Tue Jul 16 19:02:45 UTC 2002
On Tue, Jul 16, 2002 at 11:46:28AM -0700, Tommy Thorn wrote:
[snip]
>
> Is there a small, self contained example illustrating
> the bug? Has
> anyone checked to see if it's fixed in GCC 3.1?
>
> /Tommy
Well I just took a look around the Squeak-list archives and came across
my old message from the Squeak 2.9 days...this is the error I was seeing
with GCC 2.95.1:
gcc -I/usr/X11R6/include -g -O2 -DHAVE_CONFIG_H -DUNIX
-DSQ_LIBDIR=\"/usr/local/lib/squeak2.9a\" -I. -I../src/generated -I../src/unix
-c -o SoundCodecPlugin.o ../src/generated/SoundCodecPlugin.c
/tmp/ccFTDeUu.s: Assembler messages:
/tmp/ccFTDeUu.s:1394: Error: Can not represent OFFSET_IMM8 relocation in this
object file format (1)
/tmp/ccFTDeUu.s:1396: Error: Can not represent OFFSET_IMM8 relocation in this
object file format (1)
Unfortunately, I found that using GCC 2.95.3 and up made the situation worse--
you wouldn't get this compile-time error, you'd just get a VM executable
that would segfault on start. :(
The cure was to remove the '-O2'.
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Autos - Get free new car price quotes
> http://autos.yahoo.com
>
More information about the Squeak-dev
mailing list
|