Bug 17600 - Internal compiler error
Summary: Internal compiler error
Status: RESOLVED DUPLICATE of bug 9860
Alias: None
Product: gcc
Classification: Unclassified
Component: c (show other bugs)
Version: 3.2
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-22 06:12 UTC by Tobias Kranz
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host: i686-pc-linux-gnu
Target: i686-pc-linux-gnu
Build: i686-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments
Patch for the 2.4.27 kernel (2.93 KB, application/octet-stream)
2004-09-22 06:15 UTC, Tobias Kranz
Details
Config-File for the kernel, that _delivers_ the bug (4.22 KB, text/plain)
2004-09-22 06:18 UTC, Tobias Kranz
Details
.i-File, that lets the compiler crash (48.27 KB, application/octet-stream)
2004-09-22 06:18 UTC, Tobias Kranz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Kranz 2004-09-22 06:12:25 UTC
When I compile a patched Kernel, the compiler stops doing his job with the
following message:

--
make[3]: Entering directory `/usr/src/linux-2.4.27/abi/svr4'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i686   -nostdinc -iwithprefix include
-DKBUILD_BASENAME=sysi86  -c -o sysi86.o sysi86.c
sysi86.c: In function `svr4_sysi86':
sysi86.c:154: warning: implicit declaration of function `si_meminfo'
sysi86.c:132: Internal compiler error in emit_move_insn_1, at expr.c:3101
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [sysi86.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.27/abi/svr4'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.27/abi/svr4'
make[1]: *** [_subdir_svr4] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.27/abi'
make: *** [_dir_abi] Error 2
--

Some more infos about my enviroment/system:
foo:/usr/src/linux # gcc -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.2/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man
--libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --enable-libgcj
--with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib
--enable-shared --enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.2

foo:/usr/src # cat /etc/*release
SuSE SLES-8 (i386)
VERSION = 8.1
UnitedLinux 1.0 (i586)
VERSION = 1.0
PATCHLEVEL = 3
LSB_VERSION="1.2"
DISTRIB_ID="SuSE"
DISTRIB_RELEASE="8.1"
DISTRIB_DESCRIPTION="SuSE SLES-8 (i386)"

foo:/usr/src/linux # uname -a
Linux foo 2.4.27 #6 SMP Mon Sep 6 13:31:04 CEST 2004 i686 unknown
Comment 1 Tobias Kranz 2004-09-22 06:15:40 UTC
Created attachment 7190 [details]
Patch for the 2.4.27 kernel

Apply this patch to a "clean" 2.4.27 kernel.
Comment 2 Tobias Kranz 2004-09-22 06:18:14 UTC
Created attachment 7191 [details]
Config-File for the kernel, that _delivers_ the bug
Comment 3 Tobias Kranz 2004-09-22 06:18:54 UTC
Created attachment 7192 [details]
.i-File, that lets the compiler crash
Comment 4 Tobias Kranz 2004-09-22 06:21:59 UTC
There are 2 possibilities to get this bug:

(1) Load the clean 2.4.27 Kernel and extract it and apply the attached patch.
Then use the attached .config to compile the kernel and it will crash.

(2) There is the .i-file attached. As written in the Bug-Reporting-FAQ, it is
usefull?! ;-)

So good luck with the fixing! ;-)

Is there a work-around?
Please contact me, if there are some things quite unclear.
Comment 5 Serge Belyshev 2004-09-22 06:41:08 UTC

*** This bug has been marked as a duplicate of 9860 ***