Hello!
I have built LFS/BLFS 6.1 with some updated packages, one
is gcc 3.4.4. All has gone fine without problems but I wanted to
rebuild gcc with all compilers instead of just c and c++
as in LFS, so I was doing that as in the book but "make check" reports
a lot of unexpected failures (see attached logfile)
GCC is build with this command:
tar -xjvf gcc-3.4.4.tar.bz2 &&
cd gcc-3.4.4 &&
patch -Np1 -i ../gcc-3.4.4-no_fixincludes-1.patch &&
patch -Np1 -i ../gcc-3.4.4-linkonce-1.patch &&
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &&
mkdir ../gcc-build &&
cd ../gcc-build &&
../gcc-3.4.4/configure --prefix=/usr \
--libexecdir=/usr/lib --enable-shared \
--enable-threads=posix --enable-__cxa_atexit \
--enable-clocale=gnu --enable-languages=c,c++,objc,f77,ada,java &&
make bootstrap &&
make -k check
Any idea why I got this error in make check?
//Jonas
Native configuration is i686-pc-linux-gnu
=== g77 tests ===
Running target unix
=== g77 Summary ===
# of expected passes 1824
/sources/gcc-build/gcc/testsuite/../g77 version 3.4.4
=== gcc tests ===
Running target unix
FAIL: gcc.c-torture/execute/va-arg-25.c execution, -Os
...
FAIL: gcc.dg/cpp/charconst.c multi-char (test for warnings, line 33)
FAIL: gcc.dg/cpp/charconst.c (test for excess errors)
XPASS: gcc.dg/cpp/cmdlne-dI-M.c scan-file
(^|\\\\n)cmdlne-dI-M.*:[^\\\\n]*cmdlne-dI-M.c
XPASS: gcc.dg/cpp/cmdlne-dM-M.c scan-file
(^|\\\\n)cmdlne-dM-M[^\\\\n]*:[^\\\\n]*cmdlne-dM-M.c
FAIL: gcc.dg/cpp/digraph2.c (test for errors, line 12)
FAIL: gcc.dg/return-type-1.c warning for falling off end of non-void function
(test for warnings, line 8)
FAIL: gcc.dg/return-type-1.c (test for excess errors)
FAIL: gcc.dg/return-type-3.c warning for falling off end of non-void function
(test for warnings, line 14)
FAIL: gcc.dg/return-type-3.c (test for excess errors)
FAIL: gcc.dg/sequence-pt-1.c sequence point warning (test for warnings, line 26)
FAIL: gcc.dg/sequence-pt-1.c sequence point warning (test for warnings, line 27)
...
FAIL: gcc.dg/va-arg-1.c (test for excess errors)
UNRESOLVED: gcc.dg/visibility-1.c
UNRESOLVED: gcc.dg/visibility-2.c
UNRESOLVED: gcc.dg/visibility-3.c
UNRESOLVED: gcc.dg/visibility-4.c
UNRESOLVED: gcc.dg/visibility-5.c
UNRESOLVED: gcc.dg/visibility-6.c
UNRESOLVED: gcc.dg/visibility-7.c
UNRESOLVED: gcc.dg/visibility-8.c
FAIL: gcc.dg/winline-2.c (test for warnings, line 7)
FAIL: gcc.dg/winline-2.c (test for excess errors)
FAIL: gcc.dg/pch/warn-1.c -O1 (test for excess errors)
FAIL: gcc.dg/pch/warn-1.c -O2 (test for excess errors)
FAIL: gcc.dg/pch/warn-1.c -O3 -fomit-frame-pointer (test for excess errors)
FAIL: gcc.dg/pch/warn-1.c -O3 -g (test for excess errors)
FAIL: gcc.dg/pch/warn-1.c -Os (test for excess errors)
UNRESOLVED: gcc.dg/special/weak-1.c
UNRESOLVED: gcc.dg/special/weak-2.c
UNRESOLVED: gcc.dg/special/wkali-1.c
UNRESOLVED: gcc.dg/special/wkali-2.c
FAIL: gcc.dg/tls/diag-2.c (test for errors, line 5)
FAIL: gcc.dg/tls/diag-2.c (test for errors, line 6)
FAIL: gcc.dg/tls/diag-2.c (test for errors, line 11)
FAIL: gcc.dg/tls/diag-2.c (test for errors, line 13)
FAIL: gcc.dg/tls/diag-2.c (test for errors, line 16)
FAIL: gcc.dg/tls/diag-2.c (test for errors, line 17)
FAIL: gcc.dg/tls/diag-2.c (test for errors, line 18)
FAIL: gcc.dg/tls/diag-2.c (test for errors, line 21)
FAIL: gcc.dg/tls/diag-2.c (test for excess errors)
UNRESOLVED: gcc.dg/weak/typeof-2.c
UNRESOLVED: gcc.dg/weak/weak-1.c
UNRESOLVED: gcc.dg/weak/weak-2.c
UNRESOLVED: gcc.dg/weak/weak-3.c
UNRESOLVED: gcc.dg/weak/weak-4.c
UNRESOLVED: gcc.dg/weak/weak-5.c
UNRESOLVED: gcc.dg/weak/weak-6.c
UNRESOLVED: gcc.dg/weak/weak-7.c
UNRESOLVED: gcc.dg/weak/weak-8.c
UNRESOLVED: gcc.dg/weak/weak-9.c
=== gcc Summary ===
# of expected passes 23848
# of unexpected failures 1078
# of unexpected successes 3
# of expected failures 67
# of unresolved testcases 22
# of untested testcases 61
# of unsupported tests 230
/sources/gcc-build/gcc/xgcc version 3.4.4
=== g++ tests ===
Running target unix
FAIL: g++.dg/ext/case-range2.C (test for errors, line 15)
FAIL: g++.dg/ext/case-range2.C (test for errors, line 24)
FAIL: g++.dg/ext/case-range2.C (test for excess errors)
...
FAIL: g++.dg/tls/diag-2.C (test for errors, line 13)
FAIL: g++.dg/tls/diag-2.C (test for excess errors)
UNRESOLVED: g++.old-deja/g++.ext/attrib5.C
WARNING: g++.old-deja/g++.mike/p10769a.C compilation failed to produce
executable
WARNING: g++.old-deja/g++.other/enum5.C compilation failed to produce executable
XPASS: g++.old-deja/g++.other/init5.C execution test
WARNING: g++.old-deja/g++.pt/friend44.C compilation failed to produce executable
UNRESOLVED: g++.old-deja/g++.pt/static3.C
...
=== g++ Summary ===
# of expected passes 9840
# of unexpected failures 20
# of unexpected successes 4
# of expected failures 70
# of unresolved testcases 3
# of untested testcases 1
# of unsupported tests 46
/sources/gcc-build/gcc/testsuite/../g++ version 3.4.4
=== objc tests ===
Running target unix
FAIL: objc.dg/class-1.m (test for errors, line 6)
FAIL: objc.dg/class-1.m (test for errors, line 12)
FAIL: objc.dg/class-1.m (test for errors, line 18)
FAIL: objc.dg/class-1.m (test for excess errors)
FAIL: objc.dg/class-2.m (test for errors, line 13)
...
=== objc Summary ===
# of expected passes 1303
# of unexpected failures 49
# of unsupported tests 8
/sources/gcc-build/gcc/xgcc version 3.4.4
=== libffi tests ===
Running target unix
=== libffi Summary ===
# of expected passes 212
# of unsupported tests 2
=== libjava tests ===
Running target unix
=== libjava Summary ===
# of expected passes 3271
# of expected failures 10
# of untested testcases 8
=== libstdc++ tests ===
Running target unix
XPASS: 22_locale/locale/cons/12658_thread.cc execution test
XPASS: 26_numerics/c99_classification_macros_c.cc (test for excess errors)
=== libstdc++ Summary ===
# of expected passes 2736
# of unexpected successes 2
# of expected failures 5
Compiler version: 3.4.4
Platform: i686-pc-linux-gnu
configure flags: --prefix=/usr --libexecdir=/usr/lib --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-languages=c,c++,objc,f77,ada,java
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page