您的位置 首页 Linux

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

关于作者: dawei

【声明】:金华站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。

热门文章