【问题标题】:Glibc Configuration ErrorGlibc 配置错误
【发布时间】:2014-12-28 12:24:09
【问题描述】:

当我在配置 Glibc(步骤 5.7)时遇到错误时,我正在阅读 Linux 从零开始:

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

【问题讨论】:

    标签: linux arm glibc autoconf linux-from-scratch


    【解决方案1】:

    您应该升级到最新的 glibc 版本。很可能您还没有编译器,因此当 glibc 尝试运行编译测试时,它会失败并假定您正在尝试使用 OABI 工具链。

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

    【讨论】:

      猜你喜欢
      • 2017-02-11
      • 2013-10-17
      • 2017-05-26
      • 1970-01-01
      • 2015-07-20
      • 1970-01-01
      • 2011-01-15
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多