Source: gcc-4.8 Version: 4.8.1-1 Severity: important Justification: fails to build from source (but built successfully in the past) Hi, I think this is similar to what we saw for gcj-4.7 (though I can’t find that right now): libtool: compile: /tmp/buildd/gcc-4.8-4.8.1/build/./gcc/xgcc -shared-libgcc -B/tmp/buildd/gcc-4.8-4.8.1/build/./gcc -nostdinc++ -L/tmp/buildd/gcc-4.8-4.8.1/build/m68k-linux-gnu/libstdc++-v3/src -L/tmp/buildd/gcc-4.8-4.8.1/build/m68k-linux-gnu/libstdc++-v3/src/.libs -B/usr/m68k-linux-gnu/bin/ -B/usr/m68k-linux-gnu/lib/ -isystem /usr/m68k-linux-gnu/include -isystem /usr/m68k-linux-gnu/sys-include -isystem /tmp/buildd/gcc-4.8-4.8.1/build/sys-include -DHAVE_CONFIG_H -I. -I../../../src/libjava -I./include -I./gcj -I../../../src/libjava -Iinclude -I../../../src/libjava/include -I../../../src/libjava/classpath/include -Iclasspath/include -I../../../src/libjava/classpath/native/fdlibm -I../../../src/libjava/../boehm-gc/include -I../boehm-gc/include -I../../../src/libjava/libltdl -I../../../src/libjava/libltdl -I../../../src/libjava/.././libjava/../libgcc -I../../../src/libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enu m -D_FILE_OFFSET_BITS=64 -Wextra -Wall -D_GNU_SOURCE -DPREFIX=\"/usr\" -DMULTIARCH_DIR=\"m68k-linux-gnu\" -DTOOLEXECLIBDIR=\"/usr/lib/m68k-linux-gnu\" -DJAVA_HOME=\"/usr/lib/jvm/java-1.5.0-gcj-4.8-m68k/jre\" -DBOOT_CLASS_PATH=\"/usr/lib/jvm/java-1.5.0-gcj-4.8-m68k/jre/lib/rt.jar\" -DJAVA_EXT_DIRS=\"/usr/share/java/ext\" -DGCJ_ENDORSED_DIRS=\"/usr/share/java/gcj-endorsed\" -DGCJ_VERSIONED_LIBDIR=\"/usr/lib/m68k-linux-gnu/gcj-4.8-14\" -DPATH_SEPARATOR=\":\" -DECJ_JAR_FILE=\"/usr/share/java/eclipse-ecj.jar\" -DLIBGCJ_DEFAULT_DATABASE=\"/var/lib/m68k-linux-gnu/gcj-4.8/classmap.db\" -DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL=\"gcj-4.8-14/classmap.db\" -fwrapv -g -O2 -D_GNU_SOURCE -MT interpret.lo -MD -MP -MF .deps/interpret.Tpo -c ../../../src/libjava/interpret.cc -fPIC -DPIC -o .libs/interpret.o In file included from ../../../src/libjava/interpret.cc:35:0: ../include/java-signal.h:26:19: warning: declaration 'class java::lang::Throwable' does not declare anything [enabled by default] class java::lang::Throwable; ^ .../../../src/libjava/interpret.cc: In static member function 'static void _Jv_InterpMethod::run(void*, ffi_java_raw*, _Jv_InterpMethod*)': .../../../src/libjava/interpret.cc:991:1: internal compiler error: Segmentation fault } ^ Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions. Preprocessed source stored into /tmp/ccSODOof.out file, please attach this to your bugreport. make[5]: *** [interpret.lo] Error 1 Too bad because I had hoped we could switch gcc and gcj to 4.8 with the other arches, from the working 4.6 ones we have sitting in unreleased right now. I attach the (compressed) preprocessed source code of course. Appending -O1 yields: ../include/java-signal.h:26:19: warning: declaration 'class java::lang::Throwable' does not declare anything [enabled by default] class java::lang::Throwable; ^ .../../../src/libjava/interpret.cc: In static member function 'static void _Jv_InterpMethod::run(void*, ffi_java_raw*, _Jv_InterpMethod*)': .../../../src/libjava/interpret.cc:991:1: internal compiler error: Segmentation fault } ^ Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions. Preprocessed source stored into /tmp/ccstdOvD.out file, please attach this to your bugreport. Appending -O0 -g0 instead yields: In file included from ../../../src/libjava/interpret.cc:35:0: ../include/java-signal.h:26:19: warning: declaration 'class java::lang::Throwable' does not declare anything [enabled by default] class java::lang::Throwable; ^ (pbuild17269)root@ara3:....8-4.8.1/build/m68k-linux-gnu/libjava # ls -la .libs/interpret.o -rw-r--r-- 1 root root 154404 Jun 7 20:50 .libs/interpret.o Just -g0 (keeping -O2) doesn’t help so it’s likely not the cause. -- System Information: Debian Release: 7.0 APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable') Architecture: m68k Kernel: Linux 3.2.0-4-atari Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/mksh-static
Attachment:
ccSODOof.out.xz
Description: application/xz