From patchwork Sun Dec 15 10:04:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1209901 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="pm/Qta9I"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47bKjy1XnRz9sPT for ; Sun, 15 Dec 2019 21:03:49 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 83C3685FBA; Sun, 15 Dec 2019 10:03:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HP2Rj0BHCUME; Sun, 15 Dec 2019 10:03:42 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4CA0185CFF; Sun, 15 Dec 2019 10:03:42 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 8655D1BF2EA for ; Sun, 15 Dec 2019 10:03:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8283E87EA2 for ; Sun, 15 Dec 2019 10:03:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P2dQDfDylD6R for ; Sun, 15 Dec 2019 10:03:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by hemlock.osuosl.org (Postfix) with ESMTPS id 54D0F87D98 for ; Sun, 15 Dec 2019 10:03:40 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id d16so3539959wre.10 for ; Sun, 15 Dec 2019 02:03:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XbnoT+sca1iG0/yhbnurhjzvkKNMgFguKdqr0zs0DFI=; b=pm/Qta9ICp5ovQqIeSoR/nXCXdUbXmv63mlWsp+wKTD1G7NxMrpXpgwsseYAubZIP4 EXeMwQnCfVDCYimY2dvBdLT8mveHyWDfT31+F7y+CkEPri4FClRLxuweq37GDifJ+MrX CmDVgB85DcnVy57RgcW9ILB39DXUP0Uyu+D6MbDB/W49WVE2gMTP0T7GaYZZTZEL1HLx 83zcbdwOhRJkoJvxHVJkR3Gv1EjX7/m8ZdkhQiDDFTlDJtrTD1FZ3FV1oXTiWOYGJc4M Jzs1SCJvw1iWDLvau32YfxuhT/VbI3xhekVF9cay20Bc7uamyMHlEw7hUncNUEK3Y/BL 8QfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XbnoT+sca1iG0/yhbnurhjzvkKNMgFguKdqr0zs0DFI=; b=hvvPaly8j/G7Yq73qh1kCRj9LDeJ4qhlUq9h2CMr687CividpKxAE4byEFObU7C8Q5 kwqKZJ0Jdx2cjFDm55l47rLr89GwPLfqlIodI9Q7+HpWFqBdotILIgrZaKLCxmQsL1pX yj/qlQmi0QNTCuwNfMBE0u2vE5n84uh2OqlEDr6lRx51QLLx2U13iMpUb4uGleXc7dfw tUTnb8y1/rrEEZMRwXYqA6Jv9dbVSNjydInjHPxwledIztnAqHHH3nKLusgB5Wr/NB48 iI6ud0Zm9BySGRU6lIWcNK6yk/zkoPr1PcYZrZLpWHyLa6aHdsohiH0tjVrPSY+oIlo/ IXLQ== X-Gm-Message-State: APjAAAUJGD/M5h8oO8RI61yoyNltrc1KAT2BEi0e+jY8eMTDBIBZ1OR3 EWVANxJCNSNeT6PPkpis022CGdII X-Google-Smtp-Source: APXvYqxpULLJYNA+unbeHv1l3v1u6dafln08mmRtn8OBQsYUuumVAEFANA/uzBbyrwwj8TVkW4SExg== X-Received: by 2002:a5d:68cf:: with SMTP id p15mr24184929wrw.31.1576404218312; Sun, 15 Dec 2019 02:03:38 -0800 (PST) Received: from kali.home (lfbn-ren-1-602-70.w81-53.abo.wanadoo.fr. [81.53.179.70]) by smtp.gmail.com with ESMTPSA id l17sm17366816wro.77.2019.12.15.02.03.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Dec 2019 02:03:37 -0800 (PST) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sun, 15 Dec 2019 11:04:25 +0100 Message-Id: <20191215100425.3339162-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/boost: boost-thread needs a toolchain without bug 64735 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gwenhael Goavec-Merou , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" boost-thread needs std::current_exception since version 1.71.0 and https://github.com/boostorg/exception/commit/386f5507cb8ec99c03ca535bea4f8bd61e0de910 std::current_exception depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 as a result, gnuradio fails to build on: [ 12%] Building CXX object gnuradio-runtime/lib/pmt/CMakeFiles/gnuradio-pmt.dir/pmt_pool.cc.o In file included from /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:15:0, from /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/exception_ptr.hpp:9, from /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/thread/future.hpp:34, from /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/thread.hpp:24, from /home/test/autobuild/run/instance-2/output-1/build/gnuradio-3.7.13.5/gnuradio-runtime/include/pmt/pmt_pool.h:27, from /home/test/autobuild/run/instance-2/output-1/build/gnuradio-3.7.13.5/gnuradio-runtime/lib/pmt/pmt.cc:31: /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/exception/diagnostic_information.hpp: In function 'std::string boost::current_exception_diagnostic_information(bool)': /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/exception/diagnostic_information.hpp:49:26: error: 'current_exception' is not a member of 'std' else if (auto* p=std::current_exception().__cxa_exception_type()) ^ So add this dependency on boost-thread and gnuradio (the only reverse dependency of boost-thread that does not already depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735) Finally, add this dependency on gqrx as it is a reverse dependency of gnuradio Fixes: - http://autobuild.buildroot.org/results/c384205cf50929c320d90b620f2390837721d9f9 - http://autobuild.buildroot.org/results/47440354b336b943b74b72fa303b079dc962bfd0 Signed-off-by: Fabrice Fontaine --- package/boost/Config.in | 4 ++++ package/gnuradio/Config.in | 4 ++++ package/gqrx/Config.in | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/package/boost/Config.in b/package/boost/Config.in index 392d7424fb..1a48eae807 100644 --- a/package/boost/Config.in +++ b/package/boost/Config.in @@ -304,12 +304,16 @@ config BR2_PACKAGE_BOOST_TEST config BR2_PACKAGE_BOOST_THREAD bool "boost-thread" + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::current_exception select BR2_PACKAGE_BOOST_ATOMIC if !BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS select BR2_PACKAGE_BOOST_CHRONO select BR2_PACKAGE_BOOST_SYSTEM help Portable C++ multi-threading. C++11, C++14. +comment "boost-thread needs a toolchain not affected by GCC bug 64735" + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + config BR2_PACKAGE_BOOST_TIMER bool "boost-timer" select BR2_PACKAGE_BOOST_CHRONO diff --git a/package/gnuradio/Config.in b/package/gnuradio/Config.in index 80f6a1c535..442b86c692 100644 --- a/package/gnuradio/Config.in +++ b/package/gnuradio/Config.in @@ -4,6 +4,9 @@ comment "gnuradio needs a toolchain w/ C++, NPTL, wchar, dynamic library" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS +comment "gnuradio needs a toolchain not affected by GCC bug 64735" + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + config BR2_PACKAGE_GNURADIO bool "gnuradio" depends on BR2_INSTALL_LIBSTDCPP @@ -12,6 +15,7 @@ config BR2_PACKAGE_GNURADIO depends on BR2_USE_MMU # use fork() depends on BR2_USE_WCHAR # boost depends on !BR2_PACKAGE_PYTHON3 + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread select BR2_PACKAGE_BOOST select BR2_PACKAGE_BOOST_DATE_TIME select BR2_PACKAGE_BOOST_FILESYSTEM diff --git a/package/gqrx/Config.in b/package/gqrx/Config.in index b0d7e7b9f3..990d594c6a 100644 --- a/package/gqrx/Config.in +++ b/package/gqrx/Config.in @@ -8,6 +8,9 @@ comment "gqrx needs a toolchain w/ C++, threads, wchar, dynamic library" comment "gqrx needs qt5" depends on !BR2_PACKAGE_QT5 +comment "gqrx needs a toolchain not affected by GCC bug 64735" + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + config BR2_PACKAGE_GQRX bool "gqrx" depends on BR2_USE_MMU # gnuradio @@ -18,6 +21,7 @@ config BR2_PACKAGE_GQRX depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC depends on BR2_PACKAGE_QT5 depends on !BR2_PACKAGE_PYTHON3 + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # gnuradio select BR2_PACKAGE_BOOST select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS select BR2_PACKAGE_BOOST_SYSTEM