generic "add LLVM_COMPAT 20 everywhere", untested

This commit is contained in:
TheK0tYaRa 2025-03-06 12:20:46 +02:00
parent 94cdac5f27
commit 2a34c396c2
917 changed files with 85031 additions and 1065 deletions

View file

@ -0,0 +1,21 @@
Do not attempt to link against libanl on musl.
Bug: https://bugs.gentoo.org/929907
Bug: https://github.com/falcosecurity/libs/issues/1948
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
--- libs-0.17.2/userspace/libsinsp/CMakeLists.txt~ 2024-06-14 11:38:50.000000000 +0200
+++ libs-0.17.2/userspace/libsinsp/CMakeLists.txt 2024-07-05 00:18:03.326406540 +0200
@@ -258,8 +258,8 @@ if(NOT WIN32)
)
if(NOT MUSL_OPTIMIZED_BUILD)
- target_link_libraries(sinsp INTERFACE rt anl)
- list(APPEND SINSP_PKGCONFIG_LIBRARIES rt anl)
+ target_link_libraries(sinsp INTERFACE rt)
+ list(APPEND SINSP_PKGCONFIG_LIBRARIES rt)
endif()
else()

View file

@ -0,0 +1,32 @@
Sanitize the scap loader script to not attempt driver downloads or compilation
by default, which would not work anyway as sysdig does not host prebuilt modules
for Gentoo.
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
--- sysdig-0.38.0/scripts/scap-driver-loader.in~ 2024-06-17 11:14:55.000000000 +0200
+++ sysdig-0.38.0/scripts/scap-driver-loader.in 2024-06-17 11:14:55.000000000 +0200
@@ -662,8 +662,8 @@ print_usage() {
echo "Options:"
echo " --help show brief help"
echo " --clean try to remove an already present driver installation"
- echo " --compile try to compile the driver locally (default true)"
- echo " --download try to download a prebuilt driver (default true)"
+ echo " --compile try to compile the driver locally (default false)"
+ echo " --download try to download a prebuilt driver (default false)"
echo " --source-only skip execution and allow sourcing in another script"
echo ""
echo "Environment variables:"
@@ -770,11 +770,6 @@ while test $# -gt 0; do
esac
done
-if [ -z "$has_opts" ]; then
- ENABLE_COMPILE="yes"
- ENABLE_DOWNLOAD="yes"
-fi
-
if [ -z "$source_only" ]; then
echo "* Running scap-driver-loader for: driver version=${DRIVER_VERSION}, arch=${ARCH}, kernel release=${KERNEL_RELEASE}, kernel version=${KERNEL_VERSION}"