Hi there!

I tried once again to get me a LFS-system.
Intel i3, 8GB RAM, SSD 60GB + HD 2TB

So 64 bit comes natural.

I tried several approaches to compile gcc regarding to chapter 6.17,
first with user package management... then as root, too.

I fear there might be some problems with the compiled-as-user programs
prior to gcc which leaves gcc in a state that it can't be compiled, but
I hope it's not the case and I'm just overlooking something.

Compiling as root, 'configure' and 'make' both run fine (similar when
compiling as user), but after the 'ulimit' command the 'make -k check'
gets me errors I also get when compiling gcc as user.

A 'make install' afterwards ends into a similar error message with
virtually no files installed.

Every help and idea is appreciated.

Here is the output I get. First just the summaries:

                === gcc Summary ===

# of expected passes            85590
# of unexpected successes       5
# of expected failures          256
# of unsupported tests          1229
/root/gcc-build/gcc/xgcc  version 4.7.1 (GCC) 

                === g++ Summary ===

# of expected passes            48564
# of expected failures          286
# of unsupported tests          541
/root/gcc-build/gcc/testsuite/g++/../../g++  version 4.7.1 (GCC) 

                === libstdc++ Summary ===

# of expected passes            8849
# of expected failures          43
# of unsupported tests          151

                === libmudflap Summary ===

# of expected passes            1435
# of unexpected failures        1

                === libgomp Summary ===

# of expected passes            1247

                === libitm Summary ===

# of expected passes            26
# of expected failures          3
# of unsupported tests          1


----------------------------------------------------------------

Now here comes the compile protocol, starting from a position with no
errors. As said, this is the 'root' compiling, but I get similar
results as non-root, too.


                === libmudflap Summary ===

# of expected passes            1435
# of unexpected failures        1
make[4]: *** [check-DEJAGNU] Error 1
make[4]: Leaving directory
`/root/gcc-build/x86_64-unknown-linux-gnu/libmudflap/testsuite'
make[3]: *** [check-am] Error 2 make[3]: Target `check' not remade
because of errors. make[3]: Leaving directory
`/root/gcc-build/x86_64-unknown-linux-gnu/libmudflap/testsuite'
make[3]: Entering directory
`/root/gcc-build/x86_64-unknown-linux-gnu/libmudflap' true
"AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2
-D_GNU_SOURCE" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-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" "JC1FLAGS=" "LDFLAGS="
"LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make"
"MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000  "
"PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS="
"exec_prefix=/root/fake/usr" "infodir=/root/fake/usr/share/info"
"libdir=/root/fake/usr/lib" "prefix=/root/fake/usr"
"includedir=/root/fake/usr/include" "AR=ar"
"AS=/root/gcc-build/./gcc/as" "CC=/root/gcc-build/./gcc/xgcc
-B/root/gcc-build/./gcc/ -B/root/fake/usr/x86_64-unknown-linux-gnu/bin/
-B/root/fake/usr/x86_64-unknown-linux-gnu/lib/
-isystem /root/fake/usr/x86_64-unknown-linux-gnu/include
-isystem /root/fake/usr/x86_64-unknown-linux-gnu/sys-include   "
"CXX=/root/gcc-build/./gcc/g++ -B/root/gcc-build/./gcc/ -nostdinc++
-nostdinc++
-I/root/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/root/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/root/gcc-4.7.1/libstdc++-v3/libsupc++
-I/root/gcc-4.7.1/libstdc++-v3/include/backward
-I/root/gcc-4.7.1/libstdc++-v3/testsuite/util
-L/root/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/root/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/root/fake/usr/x86_64-unknown-linux-gnu/bin/
-B/root/fake/usr/x86_64-unknown-linux-gnu/lib/
-isystem /root/fake/usr/x86_64-unknown-linux-gnu/include
-isystem /root/fake/usr/x86_64-unknown-linux-gnu/sys-include   "
"LD=/root/gcc-build/./gcc/collect-ld" "LIBCFLAGS=-g -O2"
"NM=/root/gcc-build/./gcc/nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR="
DO=all multi-do # make make[3]: Leaving directory
`/root/gcc-build/x86_64-unknown-linux-gnu/libmudflap' make[2]: ***
[check-recursive] Error 1 make[2]: Target `check' not remade because of
errors. make[2]: Leaving directory
`/root/gcc-build/x86_64-unknown-linux-gnu/libmudflap' make[1]: ***
[check-target-libmudflap] Error 2 make[2]: Entering directory
`/root/gcc-build/x86_64-unknown-linux-gnu/libssp' true "AR_FLAGS=rc"
"CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2 -D_GNU_SOURCE"
"CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-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" "JC1FLAGS=" "LDFLAGS="
"LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make"
"MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 "
"PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS="
"exec_prefix=/root/fake/usr" "infodir=/root/fake/usr/share/info"
"libdir=/root/fake/usr/lib" "prefix=/root/fake/usr"
"includedir=/root/fake/usr/include" "AR=ar"
"AS=/root/gcc-build/./gcc/as" "CC=/root/gcc-build/./gcc/xgcc
-B/root/gcc-build/./gcc/ -B/root/fake/usr/x86_64-unknown-linux-gnu/bin/
-B/root/fake/usr/x86_64-unknown-linux-gnu/lib/
-isystem /root/fake/usr/x86_64-unknown-linux-gnu/include
-isystem /root/fake/usr/x86_64-unknown-linux-gnu/sys-include   "
"CXX=/root/gcc-build/./gcc/g++ -B/root/gcc-build/./gcc/ -nostdinc++
-nostdinc++
-I/root/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/root/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/root/gcc-4.7.1/libstdc++-v3/libsupc++
-I/root/gcc-4.7.1/libstdc++-v3/include/backward
-I/root/gcc-4.7.1/libstdc++-v3/testsuite/util
-L/root/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/root/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/root/fake/usr/x86_64-unknown-linux-gnu/bin/
-B/root/fake/usr/x86_64-unknown-linux-gnu/lib/
-isystem /root/fake/usr/x86_64-unknown-linux-gnu/include
-isystem /root/fake/usr/x86_64-unknown-linux-gnu/sys-include   "
"LD=/root/gcc-build/./gcc/collect-ld" "LIBCFLAGS=-g -O2"
"NM=/root/gcc-build/./gcc/nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR="
DO=all multi-do # make make[2]: Leaving directory
`/root/gcc-build/x86_64-unknown-linux-gnu/libssp' make[2]: Entering
directory `/root/gcc-build/x86_64-unknown-linux-gnu/libquadmath' true
"AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2
-D_GNU_SOURCE" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-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" "JC1FLAGS=" "LDFLAGS="
"LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make"
"MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000
-I ../../../gcc-4.7.1/libquadmath/../gcc/doc/include" "PICFLAG="
"PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS="
"exec_prefix=/root/fake/usr" "infodir=/root/fake/usr/share/info"
"libdir=/root/fake/usr/lib" "prefix=/root/fake/usr"
"includedir=/root/fake/usr/include" "AR=ar"
"AS=/root/gcc-build/./gcc/as" "CC=/root/gcc-build/./gcc/xgcc
-B/root/gcc-build/./gcc/ -B/root/fake/usr/x86_64-unknown-linux-gnu/bin/
-B/root/fake/usr/x86_64-unknown-linux-gnu/lib/
-isystem /root/fake/usr/x86_64-unknown-linux-gnu/include
-isystem /root/fake/usr/x86_64-unknown-linux-gnu/sys-include   "
"CXX=/root/gcc-build/./gcc/g++ -B/root/gcc-build/./gcc/ -nostdinc++
-nostdinc++
-I/root/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/root/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/root/gcc-4.7.1/libstdc++-v3/libsupc++
-I/root/gcc-4.7.1/libstdc++-v3/include/backward
-I/root/gcc-4.7.1/libstdc++-v3/testsuite/util
-L/root/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/root/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/root/fake/usr/x86_64-unknown-linux-gnu/bin/
-B/root/fake/usr/x86_64-unknown-linux-gnu/lib/
-isystem /root/fake/usr/x86_64-unknown-linux-gnu/include
-isystem /root/fake/usr/x86_64-unknown-linux-gnu/sys-include   "
"LD=/root/gcc-build/./gcc/collect-ld" "LIBCFLAGS=-g -O2"
"NM=/root/gcc-build/./gcc/nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR="
DO=all multi-do # make make[2]: Leaving directory
`/root/gcc-build/x86_64-unknown-linux-gnu/libquadmath' make[2]:
Entering directory `/root/gcc-build/x86_64-unknown-linux-gnu/libgomp'
Making check in testsuite make[3]: Entering directory
`/root/gcc-build/x86_64-unknown-linux-gnu/libgomp/testsuite' make
check-DEJAGNU make[4]: Entering directory
`/root/gcc-build/x86_64-unknown-linux-gnu/libgomp/testsuite' Making a
new site.exp file... srcdir=`CDPATH="${ZSH_VERSION+.}:" &&
cd ../../../../gcc-4.7.1/libgomp/testsuite && pwd`; export srcdir; \
EXPECT=expect; export EXPECT; \ runtest=runtest; \ if /bin/sh -c
"$runtest --version" > /dev/null 2>&1; then \ exit_status=0;
l='libgomp'; for tool in $l; do \ if $runtest  --tool $tool --srcdir
$srcdir ; \ then :; else exit_status=1; fi; \ done; \ else echo
"WARNING: could not find \`runtest'" 1>&2; :;\ fi; \ exit $exit_status
WARNING: Couldn't find the global config file. Test Run By root on Wed
Nov  7 22:42:54 2012 Native configuration is x86_64-unknown-linux-gnu

                === libgomp 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 /root/gcc-4.7.1/libgomp/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running /root/gcc-4.7.1/libgomp/testsuite/libgomp.c/c.exp ...
Running /root/gcc-4.7.1/libgomp/testsuite/libgomp.c++/c++.exp ...
Running /root/gcc-4.7.1/libgomp/testsuite/libgomp.fortran/fortran.exp ...
No libgfortran library found, will not execute fortran tests
Running /root/gcc-4.7.1/libgomp/testsuite/libgomp.graphite/graphite.exp ...

                === libgomp Summary ===

# of expected passes            1247
make[4]: Leaving directory
`/root/gcc-build/x86_64-unknown-linux-gnu/libgomp/testsuite' make[3]:
Leaving directory
`/root/gcc-build/x86_64-unknown-linux-gnu/libgomp/testsuite' make[3]:
Entering directory `/root/gcc-build/x86_64-unknown-linux-gnu/libgomp'
true  DO=all multi-do # make make[3]: Leaving directory
`/root/gcc-build/x86_64-unknown-linux-gnu/libgomp' make[2]: Leaving
directory `/root/gcc-build/x86_64-unknown-linux-gnu/libgomp' make[2]:
Entering directory `/root/gcc-build/x86_64-unknown-linux-gnu/libitm'
Making check in testsuite make[3]: Entering directory
`/root/gcc-build/x86_64-unknown-linux-gnu/libitm/testsuite' make
check-DEJAGNU make[4]: Entering directory
`/root/gcc-build/x86_64-unknown-linux-gnu/libitm/testsuite' Making a
new site.exp file... srcdir=`CDPATH="${ZSH_VERSION+.}:" &&
cd ../../../../gcc-4.7.1/libitm/testsuite && pwd`; export srcdir; \
EXPECT=expect; export EXPECT; \ runtest=runtest; \ if /bin/sh -c
"$runtest --version" > /dev/null 2>&1; then \ exit_status=0;
l='libitm'; for tool in $l; do \ if $runtest  --tool $tool --srcdir
$srcdir ; \ then :; else exit_status=1; fi; \
  done; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi; \
exit $exit_status
WARNING: Couldn't find the global config file.
Test Run By root on Wed Nov  7 22:44:09 2012
Native configuration is x86_64-unknown-linux-gnu

                === libitm 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 /root/gcc-4.7.1/libitm/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running /root/gcc-4.7.1/libitm/testsuite/libitm.c/c.exp ...
Running /root/gcc-4.7.1/libitm/testsuite/libitm.c++/c++.exp ...

                === libitm Summary ===

# of expected passes            26
# of expected failures          3
# of unsupported tests          1
make[4]: Leaving directory
`/root/gcc-build/x86_64-unknown-linux-gnu/libitm/testsuite' make[3]:
Leaving directory
`/root/gcc-build/x86_64-unknown-linux-gnu/libitm/testsuite' make[3]:
Entering directory `/root/gcc-build/x86_64-unknown-linux-gnu/libitm'
true  DO=all multi-do # make make[3]: Leaving directory
`/root/gcc-build/x86_64-unknown-linux-gnu/libitm' make[2]: Leaving
directory `/root/gcc-build/x86_64-unknown-linux-gnu/libitm' make[1]:
Target `check-target' not remade because of errors. make[1]: Leaving
directory `/root/gcc-build' make: *** [do-check] Error 2 make: Target
`check' not remade because of errors. root:~/gcc-build# 
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to