This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
linux kernel 2.4.9 acct.c + GCC 3.0.1 => internal compiler error
- To: <gcc-bugs at gcc dot gnu dot org>
- Subject: linux kernel 2.4.9 acct.c + GCC 3.0.1 => internal compiler error
- From: "peter k." <spam-goes-to-dev-null at gmx dot net>
- Date: Sun, 19 Aug 2001 15:00:06 +0200
hi,
i just updated my gcc from 2.96 to 3.0.1 using the rpms from mandrake cooker
and now i cant compile kernel 2.4.9 anymore (worked fine with 2.96), make
bzImage fails with the following error message:
acct.c: In function `check_free_space':
acct.c:147: Unrecognizable insn:
(insn 335 102 336 (parallel[
(set (reg/v:SI 2 ecx [44])
(const_int 0 [0x0]))
(clobber (reg:CC 17 flags))
] ) -1 (insn_list:REG_DEP_ANTI 100 (insn_list:REG_DEP_ANTI 102
(nil)))
(expr_list:REG_UNUSED (reg:CC 17 flags)
(nil)))
acct.c:147: Internal compiler error in insn_default_length, at
insn-attrtab.c:223
this error can also be produced by running the following command line (make
bzImage uses the same, i only added -v -save-temps):
[root@HOST2 /usr/src/linux-2.4.9/kernel]#
gcc -v -save-temps -D__KERNEL__ -I/usr/src/linux-2.4.9/include -Wall -Wstric
t-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -f
no-common -pipe -mpreferred-stack-boundary=2 -march=k6 -c -o acct.o
acct.c
gcc -v output [locale problems of my glibc not removed for completeness]:
[root@HOST2 /usr/src/linux-2.4.9]# gcc -v
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_MESSAGES = "en_US",
LC_TIME = "en_US",
LC_NUMERIC = "en_US",
LC_CTYPE = "en_US",
LC_MONETARY = "en_US",
LC_COLLATE = "en_US",
LANG = "en"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.0.1/specs
Configured with:
../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix --disable-checking --enable-long-lon
g --enable-cstdio=stdio --enable-clocale=generic --enable-languages=c,c++,f7
7,objc,java --program-suffix=-3.0.1 --enable-objc-gc --host=i586-mandrake-li
nux-gnu
Thread model: posix
gcc version 3.0.1 20010816 (Mandrake Linux 8.1 3.0.1-0.3mdk)
i've attached the .i of acct.c to this mail...
ask me if you need further information and please tell me how i can fix this
error / when a fix will be available!
thanks for any help
peter k.
acct.i.bz2