[linuxsh-dev] SH3 2.6.15 compile error (fwd)
Robert P. J. Day
Thu Jan 5 20:00:00 GMT 2006
the following is from the SH mailing list, and involves a problem
with optimization issues in the newer gcc compiler. does anyone know
if this has been addressed in the most recent snapshots? i'm just
about to try to build a toolchain with the gcc-4.2-20051231 snapshot
to see if there's any difference. thanks.
---------- Forwarded message ----------
Date: Wed, 4 Jan 2006 23:09:50 -0500
Subject: [linuxsh-dev] SH3 2.6.15 compile error
Using Crosstool-38 with GCC-4.0.1 to compile 2.6.15, I received the following:
kernel/built-in.o: In function `__xchg':
signal.c:(.text+0xb2c0): undefined reference to `__xchg_called_with_bad_pointer'
make: *** [.tmp_vmlinux1] Error 1
Googling turned up the possibility of GCC optimization issues causing
xchg() errors. I did not experience this with 2.6.14. Any thoughts?
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to firstname.lastname@example.org
More information about the crossgcc