From f72c3292dcfeb04813803af4859a8be489dbdee5 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Sat, 2 Dec 2023 21:18:35 -0700 Subject: [PATCH] package/google-breakpad: disable uclibc support The google-breakpad package uses stab.h which is not included in uClibc, causing the following build error: src/common/stabs_reader.cc:37:10: fatal error: stab.h: No such file or directory 37 | #include | ^~~~~~~~ compilation terminated. Fixes: http://autobuild.buildroot.net/results/bba513b7c63a24a83805d2b989a9b95e5fe08e82/ Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni (cherry picked from commit c20334d35cebed3f28d92734fd6d070bfb936e68) Signed-off-by: Peter Korsgaard --- Config.in | 2 +- package/google-breakpad/Config.in | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Config.in b/Config.in index 27f5deb16a..554b4062eb 100644 --- a/Config.in +++ b/Config.in @@ -589,7 +589,7 @@ config BR2_GOOGLE_BREAKPAD_ENABLE depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 depends on BR2_USE_WCHAR depends on BR2_TOOLCHAIN_HAS_THREADS - depends on (BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC) + depends on BR2_TOOLCHAIN_USES_GLIBC depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS select BR2_PACKAGE_GOOGLE_BREAKPAD diff --git a/package/google-breakpad/Config.in b/package/google-breakpad/Config.in index 4320ad64aa..49d0bc06de 100644 --- a/package/google-breakpad/Config.in +++ b/package/google-breakpad/Config.in @@ -9,7 +9,7 @@ config BR2_PACKAGE_GOOGLE_BREAKPAD depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 depends on BR2_USE_WCHAR depends on BR2_TOOLCHAIN_HAS_THREADS - depends on (BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC) + depends on BR2_TOOLCHAIN_USES_GLIBC depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS select BR2_PACKAGE_LINUX_SYSCALL_SUPPORT @@ -34,12 +34,12 @@ config BR2_PACKAGE_GOOGLE_BREAKPAD https://chromium.googlesource.com/breakpad/breakpad -comment "google-breakpad requires a glibc or uClibc toolchain w/ wchar, thread, C++, gcc >= 4.8" +comment "google-breakpad requires a glibc toolchain w/ wchar, thread, C++, gcc >= 4.8" depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ !BR2_TOOLCHAIN_HAS_THREADS || \ - !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC) || \ + !BR2_TOOLCHAIN_USES_GLIBC || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 if BR2_PACKAGE_GOOGLE_BREAKPAD