[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#319312: FTBFS: gcc-4.0 got ICE when compiling glibc 2.3.5-2 in experimental on m68k



Package: gcc-4.0
Version: 4.0.1-2
Severity: important

The current gcc-4.0 can't compile the experimental glibc 2.3.5-2 with
unstable gcc-4.0 (4.0.1-2) on m68k, due to gcc-4.0's Internal Compiler
Error.  Note that this problem was not occured with gcc-3.4 (3.4.4-5)
with -O1/-O2/-O3.

gcc-4.0 with -O1 shows:

	In file included from iso-2022-cn-ext.c:657:
	../iconv/skeleton.c: In function 'gconv':
	../iconv/skeleton.c:801: internal compiler error: output_operand: invalid expression as operand
	...
 	{standard input}:1031: Warning: partial line at end of file ignored

gcc-4.0 with -O2 shows:

	../iconv/skeleton.c: In function 'gconv':
	../iconv/skeleton.c:801: internal compiler error: output_operand: invalid expression as operand
	...
	{standard input}:4548: Warning: partial line at end of file ignored

gcc-4.0 with -O3 shows:

	../iconv/skeleton.c: In function 'gconv':
	../iconv/skeleton.c:801: internal compiler error: Segmentation fault

I attached the part of glibc build log and gcc ICE message as follows:

	gcc-4.0 iso-2022-cn-ext.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fstrict-aliasing -g -pipe   -fpic    -I../include -I. -I/home/gotom/glibc/glibc_2.3.5-2.build4.0714.1/glibc-2.3.5/build-tree/m68k-libc/iconvdata -I.. -I../libio  -I/home/gotom/glibc/glibc_2.3.5-2.build4.0714.1/glibc-2.3.5/build-tree/m68k-libc -I../sysdeps/m68k/elf -I../linuxthreads/sysdeps/unix/sysv/linux/m68k -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/m68k -I../sysdeps/unix/sysv/linux/m68k -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/m68k/m68020 -I../sysdeps/m68k/fpu -I../sysdeps/m68k -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/m68k-linux-gnu/4.0.1/include -isystem /home/gotom/glibc/glibc_2.3.5-2.build4.0714.1/glibc-2.3.5/debian/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED     -DNOT_IN_libc -o /home/gotom/glibc/glibc_2.3.5-2.build4.0714.1/glibc-2.3.5/build-tree/m68k-libc/iconvdata/iso-2022-cn-ext.os -MD -MP -MF /home/gotom/glibc/glibc_2.3.5-2.build4.0714.1/glibc-2.3.5/build-tree/m68k-libc/iconvdata/iso-2022-cn-ext.os.dt -MT /home/gotom/glibc/glibc_2.3.5-2.build4.0714.1/glibc-2.3.5/build-tree/m68k-libc/iconvdata/iso-2022-cn-ext.os
	In file included from iso-2022-cn-ext.c:653:
	../iconv/loop.c: In function 'to_iso2022cn_ext_loop':
	../iconv/loop.c:311: warning: pointer targets in passing argument 2 of 'ucs4_to_gb2312' differ in signedness
	../iconv/loop.c:311: warning: pointer targets in passing argument 2 of 'ucs4_to_cns11643l1' differ in signedness
	../iconv/loop.c:311: warning: pointer targets in passing argument 2 of 'ucs4_to_cns11643l2' differ in signedness
	../iconv/loop.c:311: warning: pointer targets in passing argument 2 of 'ucs4_to_gb2312' differ in signedness
	../iconv/loop.c:311: warning: pointer targets in passing argument 2 of 'ucs4_to_cns11643l1' differ in signedness
	../iconv/loop.c: In function 'to_iso2022cn_ext_loop_single':
	../iconv/loop.c:414: warning: pointer targets in passing argument 2 of 'ucs4_to_gb2312' differ in signedness
	../iconv/loop.c:414: warning: pointer targets in passing argument 2 of 'ucs4_to_cns11643l1' differ in signedness
	../iconv/loop.c:414: warning: pointer targets in passing argument 2 of 'ucs4_to_cns11643l2' differ in signedness
	../iconv/loop.c:414: warning: pointer targets in passing argument 2 of 'ucs4_to_gb2312' differ in signedness
	../iconv/loop.c:414: warning: pointer targets in passing argument 2 of 'ucs4_to_cns11643l1' differ in signedness
	../iconv/skeleton.c: In function 'gconv':
	../iconv/skeleton.c:801: internal compiler error: output_operand: invalid expression as operand
	Please submit a full bug report,
	with preprocessed source if appropriate.
	See <URL:http://gcc.gnu.org/bugs.html> for instructions.
	For Debian GNU/Linux specific bug reporting instructions,
	see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
	{standard input}: Assembler messages:
	{standard input}:4548: Warning: partial line at end of file ignored
	make[3]: *** [/home/gotom/glibc/glibc_2.3.5-2.build4.0714.1/glibc-2.3.5/build-tree/m68k-libc/iconvdata/iso-2022-cn-ext.os] Error 1
	make[3]: Leaving directory `/home/gotom/glibc/glibc_2.3.5-2.build4.0714.1/glibc-2.3.5/build-tree/glibc-2.3.5/iconvdata'
	make[2]: *** [iconvdata/subdir_install] Error 2
	make[2]: Leaving directory `/home/gotom/glibc/glibc_2.3.5-2.build4.0714.1/glibc-2.3.5/build-tree/glibc-2.3.5'
	make[1]: *** [install] Error 2
	make[1]: Leaving directory `/home/gotom/glibc/glibc_2.3.5-2.build4.0714.1/glibc-2.3.5/build-tree/m68k-libc'
	make: *** [/home/gotom/glibc/glibc_2.3.5-2.build4.0714.1/glibc-2.3.5/stamp-dir/install_libc] Error 2

Regards,
-- gotom





Reply to: