linux – Glibc配置错误

前端之家收集整理的这篇文章主要介绍了linux – Glibc配置错误前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

当我遇到配置Glibc的错误时,我正在从头开始使用Linux(步骤5.7):

checking for sysdeps preconfigure fragments... aarch64 alpha arm configure: error: Old ABI no longer supported

我在用:

../glibc-2.20/configure                             \
  --prefix=/tools                               \
  --host=$LFS_TGT                               \
  --build=$(../glibc-2.20/scripts/config.guess) \
  --disable-profile                             \
  --enable-kernel=2.6.32                        \
  --with-headers=/tools/include                 \
  libc_cv_forced_unwind=yes                     \
  libc_cv_ctors_header=yes                      \
  libc_cv_c_cleanup=yes

直到现在我都没有遇到麻烦.我的$LFS_TGT = armv6l-lfs-linux-gnueabihf

最佳答案
你应该升级到最新的glibc版本.很可能你还没有编译器,所以当glibc尝试运行编译测试时,它会失败并假设你正在尝试使用OABI工具链.

这是在这里修复的:
https://sourceware.org/git/?p=glibc.git;a=commit;h=34d97d87bb1c08e34d08a9d4be24a3b1d53a4ddb

原文链接:https://www.f2er.com/linux/440955.html

猜你在找的Linux相关文章