Successful built of 3.4.5, failing gctest from testsuite

Michal Dovciak dovciak@mbox.troja.mff.cuni.cz
Thu Jan 5 15:41:00 GMT 2006


  Hi all,

here is a specification of my successful installation of gcc-3.4.5

1. Output from running srcdir/config.guess:

i686-pc-linux-gnu


2. The output of gcc -v for my newly installed gcc:

Reading specs from /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.5/specs
Configured with: /local/install/gcc-3.4.5/gcc-3.4.5/configure
--program-suffix=-3.4.5 --enable-threads=posix --enable-shared
--enable-languages=c,c++,objc,f77,java --disable-checking
--enable-libgcj --enable-__cxa_atexit --with-system-zlib
--enable-java-awt=gtk
Thread model: posix
gcc version 3.4.5

3. I downloaded and enabled "c", "c++", "objc", "f77" and "java".
   Firstly I tried to include "ada" as well but it failed, 
   I had a distribution (i.e. higher version of) "ada" installed.

4. The distribution name and version:

   SUSE Linux 10.0
   (this distribution includes gcc version 4.0.2 20050901 prerelease)

5. The version of the Linux kernel:

   2.6.13-15.7-smp (i.e. SUSE Linux kernel)

6. The version of glibc I used:

   glibc-2.3.5-40

Two additional notes:

1.   I have succesfully compiled all HEASAD (LHEASOFT) package used by 
     astronomy community (quite substantional package) without any error.

2.   Although the testsuite ran fine throughout I think almost all tests 
     (gcc, g77, objc, java and libraries), 
     it finished with a following error (WHY?):

     creating gctest
     make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-O2 -g -O2"
     "CXXFLAGS=-g -O2 -D_GNU_SOURCE" "CFLAGS_FOR_BUILD="
     "CFLAGS_FOR_TARGET=-O2 -g -O2" "INSTALL=/usr/bin/install -c"
     "INSTALL_DATA=/usr/bin/install -c -m 644"
     "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c"
     "LDFLAGS=" "LIBCFLAGS=-O2 -g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2" "MAKE=make"
     "MAKEINFO=/local/install/gcc-3.4.5/gcc-3.4.5/missing makeinfo --split-size=5000000  "
     "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest"
     "RUNTESTFLAGS=" "exec_prefix=/usr/local" "infodir=/usr/local/info"
     "libdir=/usr/local/lib" "prefix=/usr/local" "tooldir=/usr/local/i686-pc-linux-gnu"
     "AR=ar" "AS=as" "CC=/local/install/gcc/gcc/xgcc -B/local/install/gcc/gcc/
     -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
     -isystem /usr/local/i686-pc-linux-gnu/include
     -isystem /usr/local/i686-pc-linux-gnu/sys-include"
     "CXX=/local/install/gcc/gcc/g++ -B/local/install/gcc/gcc/ -nostdinc++ -nostdinc++
     -I/local/install/gcc/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu
     -I/local/install/gcc/i686-pc-linux-gnu/libstdc++-v3/include
     -I/local/install/gcc-3.4.5/gcc-3.4.5/libstdc++-v3/libsupc++
     -I/local/install/gcc-3.4.5/gcc-3.4.5/libstdc++-v3/libsupc++
     -I/local/install/gcc-3.4.5/gcc-3.4.5/libstdc++-v3/include/backward
     -I/local/install/gcc-3.4.5/gcc-3.4.5/libstdc++-v3/testsuite
     -L/local/install/gcc/i686-pc-linux-gnu/libstdc++-v3/src
     -L/local/install/gcc/i686-pc-linux-gnu/libstdc++-v3/src/.libs
     -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
     -isystem /usr/local/i686-pc-linux-gnu/include
     -isystem /usr/local/i686-pc-linux-gnu/sys-include" "LD=ld" "LIBCFLAGS=-O2 -g -O2"
     "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" check-TESTS
     make[3]: Entering directory `/local/install/gcc/i686-pc-linux-gnu/boehm-gc'
     Switched to incremental mode
     Emulating dirty bits with mprotect/signals
     /bin/sh: line 1: 16525 Segmentation fault      LD_LIBRARY_PATH=../../gcc $dir/$tst
     FAIL: gctest
     ===================
     1 of 1 tests failed
     ===================
     make[3]: *** [check-TESTS] Error 1
     make[3]: Leaving directory `/local/install/gcc/i686-pc-linux-gnu/boehm-gc'
     make[2]: *** [check-am] Error 2
     make[2]: Leaving directory `/local/install/gcc/i686-pc-linux-gnu/boehm-gc'
     make[1]: *** [check-recursive] Error 1
     make[1]: Target `check' not remade because of errors.
     make[1]: Leaving directory `/local/install/gcc/i686-pc-linux-gnu/boehm-gc'
     make: *** [check-target-boehm-gc] Error 2
     make: Target `check' not remade because of errors.

  Does anybody know what went wrong, please?

  Cheers,

  Michal.






More information about the Gcc mailing list