From 54cb3b506de44fb8389832a1612b55d179b2cfd4 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Tue, 8 Mar 2022 22:12:05 +0100 Subject: [PATCH] package/boinc: disable fcgi libfcgi raises the following build failure with glibc 2.34 and gcc 11.2.0: In file included from /home/peko/autobuild/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:488, from /home/peko/autobuild/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33, from /home/peko/autobuild/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdio.h:27, from /home/peko/autobuild/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/fcgi_stdio.h:18, from boinc_fcgi.h:19, from coproc.cpp:22: /home/peko/autobuild/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/wchar.h:582:24: error: 'malloc' attribute argument 1 is ambiguous 582 | __attribute_malloc__ __attr_dealloc_fclose; | ^~~~~~~~~~~~~~~~~~~~~ RawTherapee has the same kind of issue: - https://github.com/Beep6581/RawTherapee/issues/6324 - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101747 Fixes: - http://autobuild.buildroot.org/results/232dae62570ed7927a10864d83dccaf9b6214500 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/boinc/boinc.mk | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/package/boinc/boinc.mk b/package/boinc/boinc.mk index 7f78c427ea..0d992f136c 100644 --- a/package/boinc/boinc.mk +++ b/package/boinc/boinc.mk @@ -26,6 +26,7 @@ BOINC_CONF_ENV = \ BOINC_CONF_OPTS = \ --disable-apps \ --disable-boinczip \ + --disable-fcgi \ --disable-manager \ --disable-server \ --enable-client \ @@ -38,13 +39,6 @@ ifeq ($(BR2_PACKAGE_FREETYPE),y) BOINC_DEPENDENCIES += freetype endif -ifeq ($(BR2_PACKAGE_LIBFCGI),y) -BOINC_DEPENDENCIES += libfcgi -BOINC_CONF_OPTS += --enable-fcgi -else -BOINC_CONF_OPTS += --disable-fcgi -endif - BOINC_MAKE_OPTS = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" # Remove boinc-client because it is incompatible with buildroot