ICE in building fs/nls/nls_base.c line 464 of Linux kernel 2.6.0. CONFIG_MK6=y (CPU kernel will use is a K6-2) NLS options in .config: CONFIG_SMB_NLS_DEFAULT=y CONFIG_SMB_NLS_REMOTE="cp437" CONFIG_SMB_NLS=y CONFIG_NLS=y CONFIG_NLS_DEFAULT="iso8859-1" CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_CODEPAGE_737=m CONFIG_NLS_CODEPAGE_775=m CONFIG_NLS_CODEPAGE_850=y CONFIG_NLS_CODEPAGE_852=m CONFIG_NLS_CODEPAGE_855=m CONFIG_NLS_CODEPAGE_857=m CONFIG_NLS_CODEPAGE_860=m CONFIG_NLS_CODEPAGE_861=m CONFIG_NLS_CODEPAGE_862=m CONFIG_NLS_CODEPAGE_863=m CONFIG_NLS_CODEPAGE_864=m CONFIG_NLS_CODEPAGE_865=m CONFIG_NLS_CODEPAGE_866=m CONFIG_NLS_CODEPAGE_869=m CONFIG_NLS_CODEPAGE_936=m CONFIG_NLS_CODEPAGE_950=m CONFIG_NLS_CODEPAGE_932=m CONFIG_NLS_CODEPAGE_949=m CONFIG_NLS_CODEPAGE_874=m CONFIG_NLS_ISO8859_8=m CONFIG_NLS_CODEPAGE_1250=m CONFIG_NLS_CODEPAGE_1251=m CONFIG_NLS_ISO8859_1=y CONFIG_NLS_ISO8859_2=m CONFIG_NLS_ISO8859_3=m CONFIG_NLS_ISO8859_4=m CONFIG_NLS_ISO8859_5=m CONFIG_NLS_ISO8859_6=m CONFIG_NLS_ISO8859_7=m CONFIG_NLS_ISO8859_9=m CONFIG_NLS_ISO8859_13=m CONFIG_NLS_ISO8859_14=m CONFIG_NLS_ISO8859_15=y CONFIG_NLS_KOI8_R=m CONFIG_NLS_KOI8_U=m CONFIG_NLS_UTF8=y [root@RedBox linux-2.6.0]# gcc --save-temps -v -Wp,-MD,fs/nls/.nls_base.o.d - nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -D__KERNEL__ -Iinclude - Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common - pipe -mpreferred-stack-boundary=2 -march=k6 -Iinclude/asm-i386/mach- default -DKBUILD_BASENAME=nls_base -DKBUILD_MODNAME=nls_base -c -o fs/nls/.tmp_nls_base.o fs/nls/nls_base.c gcc-3.3.1: warning: -pipe ignored because -save-temps specified Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.1/specs Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with- slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared - -enable-threads=posix --disable-checking --enable-long-long --enable- __cxa_atexit --enable-languages=c,c++,ada,f77,objc,java,pascal --host=i586- mandrake-linux-gnu --with-system-zlib Thread model: posix gcc version 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk) /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.1/cc1 -E -quiet -nostdinc -v - Iinclude -Iinclude -Iinclude/asm-i386/mach-default -D__GNUC__=3 - D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=1 -D__KERNEL__ -D__KERNEL__ - DKBUILD_BASENAME=nls_base -DKBUILD_MODNAME=nls_base -iwithprefix include -MD fs/nls/.nls_base.o.d fs/nls/nls_base.c -mpreferred-stack-boundary=2 -march=k6 - Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 nls_base.i ignoring duplicate directory "include" #include "..." search starts here: #include <...> search starts here: include include/asm-i386/mach-default /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.1/include End of search list. /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.1/cc1 -fpreprocessed nls_base.i - quiet -dumpbase nls_base.c -mpreferred-stack-boundary=2 -march=k6 -auxbase- strip fs/nls/.tmp_nls_base.o -O2 -Wall -Wstrict-prototypes -Wno-trigraphs - version -fno-strict-aliasing -fno-common -o nls_base.s GNU C version 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk) (i586-mandrake-linux-gnu) compiled by GNU C version 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk). GGC heuristics: --param ggc-min-expand=38 --param ggc-min-heapsize=15773 fs/nls/nls_base.c: In function `char2uni': fs/nls/nls_base.c:464: internal compiler error: Segmentation fault
Created attachment 5351 [details] .i file from gcc -v --save-temps (other stuff) nls_base.c
I cannot reproduce this on a FSF's gcc 3.3.1 or 3.4, report this bug to mandrake.
ICE with -march=k6 but compiles fine with -march=i586
I can't reproduce either with FSF GCC 3.3.x, so it might be Mandrake-specific. However, could run GDB on cc1 and provide a backtrace at the crash point?
(In reply to comment #4) > I can't reproduce either with FSF GCC 3.3.x, so it might be Mandrake-specific. > However, could run GDB on cc1 and provide a backtrace at the crash point? The same Segmentation fault happens on my SuSE 9.0 with gcc 3.3.1, too. And I am trying to compile a kernel 2.4.26 with my K6-2. So it might be a problem specific to the K6-2 hardware rather than the distribution?
Mandrake and SuSE use the same 3.3.x compiler, which is not the official FSF compiler. Please report the problem to them.