GCC-3.4.3 make -k check error

Joe Ciccone jciccone at gmail.com
Tue Feb 15 10:59:33 PST 2005


Make sure that you extracted the gcc-testsuite tarball otherwise check
will not pass


On Tue, 15 Feb 2005 17:35:15 +0000, ilja <ilja at orange.net> wrote:
> Hi,
> 
> I've build GCC-3.4.3 in chapter 6 and during make -k check I get the
> following error.
> I can't figure out where the fault is. I've used the gcc-3.4.3.tar.bz2
> tarball of which I assume it includes the testsuite.
> (I checked in the directory tree)
> I found a lot of discussions about it via google but no real answer. Some
> say it's a bug in Dejagnu.
> Anybody who can enlighten me?
> 
> regards,
> 
> Ilja
> 
>                === libstdc++ Summary ===
> 
> # of expected passes            2722
> # of unexpected successes       2
> # of expected failures          5
> make[3]: *** [check-DEJAGNU] Error 1
> 
>                === libstdc++-v3 check-abi Summary ===
> 
> # of added symbols:              9
> # of missing symbols:            0
> # of incompatible symbols:       0
> 
> using:
> /source/lfs-6.1/build/gcc-3.4.3/libstdc++-v3/config/abi/i486-linux-gnu/basel
> ine_symbols.txt
> make[3]: Leaving directory
> `/source/lfs-6.1/build/gcc-build/i686-pc-linux-gnu/libstdc++-v3/testsuite'
> make[2]: *** [check-am] Error 2
> make[2]: Target `check' not remade because of errors.
> make[2]: Leaving directory
> `/source/lfs-6.1/build/gcc-build/i686-pc-linux-gnu/libstdc++-v3/testsuite'
> make[2]: Entering directory
> `/source/lfs-6.1/build/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
> : make ; exec make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc"
> "CC_FOR_TARGET=/source/lfs-6.1/build/gcc-build/gcc/xgcc -B/source/lfs-6.1/bu
> ild/gcc-build/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/li
> b/ -isystem /usr/i686-pc-linux-gnu/include -isystem
> /usr/i686-pc-linux-gnu/sys-include" "CFLAGS=-O2 -g -O2"
> "CXXFLAGS=-g -O2 -D_GNU_SOURCE" "CFLAGS_FOR_BUILD="
> "CFLAGS_FOR_TARGET=-O2 -g -O2" "INSTALL=/tools/bin/install -c"
> "INSTALL_DATA=/tools/bin/install -c -m 644"
> "INSTALL_PROGRAM=/tools/bin/install -c"
> "INSTALL_SCRIPT=/tools/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-O2 -g -O2"
> "LIBCFLAGS_FOR_TARGET=-O2 -g -O2" "MAKE=make"
> "MAKEINFO=makeinfo --split-size=5000000  " "PICFLAG=" "PICFLAG_FOR_TARGET="
> "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/usr" "infodir=/usr/info"
> "libdir=/usr/lib" "includedir=/usr/include" "prefix=/usr"
> "tooldir=/usr/i686-pc-linux-gnu" "gxx_include_dir=/usr/include/c++/3.4.3"
> "AR=ar" "AS=as" "LD=ld" "LIBCFLAGS=-O2 -g -O2" "PICFLAG=" "RANLIB=ranlib"
> "NM=nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=" DO=all
> multi-do
> make[3]: Entering directory
> `/source/lfs-6.1/build/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
> if [ -z "" ]; then \
>  true; \
> else \
>  rootpre=`${PWDCMD-pwd}`/; export rootpre; \
>  srcrootpre=`cd ../../../gcc-3.4.3/libstdc++-v3; ${PWDCMD-pwd}`/; export
> srcrootpre; \
>  lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
> 
> compiler="/source/lfs-6.1/build/gcc-build/gcc/xgcc -B/source/lfs-6.1/build/g
> cc-build/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -i
> system /usr/i686-pc-linux-gnu/include -isystem
> /usr/i686-pc-linux-gnu/sys-include"; \
>  for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
>    dir=`echo $i | sed -e 's/;.*$//'`; \
>    if [ "${dir}" = "." ]; then \
>      true; \
>    else \
>      if [ -d ../${dir}/${lib} ]; then \
>        flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
>        if (cd ../${dir}/${lib}; make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc"
> "CC_FOR_TARGET=/source/lfs-6.1/build/gcc-build/gcc/xgcc -B/source/lfs-6.1/bu
> ild/gcc-build/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/li
> b/ -isystem /usr/i686-pc-linux-gnu/include -isystem
> /usr/i686-pc-linux-gnu/sys-include" "CFLAGS=-O2 -g -O2"
> "CXXFLAGS=-g -O2 -D_GNU_SOURCE" "CFLAGS_FOR_BUILD="
> "CFLAGS_FOR_TARGET=-O2 -g -O2" "INSTALL=/tools/bin/install -c"
> "INSTALL_DATA=/tools/bin/install -c -m 644"
> "INSTALL_PROGRAM=/tools/bin/install -c"
> "INSTALL_SCRIPT=/tools/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-O2 -g -O2"
> "LIBCFLAGS_FOR_TARGET=-O2 -g -O2" "MAKE=make"
> "MAKEINFO=makeinfo --split-size=5000000   " "PICFLAG=" "PICFLAG_FOR_TARGET="
> "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/usr" "infodir=/usr/info"
> "libdir=/usr/lib" "includedir=/usr/include" "prefix=/usr"
> "tooldir=/usr/i686-pc-linux-gnu" "gxx_include_dir=/usr/include/c++/3.4.3"
> "AR=ar" "AS=as" "LD=ld" "LIBCFLAGS=-O2 -g -O2" "PICFLAG=" "RANLIB=ranlib"
> "NM=nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=" \
>                        CFLAGS="-O2 -g -O2 ${flags}" \
>                        prefix="/usr" \
>                        exec_prefix="/usr" \
>                        GCJFLAGS=" ${flags}" \
>                        CXXFLAGS="-g -O2 -D_GNU_SOURCE ${flags}" \
>                        LIBCFLAGS="-O2 -g -O2 ${flags}" \
>                        LIBCXXFLAGS="-g -O2 -D_GNU_SOURCE -fno-implicit-templates ${flags}" \
>                        LDFLAGS=" ${flags}" \
>                        MULTIFLAGS="${flags}" \
>                        DESTDIR="" \
>                        INSTALL="/tools/bin/install -c" \
>                        INSTALL_DATA="/tools/bin/install -c -m 644" \
>                        INSTALL_PROGRAM="/tools/bin/install -c" \
>                        INSTALL_SCRIPT="/tools/bin/install -c" \
>                        all); then \
>          true; \
>        else \
>          exit 1; \
>        fi; \
>      else true; \
>      fi; \
>    fi; \
>  done; \
> fi
> make[3]: Leaving directory
> `/source/lfs-6.1/build/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
> make[2]: Leaving directory
> `/source/lfs-6.1/build/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
> make[1]: *** [check-recursive] Error 1
> make[1]: Target `check' not remade because of errors.
> make[1]: Leaving directory
> `/source/lfs-6.1/build/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
> make: *** [check-target-libstdc++-v3] Error 2
> make[1]: Entering directory
> `/source/lfs-6.1/build/gcc-build/i686-pc-linux-gnu/libiberty'
> make[2]: Entering directory
> `/source/lfs-6.1/build/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
> make[2]: Nothing to be done for `check'.
> make[2]: Leaving directory
> `/source/lfs-6.1/build/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
> make[1]: Leaving directory
> `/source/lfs-6.1/build/gcc-build/i686-pc-linux-gnu/libiberty'
> make: Target `check' not remade because of errors.
> 
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>



More information about the lfs-support mailing list