Compiling GLIBC on s390-linux-gnu I get the following ICE: gcc pthread.c -c -std=gnu99 -DNDEBUG=1 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fmessage-length=0 -g -fpic -D__NO_WEAK_PTHREAD_ALIASES -DHAVE_Z_NODELETE -DIS_IN_linuxthreads=1 -I../include -I. -I/usr/src/packages/BUILD/glibc-2.3/cc/linuxthreads -I.. -I../libio -I/usr/src/packages/BUILD/glibc-2.3/cc -I../sysdeps/s390/s390-32/elf -I../linuxthreads/sysdeps/unix/sysv/linux/s390/s390-32 -I../linuxthreads/sysdeps/unix/sysv/linux/s390 -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/s390/s390-32 -I../linuxthreads/sysdeps/s390 -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/s390/s390-32 -I../sysdeps/unix/sysv/linux/s390 -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/s390/s390-32 -I../sysdeps/wordsize-32 -I../sysdeps/s390/fpu -I../sysdeps/s390 -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/s390-suse-linux/4.0.0/include -isystem /usr/src/packages/BUILD/kernel-headers -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED -DNOT_IN_libc=1 -DIS_IN_libpthread=1 -o /usr/src/packages/BUILD/glibc-2.3/cc/linuxthreads/pthread.os -MD -MP -MF /usr/src/packages/BUILD/glibc-2.3/cc/linuxthreads/pthread.os.dt -MT /usr/src/packages/BUILD/glibc-2.3/cc/linuxthreads/pthread.os -save-temps -v Using built-in specs. Target: s390-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,f95,java,ada --enable-checking --with-gxx-include-dir=/usr/include/c++/4.0.0 --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --without-system-libunwind s390-suse-linux Thread model: posix gcc version 4.0.0 20050408 (prerelease) (SUSE Linux) /usr/lib/gcc/s390-suse-linux/4.0.0/cc1 -E -quiet -nostdinc -v -I../include -I. -I/usr/src/packages/BUILD/glibc-2.3/cc/linuxthreads -I.. -I../libio -I/usr/src/packages/BUILD/glibc-2.3/cc -I../sysdeps/s390/s390-32/elf -I../linuxthreads/sysdeps/unix/sysv/linux/s390/s390-32 -I../linuxthreads/sysdeps/unix/sysv/linux/s390 -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/s390/s390-32 -I../linuxthreads/sysdeps/s390 -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/s390/s390-32 -I../sysdeps/unix/sysv/linux/s390 -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/s390/s390-32 -I../sysdeps/wordsize-32 -I../sysdeps/s390/fpu -I../sysdeps/s390 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -MD /usr/src/packages/BUILD/glibc-2.3/cc/linuxthreads/pthread.d -MF /usr/src/packages/BUILD/glibc-2.3/cc/linuxthreads/pthread.os.dt -MP -MT /usr/src/packages/BUILD/glibc-2.3/cc/linuxthreads/pthread.os -MQ /usr/src/packages/BUILD/glibc-2.3/cc/linuxthreads/pthread.os -DNDEBUG=1 -D__NO_WEAK_PTHREAD_ALIASES -DHAVE_Z_NODELETE -DIS_IN_linuxthreads=1 -D_LIBC_REENTRANT -DPIC -DSHARED -DNOT_IN_libc=1 -DIS_IN_libpthread=1 -isystem /usr/lib/gcc/s390-suse-linux/4.0.0/include -isystem /usr/src/packages/BUILD/kernel-headers -include ../include/libc-symbols.h pthread.c -m31 -mesa -march=g5 -std=gnu99 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fmessage-length=0 -fpic -fworking-directory -O2 -fpch-preprocess -o pthread.i #include "..." search starts here: #include <...> search starts here: ../include . /usr/src/packages/BUILD/glibc-2.3/cc/linuxthreads .. ../libio /usr/src/packages/BUILD/glibc-2.3/cc ../sysdeps/s390/s390-32/elf ../linuxthreads/sysdeps/unix/sysv/linux/s390/s390-32 ../linuxthreads/sysdeps/unix/sysv/linux/s390 ../linuxthreads/sysdeps/unix/sysv/linux ../linuxthreads/sysdeps/pthread ../sysdeps/pthread ../linuxthreads/sysdeps/unix/sysv ../linuxthreads/sysdeps/unix ../linuxthreads/sysdeps/s390/s390-32 ../linuxthreads/sysdeps/s390 ../libidn/sysdeps/unix ../sysdeps/unix/sysv/linux/s390/s390-32 ../sysdeps/unix/sysv/linux/s390 ../sysdeps/unix/sysv/linux ../sysdeps/gnu ../sysdeps/unix/common ../sysdeps/unix/mman ../sysdeps/unix/inet ../sysdeps/unix/sysv ../sysdeps/unix ../sysdeps/posix ../sysdeps/s390/s390-32 ../sysdeps/wordsize-32 ../sysdeps/s390/fpu ../sysdeps/s390 ../sysdeps/ieee754/dbl-64 ../sysdeps/ieee754/flt-32 ../sysdeps/ieee754 ../sysdeps/generic/elf ../sysdeps/generic /usr/lib/gcc/s390-suse-linux/4.0.0/include /usr/src/packages/BUILD/kernel-headers End of search list. /usr/lib/gcc/s390-suse-linux/4.0.0/cc1 -fpreprocessed pthread.i -quiet -dumpbase pthread.c -m31 -mesa -march=g5 -auxbase-strip /usr/src/packages/BUILD/glibc-2.3/cc/linuxthreads/pthread.os -g -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -std=gnu99 -version -fmessage-length=0 -fpic -o pthread.s GNU C version 4.0.0 20050408 (prerelease) (SUSE Linux) (s390-suse-linux) compiled by GNU C version 4.0.0 20050408 (prerelease) (SUSE Linux). GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 pthread.c: In function ‘__pthread_initialize_minimal’: pthread.c:411: internal compiler error: in schedule_insns, at sched-rgn.c:2549 Please submit a full bug report, with preprocessed source if appropriate.
-- Summary: ICE in schedule_insns at sched-rg.c:2549 Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: aj at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org,matz at suse dot de,uweigand at de dot ibm dot com GCC build triplet: s390-linux-gnu GCC host triplet: s390-linux-gnu GCC target triplet: s390-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20917