This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/53833] m68k-uclinux xgcc ICE when compiling libgcc (linux-atomic.c:203:1: in emit_library_call_value_1, at calls.c:4146)
- From: "baker at usgs dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 05 Jul 2012 18:07:48 +0000
- Subject: [Bug target/53833] m68k-uclinux xgcc ICE when compiling libgcc (linux-atomic.c:203:1: in emit_library_call_value_1, at calls.c:4146)
- Auto-submitted: auto-generated
- References: <bug-53833-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53833
--- Comment #1 from Larry Baker <baker at usgs dot gov> 2012-07-05 18:07:48 UTC ---
I didn't try to figure out why the code in libgcc/config/m68k/linux-atomic.c is
causing the GCC 4.7.1 xgcc cross compiler to fail. I just patched
libgcc/config.host to disable atomic builtins when compiling for Motorola
m68k/ColdFire running uClinux with uClibc:
--- gcc-4.7.1/libgcc/config.host.orig 2012-04-30 10:39:57.000000000 -0700
+++ gcc-4.7.1/libgcc/config.host 2012-07-05 00:01:17.000000000 -0700
@@ -710,3 +710,3 @@
m68k-*-uclinux*) # Motorola m68k/ColdFire running uClinux with uClibc
- tmake_file="$tmake_file m68k/t-floatlib m68k/t-linux"
+ tmake_file="$tmake_file m68k/t-floatlib"
md_unwind_header=m68k/linux-unwind.h
Someone still needs to figure out why the implementation fails for m68k-uclinux
--with-arch=cf.