Error GCC

Michell L. Garcia garcia at brtn.com.br
Wed May 18 19:55:13 PDT 2005


On Wed, 18 May 2005 15:50:07 -0700, Jim Gifford wrote
> Michell L. Garcia wrote:
> 
> There are a few questions that I want to ask
> 
> 1 Did you use --disable profile, when you compiled glibc, did glibc 
> ever pass the tests? 2 Are you setting CFLAGS or CXXFLAGS? 3 What 
> does config.log show 4 What happens run your run runtest --version 5 
> What is your host distro" Note: some of these errors your having are 
> common to slackware, try using gentoo or the LFS livecd and see if 
> you get the same errors. 6 What is your machine specs
> 
> -- 
> ------
> jim at linuxfromscratch.org
> lfs at jg555.com
> 
> LFS User # 2577
> Registered Linux User # 299986
> 
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page

1 Did you use --disable profile, when you compiled glibc, did glibc ever pass
the tests?
  R. OK.

2 Are you setting CFLAGS or CXXFLAGS?
  
  R. Arrow them so that value?

3. What does config.log show 
root at brtn:/backup/sources/gcc-build# cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:581: checking host system type
configure:602: checking target system type
configure:620: checking build system type
configure:675: checking for a BSD compatible install
configure:2844: checking for i686-pc-linux-gnu-ar
configure:2877: checking for ar
configure:2916: checking for i686-pc-linux-gnu-as
configure:2949: checking for as
configure:2988: checking for i686-pc-linux-gnu-dlltool
configure:3021: checking for dlltool
configure:3060: checking for i686-pc-linux-gnu-ld
configure:3132: checking for i686-pc-linux-gnu-nm
configure:3165: checking for nm
configure:3204: checking for i686-pc-linux-gnu-ranlib
configure:3237: checking for ranlib
configure:3276: checking for i686-pc-linux-gnu-windres
configure:3309: checking for windres
configure:3348: checking for i686-pc-linux-gnu-objcopy
configure:3381: checking for objcopy
configure:3420: checking for i686-pc-linux-gnu-objdump
configure:3453: checking for objdump
configure:3502: checking for i686-pc-linux-gnu-ar
configure:3535: checking for ar
configure:3574: checking for i686-pc-linux-gnu-as
configure:3607: checking for as
configure:3646: checking for i686-pc-linux-gnu-dlltool
configure:3679: checking for dlltool
configure:3718: checking for i686-pc-linux-gnu-ld
configure:3751: checking for ld
configure:3790: checking for i686-pc-linux-gnu-nm
configure:3823: checking for nm
configure:3862: checking for i686-pc-linux-gnu-ranlib
configure:3895: checking for ranlib
configure:3934: checking for i686-pc-linux-gnu-windres
configure:3967: checking for windres
configure:4034: checking whether to enable maintainer-specific portions of
Makefiles
root at brtn:/backup/sources/gcc-build# 

4 What happens run your run runtest --version ?
  R. What?  

5  What is your host distro" Note: some of these errors your having are common
to slackware, try using gentoo or the LFS livecd and see if you get the same
errors.
  R. Ok

6 What is your machine specs
  What does specs?

  I'am from Brazil. It forgives for the harm pronounces of English.

 Error:
---------------------------------------------------------------------
  l='libstdc++'; for tool in $l; do \
    $runtest  --tool $tool --srcdir $srcdir ; \
  done; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi
WARNING: Couldn't find the global config file.
Test Run By root on Wed May 18 23:24:39 2005
Native configuration is i686-pc-linux-gnu

                === libstdc++ tests ===

Schedule of variations:
    unix

Running target unix
Using /tools/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /tools/share/dejagnu/config/unix.exp as generic interface file for target.
Using /sources/gcc-3.4.1/libstdc++-v3/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running /sources/gcc-3.4.1/libstdc++-v3/testsuite/libstdc++-dg/normal.exp ...
XPASS: 26_numerics/c99_classification_macros_c.cc (test for excess errors)

                === libstdc++ Summary ===

# of expected passes            2696
# of unexpected successes       1
# of expected failures          5
make[3]: *** [check-DEJAGNU] Error 1

                === libstdc++-v3 check-abi Summary ===

# of added symbols:              298
# of missing symbols:            284
# of incompatible symbols:       284

using:
/sources/gcc-3.4.1/libstdc++-v3/config/abi/i486-linux-gnu/baseline_symbols.txt
make[3]: Leaving directory
`/sources/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
`/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/testsuite'
make[2]: Entering directory `/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
: make ; exec make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc"
"CC_FOR_TARGET=/sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -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.1"
"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 `/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
if [ -z "" ]; then \
  true; \
else \
  rootpre=`${PWDCMD-pwd}`/; export rootpre; \
  srcrootpre=`cd ../../../gcc-3.4.1/libstdc++-v3; ${PWDCMD-pwd}`/; export
srcrootpre; \
  lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
  compiler="/sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem
/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=/sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -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.1"
"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 `/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[2]: Leaving directory `/sources/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 `/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make: *** [check-target-libstdc++-v3] Error 2
make[1]: Entering directory `/sources/gcc-build/i686-pc-linux-gnu/libiberty'
make[2]: Entering directory
`/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory
`/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[1]: Leaving directory `/sources/gcc-build/i686-pc-linux-gnu/libiberty'
make: Target `check' not remade because of errors.
root:/sources/gcc-build# 
--------------------------
[<O>] Brasil Network [<O>]
  http://www.BrTn.com.br
--------------------------




More information about the lfs-support mailing list