From patchwork Thu Sep 10 06:20:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1361253 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.138; helo=whitealder.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=DoHDacUC; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Bn7zx3tWdz9sTH for ; Thu, 10 Sep 2020 16:20:45 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CF08687597; Thu, 10 Sep 2020 06:20:41 +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 Xy+sKpjQRomH; Thu, 10 Sep 2020 06:20:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 210498758D; Thu, 10 Sep 2020 06:20:41 +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 E6D671BF85D for ; Thu, 10 Sep 2020 06:20:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E239B8758D for ; Thu, 10 Sep 2020 06:20:39 +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 bW9DP1yhjcfA for ; Thu, 10 Sep 2020 06:20:39 +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 whitealder.osuosl.org (Postfix) with ESMTPS id EC9A487582 for ; Thu, 10 Sep 2020 06:20:38 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id w5so5309824wrp.8 for ; Wed, 09 Sep 2020 23:20:38 -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=pbWgwXhqwVN6YNmg0Q+nkRjT+//PUJv00QDI/QNWueA=; b=DoHDacUCwkHXGWHWlq1+AGbRwP7pdpT63pJd0SW1RPLQnXHH/fPR+hntxprGpfmR6n njjgmowiHuMhsRTk2VSmL9d/kGIdPzFoz0ewHynJkAp+rg8IXSvPbj2uw+56L6w6YlkT bNkfJr4ombz+2Z3lX4Vf+4FeHgzKtq2Yr8wblVsXKx+MCZJdYdvggUrIw5S6ffUZmd4g aiPfdVtoLbEQ00B9mXatec85f9JY/WqL160E/UV/dxWB/Dk0HAsOryR3+FHV4AH02Oqq FJyIsnOY23feK7zEP9xt4avzGp2oznoCeKsSkVcwmxDgBNJLvG5QKxgShZrbT3nnbHOD wfsw== 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=pbWgwXhqwVN6YNmg0Q+nkRjT+//PUJv00QDI/QNWueA=; b=kwJ9lbpgzVag0zds5PNHi5AoRTIW+9xvH+esiyyco2D9PPD4qkoesvcgAyXE4i/YGl 8ofY9giWrEnwZiKDuZfIPGJG5KVAaRCMC37IIEqfkktRiSarrxiGHbrd94MmoihX2rPQ knoqOdYm65NW5LNNdu5sn9jQYO8pJHeRdFL71z9uke5PIbB2SdpMikJWqPejiaqe3yeb VU8LSnZS5Mwsb12VsFwkrmfAOFKXS7AN6hFr1KHDdj/dxqhK2637eEyXLKsvn258b6TK 4C/S15EmtYxCjr0bCIwzTmAy5qDeboOejFp8R4eL4fwUIJXOKAJtLJElh7J6xCxiG76+ 0uwg== X-Gm-Message-State: AOAM530DApHNuUYn48Ayoeq+btQCEXqVZ5a2QdJ6ktqrFVlRVWdK2nuX svpU+W5uFOQkF+zSYvh9vnYN1WBvg+k= X-Google-Smtp-Source: ABdhPJzYhZ6IUwTCDm4ZTSOAWbRHJLKivnnnF3gSQQTzCNWXxHvLIMxLJrwRBh81OGdRlKYVgEaSlQ== X-Received: by 2002:adf:f50a:: with SMTP id q10mr7099968wro.319.1599718837025; Wed, 09 Sep 2020 23:20:37 -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 b187sm2013931wmb.8.2020.09.09.23.20.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 23:20:36 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Thu, 10 Sep 2020 08:20:26 +0200 Message-Id: <20200910062026.498143-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/iwd: fix build with uclibc 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: Peter Seiderer , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch is needed to fix a build failure with iwd 1.9.0 and uclibc Fixes: - http://autobuild.buildroot.org/results/c7a0096a269bfc52bd8e23d453d36d5bfb61441d Signed-off-by: Fabrice Fontaine Reviewed-by: Peter Seiderer --- .../0001-src-ap.c-fix-build-with-uclibc.patch | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 package/iwd/0001-src-ap.c-fix-build-with-uclibc.patch diff --git a/package/iwd/0001-src-ap.c-fix-build-with-uclibc.patch b/package/iwd/0001-src-ap.c-fix-build-with-uclibc.patch new file mode 100644 index 0000000000..b4e18098c0 --- /dev/null +++ b/package/iwd/0001-src-ap.c-fix-build-with-uclibc.patch @@ -0,0 +1,37 @@ +From 377df79e83e2127a087e1aa5ba6173e195e50933 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 10 Sep 2020 07:47:14 +0200 +Subject: [PATCH] src/ap.c: fix build with uclibc + +explicit_bzero is used in src/ap.c since commit +d55e00b31d7bccdbb2ea1cdeb0a749df77a51e47 but src/missing.h is not +included, as a result build with uclibc fails on: + +/srv/storage/autobuild/run/instance-1/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/9.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: src/ap.o: in function `ap_probe_req_cb': +ap.c:(.text+0x23d8): undefined reference to `explicit_bzero' + +Fixes: + - http://autobuild.buildroot.org/results/c7a0096a269bfc52bd8e23d453d36d5bfb61441d + +Signed-off-by: Fabrice Fontaine +[Upstream status: +https://lists.01.org/hyperkitty/list/iwd@lists.01.org/thread/SSEFPYCJWH2CQGY7IV6BPNOPMQWYYZPD/] +--- + src/ap.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/ap.c b/src/ap.c +index c972cfcb..ac705c31 100644 +--- a/src/ap.c ++++ b/src/ap.c +@@ -31,6 +31,7 @@ + + #include "linux/nl80211.h" + ++#include "src/missing.h" + #include "src/iwd.h" + #include "src/module.h" + #include "src/scan.h" +-- +2.28.0 +