mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-29 13:31:43 -09:00
When glibc was bumped to version 2.39 in commit
b5680f53d6 it removed the deprecated
libcrypt support.
But compiler-rt package still use crypt.h header and crypt() function
in the sanitizer code.
Use libxcrypt unconditionally since compiler-rt itself already depends
on glibc based toolchain.
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/6703222513
Signed-off-by: Romain Naour <romain.naour@smile.fr>
17 lines
580 B
Plaintext
17 lines
580 B
Plaintext
config BR2_PACKAGE_COMPILER_RT
|
|
bool "compiler-rt"
|
|
depends on BR2_PACKAGE_LLVM
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC # asan lib requires
|
|
depends on BR2_HOST_GCC_AT_LEAST_7 # host-clang
|
|
select BR2_PACKAGE_LIBXCRYPT
|
|
help
|
|
A collection of runtime libraries primarily used by clang and
|
|
llvm to provide builtins, sanitizer runtimes, and profiling
|
|
at runtime.
|
|
|
|
https://compiler-rt.llvm.org/
|
|
|
|
comment "compiler-rt requires llvm to be enabled, a glibc toolchain, host gcc >= 7"
|
|
depends on !BR2_PACKAGE_LLVM
|
|
depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_HOST_GCC_AT_LEAST_7
|