Glibc configuration error

I work though Linux from scratch book when I encountered a Glibc configuration error (step 5.7):

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

I use:

 ../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 

I have not had a problem so far. My $ LFS_TGT = armv6l-lfs-linux-gnueabihf

Many thanks for your help.

+6
source share
1 answer

you should upgrade to the latest version of glibc. most likely you donโ€™t have a compiler yet, so when glibc tries to run a compilation test, it fails and assumes that you are trying to use the OABI toolchain.

this has been fixed here: https://sourceware.org/git/?p=glibc.git;a=commit;h=34d97d87bb1c08e34d08a9d4be24a3b1d53a4ddb

+1
source

Source: https://habr.com/ru/post/977578/


All Articles