From patchwork Wed Mar 17 16:34:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 1454853 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=2605:bc80:3010::133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=aruba.it header.i=@aruba.it header.a=rsa-sha256 header.s=a1 header.b=QYTIY3iu; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4F0wk745z1z9sVt for ; Thu, 18 Mar 2021 03:35:10 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id B7F0C43049; Wed, 17 Mar 2021 16:35:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T9ZHTC75oRtE; Wed, 17 Mar 2021 16:35:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 0775342D27; Wed, 17 Mar 2021 16:35:06 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 7648C1C115D for ; Wed, 17 Mar 2021 16:35:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 6DB044ECEF for ; Wed, 17 Mar 2021 16:35:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=aruba.it Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X9NlY9pWchAX for ; Wed, 17 Mar 2021 16:35:04 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from smtpcmd03117.aruba.it (smtpcmd03117.aruba.it [62.149.158.117]) by smtp4.osuosl.org (Postfix) with ESMTP id DB9934ECD6 for ; Wed, 17 Mar 2021 16:35:03 +0000 (UTC) Received: from ubuntu.localdomain ([146.241.168.111]) by Aruba Outgoing Smtp with ESMTPSA id MZ8Ql8sHj1iGDMZ8Qlyi4L; Wed, 17 Mar 2021 17:35:02 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1615998902; bh=5LBY+efP1zUs0nBGzml7oKItD2vZTvPXGFBvfX6ByQw=; h=From:To:Subject:Date:MIME-Version; b=QYTIY3iuYniPXYpFE4XNxqb6TDQsdzCdQtnD03zybDrfVrX0UVN7A2LakHg2C/M5I s3Li4Mto4Qv6Ik3+ygxH7YAKY1kayhPnyN6cnpl+K3Q6bSmGFoA+lSgemiaP142nJV swugLcLINaBy9sk4US5svh4LjX+n/v1knKmHH8irsPjbeEA++Gwmgac5ttcyDy+GOK jelX39Jzp01XJzZgcWoQpncytKuwQVlR1QJs94zn05kbmAGMGFneXhL16b5OziwlB1 T1XlxX2sO0qrjWCoe6sTYjuVBJqEyWt9apKs5kF0M5/+5rH3oNwLphUJmgO2X8+Nqi 0hUBYuc78bNXg== From: Giulio Benetti To: buildroot@buildroot.org Date: Wed, 17 Mar 2021 17:34:58 +0100 Message-Id: <20210317163459.1916948-1-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210314233231.351fce1c@windsurf.home> References: <20210314233231.351fce1c@windsurf.home> MIME-Version: 1.0 X-CMAE-Envelope: MS4wfCgkAYFCy+Qre9BqcyX/ShVJXkP3Y7bwzNNxvVC6RGCIb8GDVZhLfKXXsMdXhT65FelNWE6iIKhKSjlOOKfTsyhmkbBbBSpkPESQga6SndBmzBYscVpK KeQM7njq1bPczCwUn5JlEK3tREuit8ikrOv8SGy2CAWNatwdpYL9ggNcdwWU3CZOgKFSwqxPCIXmWSBRSUF1XlBdu1NlzYxfoBQeWzduP/e+VXZonO5SXPQy PvJSc6TwDzLykSIpBM1lkNGE1Jkdwq1sgfKzyUZ+HcIR/0npNaufmIwwRBFtALTLlvyq2/nCSg0rVkY2SAkfFMwy+pqevL2E5C5zvfiaMeSzbq+PJaOmWdsp gfUNU8iWHK9VAtLCTv0T6YT4uOBkLO2qIoOfrI39fYkyEoD8/Vo= Subject: [Buildroot] [PATCH 1/2] toolchain: introduce BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 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: Giulio Benetti , Romain Naour , Thomas De Schampheleire , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" On Nios II binutils it still present ld bug 27597 leading to a package libgeos to fail building: http://autobuild.buildroot.net/results/a05fdf1958f93a206c5c66c7f636b6650683626d/http://autobuild.buildroot.net/results/c05/c053b9e191b31f0b1f8f8c902b602e187f714dc0/ The bug was already reported and it's been updated: https://sourceware.org/bugzilla/show_bug.cgi?id=27597 Signed-off-by: Giulio Benetti --- toolchain/Config.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/toolchain/Config.in b/toolchain/Config.in index 5c76bdf4ea..87f4d486a3 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -83,6 +83,12 @@ config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27100 bool default y if BR2_or1k && !BR2_BINUTILS_VERSION_2_36_X +# https://sourceware.org/bugzilla/show_bug.cgi?id=27597 +# Affect toolchains built with binutils 2.36.1, still not fixed. +config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 + bool + default y if BR2_nios2 + # Atomic types can be: # - never lock-free # - sometimes lock-free From patchwork Wed Mar 17 16:34:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 1454854 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.136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=aruba.it header.i=@aruba.it header.a=rsa-sha256 header.s=a1 header.b=A/43vWHR; dkim-atps=neutral Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4F0wkL7112z9sVt for ; Thu, 18 Mar 2021 03:35:22 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 7AF6E6063D; Wed, 17 Mar 2021 16:35:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7OrP_wWFhyJT; Wed, 17 Mar 2021 16:35:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id C8F176F969; Wed, 17 Mar 2021 16:35:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 1A2F01BF9B2 for ; Wed, 17 Mar 2021 16:35:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 4D0364302A for ; Wed, 17 Mar 2021 16:35:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp2.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=aruba.it Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zRwnsMXIok3L for ; Wed, 17 Mar 2021 16:35:04 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from smtpcmd03117.aruba.it (smtpcmd03117.aruba.it [62.149.158.117]) by smtp2.osuosl.org (Postfix) with ESMTP id DAA7842FDF for ; Wed, 17 Mar 2021 16:35:03 +0000 (UTC) Received: from ubuntu.localdomain ([146.241.168.111]) by Aruba Outgoing Smtp with ESMTPSA id MZ8Ql8sHj1iGDMZ8Qlyi4b; Wed, 17 Mar 2021 17:35:02 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1615998902; bh=hA27oKjAlGtL5Q08/rqwQsPKDsPRkvUBcIx60IeJNPk=; h=From:To:Subject:Date:MIME-Version; b=A/43vWHRRE4RIWG8WqSz2gKDUw+ewulSuAD13SElAeW96bQnumQYaPewkabkde6gO RYFIqBDDpXYCg+3QBwbsU88pjeePaPxfrfHG1Lydyk0oou30Lej8DmG8tkuAG/awag dPsq9BAwvGgNcmgZn0PNe1emIuL4vmsUXf7xoMOjJErwuggVL+O0S0HPbCi+4G5hAS g3ykMQpA9mnSacwJikDGMZ+4Mk1P3ZBfYRBuu6NjiITVp+p/xhrmCXS9u+dtsLzs81 WKJs3yfIGnAP3JP1huCgDGqlkspBR2IAD/bKsliO8H/Cr7E/TLLs8U7027zdNTDQ6P aKMjcjOSojOeA== From: Giulio Benetti To: buildroot@buildroot.org Date: Wed, 17 Mar 2021 17:34:59 +0100 Message-Id: <20210317163459.1916948-2-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210317163459.1916948-1-giulio.benetti@benettiengineering.com> References: <20210314233231.351fce1c@windsurf.home> <20210317163459.1916948-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 X-CMAE-Envelope: MS4wfCgkAYFCy+Qre9BqcyX/ShVJXkP3Y7bwzNNxvVC6RGCIb8GDVZhLfKXXsMdXhT65FelNWE6iIKhKSjlOOKfTsyhmkbBbBSpkPESQga6SndBmzBYscVpK KeQM7njq1bPczCwUn5JlEK3tREuit8ikrOv8SGy2CAWNatwdpYL9ggNcdwWU3CZOgKFSwqxPCIXmWSBRSUF1XlBdu1NlzYxfoBQeWzduP/e+VXZonO5SXPQy PvJSc6TwDzLykSIpBM1lkNGE1Jkdwq1sgfKzyUZ+HcIR/0npNaufmIwwRBFtALTLlvyq2/nCSg0rVkY2SAkfFMwy+pqevL2E5C5zvfiaMeSzbq+PJaOmWdsp gfUNU8iWHK9VAtLCTv0T6YT4uOBkLO2qIoOfrI39fYkyEoD8/Vo= Subject: [Buildroot] [PATCH 2/2] package/libgeos: use specific bug instead of BR2_nios2 to disable package 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: Giulio Benetti , Romain Naour , Thomas De Schampheleire , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Let's use the _BUG_ form for disabling this package instead of BR2_nios2 architecture as we already use it for other packages. Signed-off-by: Giulio Benetti --- package/libgeos/Config.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package/libgeos/Config.in b/package/libgeos/Config.in index bbcafe7740..8759d2011e 100644 --- a/package/libgeos/Config.in +++ b/package/libgeos/Config.in @@ -2,7 +2,7 @@ config BR2_PACKAGE_LIBGEOS bool "libgeos" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR - depends on !BR2_nios2 + depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 help GEOS (Geometry Engine - Open Source) is a C++ port of the @@ -14,5 +14,6 @@ config BR2_PACKAGE_LIBGEOS https://trac.osgeo.org/geos comment "libgeos needs a toolchain w/ C++, wchar" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR - depends on !BR2_nios2 || !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 || \ + !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464