| Summary: | sys-libs/glibc-2.31-r5: fails to compile: *** These critical programs are missing or too old: compiler (CC=x86_64-pc-linux-gnu-clang) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
| Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
|
Description
Agostino Sarubbo
2020-07-11 19:34:21 UTC
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.
|