From patchwork Sat Oct 3 09:19:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1376222 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=silver.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.a=rsa-sha256 header.s=20161025 header.b=Tn5eHeOH; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4C3LtQ0rVCz9sSf for ; Sat, 3 Oct 2020 19:20:14 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6CE542002E; Sat, 3 Oct 2020 09:20:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Eh7Ay-I3Hccs; Sat, 3 Oct 2020 09:20:11 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 75D0E203F1; Sat, 3 Oct 2020 09:20:10 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id E607E1BF82F for ; Sat, 3 Oct 2020 09:20:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DF6EE86C18 for ; Sat, 3 Oct 2020 09:20:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3Wp6V8g3e-uq for ; Sat, 3 Oct 2020 09:20:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by whitealder.osuosl.org (Postfix) with ESMTPS id EAF6D86C1A for ; Sat, 3 Oct 2020 09:20:07 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id q9so3873276wmj.2 for ; Sat, 03 Oct 2020 02:20:07 -0700 (PDT) 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=BCzmZCEKHduYPl67+eXC+AGZTAbd+ML7rCAV88mJ1fk=; b=Tn5eHeOHpCNm4Vf2S0o6ISAu2RO6waHit12NiTVtBdFaCdta1G3IMJP4fNPjrp0eYH mLkChGhS/wVXp4v4e4SIDm+2lMZN4QOjynHzX5qRZ2XnBvKK88DIzrk6HWk2ZsZSKJfl VMlycm+GYn0KTh9Gh1UwkuSiPeCmn4Ir+Dm6Lls7s8wl+unIRPJXRlbZoGpuNd2YOjvY GxSx+/bQQUdyu2b25S9Q8yvQBYu4Y1jfvzjLIhrWeg0+nR63+bsSywb0bfZcRun3dIOD dtEhD5aYc9/tJP0Ucpn1AHw0azsR/Hs/CcGYndPVCaFjFv+U9MmSBb9ILfCxjh1LRb+p Ei8w== 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=BCzmZCEKHduYPl67+eXC+AGZTAbd+ML7rCAV88mJ1fk=; b=SvPT2b1v7b0XBOGg1xHwpuWetbX9nYPYuotY67F42Eg12ZXcRh0rFU4JNNFh0+5+Pa Yob5UHpz7cXvzrkmgpcvQV8+zZ4hph//0sFzXLtD3LMe94l0DCPiDM4ehHt+FAwWF20s 5R0p16BaThqPXyj3P8uIb50+n87iIGiZJ7zPRl9nG6E/NsgkmS2H04qJ7ZTB8voZ1Cya l5NesjBn+q9ixMTCI+0/dQKu6/gmbR2YLT3KenatcHWZYAI7I3Shsf4wKGcj0IrV1zlL cO4h0AaKk33WCSb0/ifqD2Gjd7pvr4vBIwSz03A5te19E9uODD0Z+5uGL96IvMA25nip mEnQ== X-Gm-Message-State: AOAM531Ml9UhANdd5p8gwodhI9fu43k9SeGjPjBnRkDTrGhmqs+XMHQ3 fmav1F8inqLobcLetLXjRyPjfSuS7P6l8Q== X-Google-Smtp-Source: ABdhPJzi3enQGKmUgiqZKoEZ3EWnotntXpbP4bQyoam0+JM3NxueBQSKWBpdIEPsQxpUpbmZJs91Kg== X-Received: by 2002:a1c:7311:: with SMTP id d17mr6931515wmb.60.1601716804809; Sat, 03 Oct 2020 02:20:04 -0700 (PDT) Received: from kali.home (2a01cb0881b76d00c2afd0dfa851d2b9.ipv6.abo.wanadoo.fr. [2a01:cb08:81b7:6d00:c2af:d0df:a851:d2b9]) by smtp.gmail.com with ESMTPSA id l8sm4700682wrx.22.2020.10.03.02.20.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Oct 2020 02:20:04 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sat, 3 Oct 2020 11:19:56 +0200 Message-Id: <20201003091956.3662866-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/ti-utils: fix build with gcc 10 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: Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: - http://autobuild.buildroot.org/results/e96c70910544085dc5299fa59f80ab9c5922fde2 Signed-off-by: Fabrice Fontaine --- .../0001-plt.h-fix-build-with-gcc-10.patch | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 package/ti-utils/0001-plt.h-fix-build-with-gcc-10.patch diff --git a/package/ti-utils/0001-plt.h-fix-build-with-gcc-10.patch b/package/ti-utils/0001-plt.h-fix-build-with-gcc-10.patch new file mode 100644 index 0000000000..e36b735e89 --- /dev/null +++ b/package/ti-utils/0001-plt.h-fix-build-with-gcc-10.patch @@ -0,0 +1,35 @@ +From 9ed1946cef876acd5346ae806eecd7fc2e1e5341 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 3 Oct 2020 10:32:48 +0200 +Subject: [PATCH] plt.h: fix build with gcc 10 + +Drop EFUSE_PARAMETER_TYPE_ENM to avoid the following build failure with +gcc 10 (which defaults to -fno-common): + +/home/naourr/work/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: misc_cmds.o:(.bss+0x0): multiple definition of `EFUSE_PARAMETER_TYPE_ENM'; nvs.o:(.bss+0x0): first defined here + +Fixes: + - http://autobuild.buildroot.org/results/e96c70910544085dc5299fa59f80ab9c5922fde2 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/gxk/ti-utils/pull/2] +--- + plt.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/plt.h b/plt.h +index 523fded..8ba01c9 100644 +--- a/plt.h ++++ b/plt.h +@@ -363,7 +363,7 @@ enum EFUSE_PARAMETER_TYPE_ENMT { + TX_BIP_PD_BUFFER_VBIAS_ERROR_E, + EFUSE_NUMBER_OF_PARAMETERS_E, + EFUSE_LAST_PARAMETER_E = (EFUSE_NUMBER_OF_PARAMETERS_E - 1) +-} EFUSE_PARAMETER_TYPE_ENM; ++}; + + int get_mac_addr(int ifc_num, unsigned char *mac_addr); + +-- +2.28.0 +