Message ID | 20210503111350.2933319-6-giulio.benetti@benettiengineering.com |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <buildroot-bounces@busybox.net> 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=smtp4.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=<UNKNOWN>) 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=lWYfzxO3; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 4FYgXJ0mN3z9sCD for <incoming-buildroot@patchwork.ozlabs.org>; Mon, 3 May 2021 21:21:19 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id B0096406AB; Mon, 3 May 2021 11:21:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org 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 YUrEn8FFMZzA; Mon, 3 May 2021 11:21:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id B8B9F406A8; Mon, 3 May 2021 11:21:14 +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 EE86B1BF995 for <buildroot@lists.busybox.net>; Mon, 3 May 2021 11:20:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id DBD924069F for <buildroot@lists.busybox.net>; Mon, 3 May 2021 11:20:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org 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 HdvUHIEHdy7o for <buildroot@lists.busybox.net>; Mon, 3 May 2021 11:20:59 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from smtpcmd12131.aruba.it (smtpcmd12131.aruba.it [62.149.156.131]) by smtp4.osuosl.org (Postfix) with ESMTP id E0B1E4069E for <buildroot@buildroot.org>; Mon, 3 May 2021 11:20:58 +0000 (UTC) Received: from ubuntu.localdomain ([146.241.181.225]) by Aruba Outgoing Smtp with ESMTPSA id dWWNlxy2Dik8wdWWSleGYj; Mon, 03 May 2021 13:13:57 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1620040437; bh=po6ILQ1RHrH1bOg03EgY0lNSAJruyJJeS7btX7rPEEs=; h=From:To:Subject:Date:MIME-Version; b=lWYfzxO3Ji/6n+a7Wh+rIMdv3geEh5tLa5V2P1hPSWwXk0BT5tdnHcDQYFsso28tO MSDDiy9Z7VyHSRG/Spg6Q9sn3pb5LmsAG5f6IYiI+qLVSjQ7RuFl1fATPq1/aCQw/m SmQarQCLgtzms7ZCxSzyYmgdBSQ99WVWwD7fQpi1GqVEDt7ITTKy0BfLIDIUXBxltP UmJ2cQoLk+/uKlPmpQuxSWvLJwIhKCm8Cd0S095EkVLU+w0gaoABEMs0xhggT4M1zL aiUCByDeUeNXLj/CQogYFg+q5LKlo5ZHK2w8oABofUBFTKu+s2sCHKjCmt3GgvkNvx X6gSmi4MUpIhw== From: Giulio Benetti <giulio.benetti@benettiengineering.com> To: buildroot@buildroot.org Date: Mon, 3 May 2021 13:13:46 +0200 Message-Id: <20210503111350.2933319-6-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210503111350.2933319-1-giulio.benetti@benettiengineering.com> References: <20210503111350.2933319-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 X-CMAE-Envelope: MS4wfA8gUvlEK0c8qOrzIsTbYXE1V3H67wFg0o26RlL+NyHdMBAdjj8mjUSL40StKgZF/3z56kf7DHkn6egWJIXhUhg0snwTjiccCVPbDbEVvD6+s/Jl1Qj+ UQ31NgWOf+iXOMzwGvXoGSMIS0iipotUYcZCrblKN/AtIqYtTwhXAxZlLbYYLifoHgNLn/NT3xCY0L1oDlMWJ1f5JBM6l76yzJ6SuJ9+J46Eum5OfcD8unFb sGriruPID0B0JZb5Zgj8DjRIPv8DRbfHVLo0Eaij1uRP08oKwGUBXg897KnHIWzX9nhqy2Yei6hm3YjsHSDKQ+x4/gQo5Ad5mMOqoSnjbvGjY7plv4h8WPxB 8yF7VPX/rHGJUPhDzyify3GHUmebIKdKn8SXKdzjjMjkINsqug1VMEwsfTAKH709H4PF0aEw0Gam/taRY8NA2g9neyms95Bjr1CD6rQ4Tx89AQnOvIaLBRvK qvIFH4KW7NqPK5r+Z0fSWbVBldDWCt4Ve5KUsg== Subject: [Buildroot] [PATCH 5/9] package/protobuf: fix build failure due to missing -mcmodel=large X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> Cc: Matt Weber <matthew.weber@rockwellcollins.com>, Michael Nosthoff <buildroot@heine.tech>, Maxim Kochetkov <fido_max@inbox.ru>, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, Romain Naour <romain.naour@gmail.com>, Giulio Benetti <giulio.benetti@benettiengineering.com>, Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
Series |
Fix binutils bug 21464 and remove it
|
expand
|
diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk index ea75480038..d6b3557020 100644 --- a/package/protobuf/protobuf.mk +++ b/package/protobuf/protobuf.mk @@ -24,6 +24,10 @@ ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) PROTOBUF_CXXFLAGS += -O0 endif +ifeq ($(BR2_or1k),y) +PROTOBUF_CXXFLAGS += -mcmodel=large +endif + PROTOBUF_CONF_ENV = CXXFLAGS="$(PROTOBUF_CXXFLAGS)" ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
When building protobuf for or1k -mcmodel=large is needed to link, so let's add that gcc option in case we're building for or1k. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> --- package/protobuf/protobuf.mk | 4 ++++ 1 file changed, 4 insertions(+)