When I compiled a uclinux kernel of 2.6.19-uc0 for a coldfire with gcc
version 4.1.1 (m68k-uclinux-20060615), I got the following compiler
faults:
..
m68k-uclinux-gcc -Wp,-MD,fs/proc/.proc_misc.o.d -nostdinc -isystem
/usr/local/lib/gcc/m68k
-uclinux/4.1.1/include -D__KERNEL__ -Iinclude -include
include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common -Os -m5200 -D__linux__
-DUTS_SYSNAME=\"uClinux\" -fomit-frame-pointer -g
-fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(proc_misc)"
-D"KBUILD_MODNAME=KBUILD_STR(proc)" -c -o fs/proc/.tmp_proc_misc.o
fs/proc/proc_misc.c
fs/proc/proc_misc.c: In function 'show_stat':
fs/proc/proc_misc.c:531: internal compiler error: in
find_reloads_address_1, at reload.c:5577
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [fs/proc/proc_misc.o] Error 1
make[1]: *** [fs/proc] Error 2
make: *** [fs] Error 2
--
Summary: m68k-uclinux-20060615 compiler fault
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: srb4 dot zheng at gmail dot com
GCC build triplet: m68k-elf
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: m68k-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30663