Hallo all,
i am a new member!
i downloaded the 6.1.1 book (pdf) and following it to make lfs on my slackware-10.2 machine
i have created a special user lfs for it and according to the hint i m working with linux_from_scratch directory..
i could smoothly go upto the pass-2 of the Gcc-3.4.3 installation. when running the test
make -k check.. I have recived following output for libstdc++ test.. the above test (gcc and g++) gave me same result as shown on the url in the book..so i m just pasting where the output starts differing...
Code:
=== 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 /home/lfs/linux_from_scratch/sources/gcc-3.4.3/libstdc++-v3/testsuite/config/default.exp as tool-and-target-specific interface file.
Running /home/lfs/linux_from_scratch/sources/gcc-3.4.3/libstdc++-v3/testsuite/libstdc++-dg/normal.exp ...
XPASS: 22_locale/locale/cons/12658_thread.cc execution test
=== libstdc++ Summary ===
# of expected passes 2722
# of unexpected successes 1
# of expected failures 6
make[3]: *** [check-DEJAGNU] Error 1
=== libstdc++-v3 check-abi Summary ===
# of added symbols: 56
# of missing symbols: 46
# of incompatible symbols: 46
using: /home/lfs/linux_from_scratch/sources/gcc-3.4.3/libstdc++-v3/config/abi/i486-linux-gnu/baseline_symbols.txt
make[3]: Leaving directory `/home/lfs/linux_from_scratch/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 `/home/lfs/linux_from_scratch/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/testsuite'
make[2]: Entering directory `/home/lfs/linux_from_scratch/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
: make ; exec make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CC_FOR_TARGET=/home/lfs/linux_from_scratch/sources/gcc-build/gcc/xgcc -B/home/lfs/linux_from_scratch/sources/gcc-build/gcc/ -B/tools/i686-pc-linux-gnu/bin/ -B/tools/i686-pc-linux-gnu/lib/ -isystem /tools/i686-pc-linux-gnu/include -isystem /tools/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=/usr/bin/ginstall -c" "INSTALL_DATA=/usr/bin/ginstall -c -m 644" "INSTALL_PROGRAM=/usr/bin/ginstall -c" "INSTALL_SCRIPT=/usr/bin/ginstall -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=/tools" "infodir=/tools/info" "libdir=/tools/lib" "includedir=/tools/include" "prefix=/tools" "tooldir=/tools/i686-pc-linux-gnu" "gxx_include_dir=/tools/include/c++/3.4.3" "AR=ar" "AS=/tools/i686-pc-linux-gnu/bin/as" "LD=/tools/i686-pc-linux-gnu/bin/ld" "LIBCFLAGS=-O2 -g -O2" "PICFLAG=" "RANLIB=ranlib" "NM=/tools/i686-pc-linux-gnu/bin/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=/tools/i686-pc-linux-gnu/bin/nm" "DESTDIR=" "WERROR=" DO=all multi-do
make[3]: Entering directory `/home/lfs/linux_from_scratch/sources/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="/home/lfs/linux_from_scratch/sources/gcc-build/gcc/xgcc -B/home/lfs/linux_from_scratch/sources/gcc-build/gcc/ -B/tools/i686-pc-linux-gnu/bin/ -B/tools/i686-pc-linux-gnu/lib/ -isystem /tools/i686-pc-linux-gnu/include -isystem /tools/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=/home/lfs/linux_from_scratch/sources/gcc-build/gcc/xgcc -B/home/lfs/linux_from_scratch/sources/gcc-build/gcc/ -B/tools/i686-pc-linux-gnu/bin/ -B/tools/i686-pc-linux-gnu/lib/ -isystem /tools/i686-pc-linux-gnu/include -isystem /tools/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=/usr/bin/ginstall -c" "INSTALL_DATA=/usr/bin/ginstall -c -m 644" "INSTALL_PROGRAM=/usr/bin/ginstall -c" "INSTALL_SCRIPT=/usr/bin/ginstall -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=/tools" "infodir=/tools/info" "libdir=/tools/lib" "includedir=/tools/include" "prefix=/tools" "tooldir=/tools/i686-pc-linux-gnu" "gxx_include_dir=/tools/include/c++/3.4.3" "AR=ar" "AS=/tools/i686-pc-linux-gnu/bin/as" "LD=/tools/i686-pc-linux-gnu/bin/ld" "LIBCFLAGS=-O2 -g -O2" "PICFLAG=" "RANLIB=ranlib" "NM=/tools/i686-pc-linux-gnu/bin/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=/tools/i686-pc-linux-gnu/bin/nm" "DESTDIR=" "WERROR=" \
CFLAGS="-O2 -g -O2 ${flags}" \
prefix="/tools" \
exec_prefix="/tools" \
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="/usr/bin/ginstall -c" \
INSTALL_DATA="/usr/bin/ginstall -c -m 644" \
INSTALL_PROGRAM="/usr/bin/ginstall -c" \
INSTALL_SCRIPT="/usr/bin/ginstall -c" \
all); then \
true; \
else \
exit 1; \
fi; \
else true; \
fi; \
fi; \
done; \
fi
make[3]: Leaving directory `/home/lfs/linux_from_scratch/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[2]: Leaving directory `/home/lfs/linux_from_scratch/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 `/home/lfs/linux_from_scratch/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make: *** [check-target-libstdc++-v3] Error 2
make[1]: Entering directory `/home/lfs/linux_from_scratch/sources/gcc-build/i686-pc-linux-gnu/libiberty'
make[2]: Entering directory `/home/lfs/linux_from_scratch/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/lfs/linux_from_scratch/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[1]: Leaving directory `/home/lfs/linux_from_scratch/sources/gcc-build/i686-pc-linux-gnu/libiberty'
make: Target `check' not remade because of errors.
i want to know why this result could be differing and what harm does it bring ?
thanks,
Hardik