https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-libs/glibc fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue isstrictly related to the LLD linker, please block bug 731004.
Created attachment 648950 [details] build.log build log and emerge --info
The error is: """ configure: error: *** These critical programs are missing or too old: compiler """ Which comes from: """ AC_CACHE_CHECK([if $CC is sufficient to build libc], libc_cv_compiler_ok, [ AC_TRY_COMPILE([], [ #if !defined __GNUC__ || __GNUC__ < 6 || (__GNUC__ == 6 && __GNUC_MINOR__ < 2) #error insufficient compiler #endif], [libc_cv_compiler_ok=yes], [libc_cv_compiler_ok=no])]) AS_IF([test $libc_cv_compiler_ok != yes], [critic_missing="$critic_missing compiler"]) """ glibc does not support clang as a main compiler.
> > glibc does not support clang as a main compiler. Exactly.