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
Created attachment 7190 [details] Patch for the 2.4.27 kernel Apply this patch to a "clean" 2.4.27 kernel.
Created attachment 7191 [details] Config-File for the kernel, that _delivers_ the bug
Created attachment 7192 [details] .i-File, that lets the compiler crash
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.
*** This bug has been marked as a duplicate of 9860 ***