我在LFS书籍的6.9节中,我的主机操作系统是Ubuntu 18.04,运行export default new Router({
mode: 'history',
base: process.env.BASE_URL,
routes: [{
path: 'login'
beforeEnter: (to, from, next) => {
console.log(to, from) // the routes
if (User.loggedIn()) {
next(from.fullPath) // or maybe `from.path`
} else {
next()
}
},
}]
})
时出现以下错误:
UNSUPPORTED: elf/tst-audit10 UNSUPPORTED: elf/tst-avx512 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 UNSUPPORTED: posix/tst-sysconf-empty-chroot UNSUPPORTED: resolv/tst-resolv-ai_idn UNSUPPORTED: resolv/tst-resolv-ai_idn-latin1 FAIL: stdlib/test-bz22786 Summary of test results: 3 FAIL 5836 PASS 18 UNSUPPORTED 17 XFAIL 2 XPASS make[1]: *** [Makefile:347: tests] Error 1 make[1]: Leaving directory '/sources/glibc-2.28' make: *** [Makefile:9: check] Error 2
我想知道错误 stdlib / test-bz22786 是否是无害的消息?
答案 0 :(得分:1)
stdlib/test-bz22786
的旧版本需要超过2 GiB的RAM才能成功完成。如果您的系统没有那么多的RAM,而是使用交换空间,则测试将执行得非常慢,最终会超时,从而导致测试失败。
此问题已通过向后移植this upstream commit来固定在release/2.28/master
上游分支上,该a commit broke malloc
使用别名映射进行内存压缩。反向端口需要一些其他补丁,这些补丁也在分支中。跟踪发行分支通常是一个好主意(除了{{3}}这周早些时候,所以现在也许不是个开始的好时机。)
感谢您关注glibc测试结果。