构建 glibc 2.28 时 make check 失败

构建 glibc 2.28 时 make check 失败

make check当我运行 glibc 2.28时得到以下结果:

UNSUPPORTED: elf/tst-audit10
UNSUPPORTED: elf/tst-avx512
XPASS: elf/tst-protected1a
XPASS: elf/tst-protected1b
FAIL: intl/tst-gettext
FAIL: io/ftwtest
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
UNSUPPORTED: nptl/test-condattr-printers
UNSUPPORTED: nptl/test-mutexattr-printers
UNSUPPORTED: nptl/test-rwlockattr-printers
FAIL: nptl/tst-umask1
FAIL: posix/globtest
FAIL: posix/tst-chmod
FAIL: posix/tst-execl2
FAIL: posix/tst-execle2
FAIL: posix/tst-execlp2
FAIL: posix/tst-execv2
FAIL: posix/tst-execve2
FAIL: posix/tst-execvp2
FAIL: posix/tst-execvpe2
FAIL: posix/tst-spawn4-compat
FAIL: resolv/tst-resolv-ai_idn
FAIL: resolv/tst-resolv-ai_idn-latin1
Summary of test results:
     15 FAIL
   5904 PASS
     12 UNSUPPORTED
     17 XFAIL
      2 XPASS
Makefile:345: recipe for target 'tests' failed
make[1]: *** [tests] Error 1
make[1]: Leaving directory '/media/user123/3E2AC8A02AC85715/Linux/GLIBC/glibc-2.28'
Makefile:9: recipe for target 'check' failed
make: *** [check] Error 2

以下是configure详细信息:

../glibc-2.28/configure CC="/usr/local/bin/gcc -march=haswell -mtune=intel" CFLAGS="-O3 -fno-stack-protector -U_FORTIFY_SOURCE" --prefix=/usr --with-headers=/home/user123/linux-headers/include --disable-profile --disable-werror --with-pkgversion=2.28 --enable-add-ons

有什么建议可以解决此问题吗?它是使用 GCC 9.0.0 (主干) 编译的,但编译时没有出现任何错误。

相关内容