Skip to content

Instantly share code, notes, and snippets.

@laixintao
Last active May 4, 2020 06:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laixintao/2e9795dc156fc999114bf94f7de490b9 to your computer and use it in GitHub Desktop.
Save laixintao/2e9795dc156fc999114bf94f7de490b9 to your computer and use it in GitHub Desktop.
LFS GCC check fail
PASS: run-backtrace-fp-core-x86_64.sh
PASS: run-backtrace-fp-core-aarch64.sh
PASS: run-backtrace-fp-core-ppc64le.sh
PASS: run-backtrace-core-x32.sh
PASS: run-backtrace-core-i386.sh
PASS: run-backtrace-fp-core-i386.sh
PASS: run-backtrace-core-ppc.sh
PASS: run-backtrace-core-s390x.sh
PASS: run-backtrace-core-s390.sh
PASS: run-backtrace-core-aarch64.sh
PASS: run-backtrace-core-sparc.sh
PASS: run-backtrace-demangle.sh
PASS: run-stack-d-test.sh
PASS: run-stack-i-test.sh
PASS: run-stack-demangled-test.sh
PASS: run-readelf-zx.sh
PASS: run-readelf-zp.sh
PASS: run-readelf-addr.sh
PASS: run-readelf-str.sh
PASS: run-readelf-types.sh
PASS: run-readelf-dwz-multi.sh
PASS: run-allfcts-multi.sh
PASS: run-deleted.sh
PASS: run-linkmap-cut.sh
PASS: run-aggregate-size.sh
PASS: run-peel-type.sh
PASS: vdsosyms
PASS: run-readelf-A.sh
PASS: run-getsrc-die.sh
PASS: run-strptr.sh
PASS: newdata
PASS: elfstrtab
PASS: dwfl-proc-attach
PASS: elfshphehdr
SKIP: run-lfs-symbols.sh
PASS: run-dwelfgnucompressed.sh
PASS: run-elfgetchdr.sh
PASS: run-elfgetzdata.sh
PASS: run-elfputzdata.sh
PASS: run-zstrptr.sh
PASS: run-compress-test.sh
PASS: run-readelf-zdebug.sh
PASS: run-readelf-zdebug-rel.sh
PASS: emptyfile
PASS: vendorelf
PASS: fillfile
PASS: dwarf_default_lower_bound
PASS: run-dwarf-die-addr-die.sh
PASS: run-get-units-invalid.sh
PASS: run-get-units-split.sh
PASS: run-attr-integrate-skel.sh
PASS: run-all-dwarf-ranges.sh
PASS: run-unit-info.sh
PASS: run-reloc-bpf.sh
PASS: run-next-cfi.sh
PASS: run-next-cfi-self.sh
PASS: run-reverse-sections.sh
PASS: run-reverse-sections-self.sh
PASS: run-copyadd-sections.sh
PASS: run-copymany-sections.sh
PASS: run-typeiter-many.sh
PASS: run-strip-test-many.sh
PASS: run-strip-version.sh
PASS: run-xlate-note.sh
PASS: run-readelf-discr.sh
PASS: run-dwelf_elf_e_machine_string.sh
FAIL: run-elfclassify.sh
PASS: run-elfclassify-self.sh
PASS: msg_tst
PASS: system-elf-libelf-test
PASS: run-readelf-s.sh
PASS: run-dwflsyms.sh
PASS: asm-tst1
PASS: asm-tst2
PASS: asm-tst3
PASS: asm-tst4
PASS: asm-tst5
PASS: asm-tst6
PASS: asm-tst7
PASS: asm-tst8
PASS: asm-tst9
PASS: run-disasm-bpf.sh
============================================================================
Testsuite summary for elfutils 0.177
============================================================================
# TOTAL: 213
# PASS: 207
# SKIP: 5
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to https://sourceware.org/bugzilla
============================================================================
make[3]: *** [Makefile:2319: test-suite.log] Error 1
make[2]: *** [Makefile:2427: check-TESTS] Error 2
make[1]: *** [Makefile:3985: check-am] Error 2
make: *** [Makefile:486: check-recursive] Error 1
https://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-9-0-fail-run-elfclassify-sh-6-48-libelf-from-elfutils-0-177-a-4175661726/
(lfs chroot) root:/sources/gcc-9.2.0/build# ../contrib/test_summary
gawk: cmd. line:36: warning: regexp escape sequence `\=' is not a known regexp operator
cat <<'EOF' |
LAST_UPDATED: Obtained from SVN: tags/gcc_9_2_0_release revision 274275
Native configuration is x86_64-pc-linux-gnu
=== g++ tests ===
Running target unix
=== g++ Summary ===
# of expected passes 134787
# of expected failures 527
# of unsupported tests 5921
/sources/gcc-9.2.0/build/gcc/xg++ version 9.2.0 (GCC)
=== gcc tests ===
Running target unix
FAIL: gcc.target/i386/pr57193.c scan-assembler-times movdqa 2
FAIL: gcc.target/i386/pr90178.c scan-assembler-times xorl[\\\\t ]*\\\\%eax,[\\\\t ]*%eax 1
=== gcc Summary ===
# of expected passes 139439
# of unexpected failures 2
# of expected failures 527
# of unsupported tests 2151
/sources/gcc-9.2.0/build/gcc/xgcc version 9.2.0 (GCC)
=== libatomic tests ===
Running target unix
=== libatomic Summary ===
# of expected passes 54
=== libgomp tests ===
Running target unix
=== libgomp Summary ===
# of expected passes 2316
# of expected failures 2
# of unsupported tests 210
=== libitm tests ===
Running target unix
=== libitm Summary ===
# of expected passes 42
# of expected failures 3
# of unsupported tests 1
=== libstdc++ tests ===
Running target unix
FAIL: 22_locale/time_get/get_time/char/2.cc execution test
FAIL: 22_locale/time_get/get_time/char/wrapped_env.cc execution test
FAIL: 22_locale/time_get/get_time/char/wrapped_locale.cc execution test
FAIL: 22_locale/time_get/get_time/wchar_t/2.cc execution test
FAIL: 22_locale/time_get/get_time/wchar_t/wrapped_env.cc execution test
FAIL: 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc execution test
FAIL: experimental/net/internet/resolver/ops/lookup.cc execution test
FAIL: experimental/net/internet/resolver/ops/reverse.cc execution test
=== libstdc++ Summary ===
# of expected passes 12874
# of unexpected failures 8
# of expected failures 78
# of unsupported tests 389
Compiler version: 9.2.0 (GCC)
Platform: x86_64-pc-linux-gnu
configure flags: --prefix=/usr --enable-languages=c,c++ --disable-multilib --disable-bootstrap --with-system-zlib
EOF
Mail -s "Results for 9.2.0 (GCC) testsuite on x86_64-pc-linux-gnu" gcc-testresults@gcc.gnu.org &&
mv /sources/gcc-9.2.0/build/./gcc/testsuite/g++/g++.sum /sources/gcc-9.2.0/build/./gcc/testsuite/g++/g++.sum.sent &&
mv /sources/gcc-9.2.0/build/./gcc/testsuite/gcc/gcc.sum /sources/gcc-9.2.0/build/./gcc/testsuite/gcc/gcc.sum.sent &&
mv /sources/gcc-9.2.0/build/./x86_64-pc-linux-gnu/libatomic/testsuite/libatomic.sum /sources/gcc-9.2.0/build/./x86_64-pc-linux-gnu/libatomic/testsuite/libatomic.sum.sent &&
mv /sources/gcc-9.2.0/build/./x86_64-pc-linux-gnu/libgomp/testsuite/libgomp.sum /sources/gcc-9.2.0/build/./x86_64-pc-linux-gnu/libgomp/testsuite/libgomp.sum.sent &&
mv /sources/gcc-9.2.0/build/./x86_64-pc-linux-gnu/libitm/testsuite/libitm.sum /sources/gcc-9.2.0/build/./x86_64-pc-linux-gnu/libitm/testsuite/libitm.sum.sent &&
mv /sources/gcc-9.2.0/build/./x86_64-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum /sources/gcc-9.2.0/build/./x86_64-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum.sent &&
mv /sources/gcc-9.2.0/build/./gcc/testsuite/g++/g++.log /sources/gcc-9.2.0/build/./gcc/testsuite/g++/g++.log.sent &&
mv /sources/gcc-9.2.0/build/./gcc/testsuite/gcc/gcc.log /sources/gcc-9.2.0/build/./gcc/testsuite/gcc/gcc.log.sent &&
mv /sources/gcc-9.2.0/build/./x86_64-pc-linux-gnu/libatomic/testsuite/libatomic.log /sources/gcc-9.2.0/build/./x86_64-pc-linux-gnu/libatomic/testsuite/libatomic.log.sent &&
mv /sources/gcc-9.2.0/build/./x86_64-pc-linux-gnu/libgomp/testsuite/libgomp.log /sources/gcc-9.2.0/build/./x86_64-pc-linux-gnu/libgomp/testsuite/libgomp.log.sent &&
mv /sources/gcc-9.2.0/build/./x86_64-pc-linux-gnu/libitm/testsuite/libitm.log /sources/gcc-9.2.0/build/./x86_64-pc-linux-gnu/libitm/testsuite/libitm.log.sent &&
mv /sources/gcc-9.2.0/build/./x86_64-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.log /sources/gcc-9.2.0/build/./x86_64-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.log.sent &&
true
UNSUPPORTED: elf/tst-audit10
UNSUPPORTED: elf/tst-avx512
UNSUPPORTED: elf/tst-ldconfig-bad-aux-cache
UNSUPPORTED: elf/tst-pldd
XPASS: elf/tst-protected1a
XPASS: elf/tst-protected1b
FAIL: inet/tst-idna_name_classify
UNSUPPORTED: math/test-double-libmvec-alias-avx512
UNSUPPORTED: math/test-double-libmvec-alias-avx512-main
UNSUPPORTED: math/test-double-libmvec-sincos-avx512
UNSUPPORTED: math/test-float-libmvec-alias-avx512
UNSUPPORTED: math/test-float-libmvec-alias-avx512-main
UNSUPPORTED: math/test-float-libmvec-sincosf-avx512
UNSUPPORTED: misc/tst-pkey
FAIL: misc/tst-ttyname
UNSUPPORTED: nptl/test-cond-printers
UNSUPPORTED: nptl/test-condattr-printers
UNSUPPORTED: nptl/test-mutex-printers
UNSUPPORTED: nptl/test-mutexattr-printers
UNSUPPORTED: nptl/test-rwlock-printers
UNSUPPORTED: nptl/test-rwlockattr-printers
FAIL: nptl/tst-mutex10
UNSUPPORTED: nss/tst-nss-db-endgrent
UNSUPPORTED: nss/tst-nss-db-endpwent
UNSUPPORTED: nss/tst-nss-files-hosts-long
UNSUPPORTED: nss/tst-nss-test3
UNSUPPORTED: resolv/tst-resolv-ai_idn
UNSUPPORTED: resolv/tst-resolv-ai_idn-latin1
FAIL: sunrpc/tst-udp-timeout
Summary of test results:
4 FAIL
6069 PASS
23 UNSUPPORTED
17 XFAIL
2 XPASS
make[1]: *** [Makefile:412: tests] Error 1
make[1]: Leaving directory '/sources/glibc-2.30'
make: *** [Makefile:9: check] Error 2
121 make -j 4
122 case $(uname -m) in i?86) ln -sfnv $PWD/elf/ld-linux.so.2 /lib ;; x86_64) ln -sfnv $PWD/elf/ld-linux-x86-64.so.2 /lib ;; esac
123 make check
124 history
@laixintao
Copy link
Author

binutils fail

(lfs chroot) root:/sources/binutils-2.32/build# make -k check > check.log
WARNING: Couldn't find the global config file.
/bin/sh: line 3: cd: ./etc: No such file or directory
make[1]: *** [Makefile:4210: check-etc] Error 1
WARNING: Couldn't find the global config file.
/bin/sh: line 3: cd: ./gold: No such file or directory
make[1]: *** [Makefile:6098: check-gold] Error 1
/bin/sh: line 3: cd: ./gprof: No such file or directory
make[1]: *** [Makefile:6484: check-gprof] Error 1
/bin/sh: line 3: cd: ./ld: No such file or directory
make[1]: *** [Makefile:7511: check-ld] Error 1
make[1]: Target 'check-host' not remade because of errors.
make: *** [Makefile:2174: do-check] Error 2
make: Target 'check' not remade because of errors.

@laixintao
Copy link
Author

binutils fail

(lfs chroot) root:/sources/binutils-2.32/build# make -k check > check.log
WARNING: Couldn't find the global config file.
/bin/sh: line 3: cd: ./etc: No such file or directory
make[1]: *** [Makefile:4210: check-etc] Error 1
WARNING: Couldn't find the global config file.
/bin/sh: line 3: cd: ./gold: No such file or directory
make[1]: *** [Makefile:6098: check-gold] Error 1
/bin/sh: line 3: cd: ./gprof: No such file or directory
make[1]: *** [Makefile:6484: check-gprof] Error 1
/bin/sh: line 3: cd: ./ld: No such file or directory
make[1]: *** [Makefile:7511: check-ld] Error 1
make[1]: Target 'check-host' not remade because of errors.
make: *** [Makefile:2174: do-check] Error 2
make: Target 'check' not remade because of errors.

忘记 make 了。。。

@laixintao
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment