[Bug c/43995] New: internal compiler error: Segmentation fault on Mips64 crossbuild of ext2progs

janr at adax dot com gcc-bugzilla@gcc.gnu.org
Wed May 5 20:07:00 GMT 2010


This happens while building under the T2 SDE environment, which is a framework
for cross building an entire Linux distribution. GCC 4.43 Builds this OK,
switching to GCC 4.5 failes while building the e2fsprogs project.

I tried this with gcc 4.5.0, and the 4.5.1 latest snapshot

The build host is Ubuntu 9.10

The T2 cross compiler info is:

./TOOLCHAIN/tools.cross/crosscc/mips64-t2-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=./TOOLCHAIN/tools.cross/crosscc/mips64-t2-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/opt/T2/t2-trunk/build/GW-Octeon-N32-8.0-trunk-generic-mips64-EB-octeon-cross-linux/TOOLCHAIN/tools.cross/crosscc/../libexec/gcc/mips64-t2-linux-gnu/4.5.1/lto-wrapper
Target: mips64-t2-linux-gnu
Configured with: ../configure
--prefix=/opt/T2/t2-trunk/build/GW-Octeon-N32-8.0-trunk-generic-mips64-EB-octeon-cross-linux/TOOLCHAIN/tools.cross/usr
--bindir=/opt/T2/t2-trunk/build/GW-Octeon-N32-8.0-trunk-generic-mips64-EB-octeon-cross-linux/TOOLCHAIN/tools.cross/usr/crosscc
--sbindir=/opt/T2/t2-trunk/build/GW-Octeon-N32-8.0-trunk-generic-mips64-EB-octeon-cross-linux/TOOLCHAIN/tools.cross/usr/sbin
--libdir=/opt/T2/t2-trunk/build/GW-Octeon-N32-8.0-trunk-generic-mips64-EB-octeon-cross-linux/TOOLCHAIN/tools.cross/usr/lib
--datadir=/opt/T2/t2-trunk/build/GW-Octeon-N32-8.0-trunk-generic-mips64-EB-octeon-cross-linux/TOOLCHAIN/tools.cross/usr/share
--includedir=/opt/T2/t2-trunk/build/GW-Octeon-N32-8.0-trunk-generic-mips64-EB-octeon-cross-linux/TOOLCHAIN/tools.cross/usr/include
--infodir=/opt/T2/t2-trunk/build/GW-Octeon-N32-8.0-trunk-generic-mips64-EB-octeon-cross-linux/TOOLCHAIN/tools.cross/usr/info
--mandir=/opt/T2/t2-trunk/build/GW-Octeon-N32-8.0-trunk-generic-mips64-EB-octeon-cross-linux/TOOLCHAIN/tools.cross/usr/man
--sysconfdir=/opt/T2/t2-trunk/build/GW-Octeon-N32-8.0-trunk-generic-mips64-EB-octeon-cross-linux/TOOLCHAIN/tools.cross/etc
--localstatedir=/opt/T2/t2-trunk/build/GW-Octeon-N32-8.0-trunk-generic-mips64-EB-octeon-cross-linux/TOOLCHAIN/tools.cross/var
--disable-debug --with-libpam --with-pam --enable-libpam --enable-pam
--with-mpfr=/opt/T2/t2-trunk/build/GW-Octeon-N32-8.0-trunk-generic-mips64-EB-octeon-cross-linux/TOOLCHAIN/tools.cross
--with-mpfr-lib=/opt/T2/t2-trunk/build/GW-Octeon-N32-8.0-trunk-generic-mips64-EB-octeon-cross-linux/TOOLCHAIN/tools.cross//usr/lib
--with-ppl=/opt/T2/t2-trunk/build/GW-Octeon-N32-8.0-trunk-generic-mips64-EB-octeon-cross-linux/TOOLCHAIN/tools.cross
--with-cloog=/opt/T2/t2-trunk/build/GW-Octeon-N32-8.0-trunk-generic-mips64-EB-octeon-cross-linux/TOOLCHAIN/tools.cross
--with-gmp=/opt/T2/t2-trunk/build/GW-Octeon-N32-8.0-trunk-generic-mips64-EB-octeon-cross-linux/TOOLCHAIN/tools.cross
--target=mips64-t2-linux-gnu --build=i686-nocross-linux-gnu
--host=i686-nocross-linux-gnu --target=mips64-t2-linux-gnu --with-arch=octeon
--with-arch=octeon --enable-__cxa_atexit --disable-checking --disable-bootstrap
--disable-libstdcxx-pch --disable-multilib
--with-sysroot=/opt/T2/t2-trunk/build/GW-Octeon-N32-8.0-trunk-generic-mips64-EB-octeon-cross-linux
--program-prefix=mips64-t2-linux-gnu- --disable-cpp --disable-shared
--disable-libssp --disable-libgomp --enable-languages=c,c++
--disable-libmudflap
Thread model: posix
gcc version 4.5.1 20100429 (prerelease) (GCC)

--------------------------------------------------------
Error:

        GEN32TABLE crc32table.h
        CC crc32.c
mips64-t2-linux-gnu-gcc: warning: -pipe ignored because -save-temps specified
recovery.c: In function 'do_one_pass':
recovery.c:713:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [recovery.o] Error 1
make[2]: Leaving directory
`/opt/T2/t2-trunk/src.e2fsprogs.GW-Octeon-N32.20100505.150534.13957.ubuntu1/e2fsprogs-1.41.11/e2fsck'
make[1]: *** [all-progs-recursive] Error 1
make[1]: Leaving directory
`/opt/T2/t2-trunk/src.e2fsprogs.GW-Octeon-N32.20100505.150534.13957.ubuntu1/e2fsprogs-1.41.11'
make: *** [all] Error 2
Due to previous errors, no 1-e2fsprogs.log file!

------------------------------------------------------------------

I don't see a way to attach the crc32.i file from this screen, I will see if I
can do it later.


-- 
           Summary: internal compiler error: Segmentation fault on Mips64
                    crossbuild of ext2progs
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janr at adax dot com
 GCC build triplet: i686-nocross-linux-gnu
  GCC host triplet: mips64-t2-linux-gnu
GCC target triplet: mips64-t2-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43995



More information about the Gcc-bugs mailing list