use*_*624 6 linux autoconf arm glibc linux-from-scratch
当我遇到配置Glibc的错误时,我正在从头开始使用Linux(步骤5.7):
checking for sysdeps preconfigure fragments... aarch64 alpha arm configure: error: Old ABI no longer supported
Run Code Online (Sandbox Code Playgroud)
我在用:
../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
Run Code Online (Sandbox Code Playgroud)
直到现在我都没有遇到麻烦.我的$ LFS_TGT = armv6l-lfs-linux-gnueabihf
您应该升级到最新的 glibc 版本。您很可能还没有编译器,因此当 glibc 尝试运行编译测试时,它会失败并假设您正在尝试使用 OABI 工具链。
这是在这里修复的: https://sourceware.org/git/?p =glibc.git;a=commit;h=34d97d87bb1c08e34d08a9d4be24a3b1d53a4ddb
归档时间: |
|
查看次数: |
824 次 |
最近记录: |