Successful built of 3.4.5, failing gctest from testsuite
Lucas (a.k.a T-Bird or bsdfan3)
tbird-contact@cox.net
Mon Jan 30 05:09:00 GMT 2006
Sounds like /bin/sh puked...What shell was that GCC configured with?
P.S. That looks to be a boehm-gc test that failed...which really
doesn't matter much (from an end-user perspective) unless you use GCJ...
David Fang wrote:
>Hi all,
> In reply to an earlier posting this month, from:
>
>From: Michal Dovciak <dovciak at mbox dot troja dot mff dot cuni dot cz>
>To: gcc at gcc dot gnu dot org
>Date: Thu, 05 Jan 2006 16:41:10 +0100
>Subject: Successful built of 3.4.5, failing gctest from testsuite
>
>
>A colleague (CC'd, not subscribed) experienced the same problem, described
>in the referenced message below, with a nearly identical configuration
>SUSE Linux 10.0, on i686, which only contained a prerelease of gcc-4.0.2
>(20050901). He was not able to acquire ANY other release gcc version from
>the SUSE package manager, which is a SERIOUS problem. He acquired the
>gcc-3.4.5 and built it from 4.0.2 prelease, and experience the same
>testsuite failure. Now we're suspecting possible wrong code generated by
>gcc-3.4.5, possibly miscompiled by 4.0.2-pre.
>
>Has anyone looked into this? I've seen no follow ups so far. And I
>realize many are busy with 4.1.
>
>On a side note, why does SUSE only provide one unofficial release of gcc?
>I'd be VERY CONCERNED if there is no other way to get a stable compiler
>built from a widely used distro (I'm not a SUSE user myself).
>
>
>Regards,
>
>David
>
>Clint
>
>
>---------------- reference message ----------------
>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.
>
>
>----------- end reference message ----------------
>
>
>
>
>David Fang
>Computer Systems Laboratory
>Electrical & Computer Engineering
>Cornell University
>http://www.csl.cornell.edu/~fang/
> -- (2400 baud? Netscape 3.0?? lynx??? No problem!)
>
>
>
>
More information about the Gcc
mailing list