From patchwork Mon May 18 05:43:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1292332 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.133; helo=hemlock.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=EYdg0/wX; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49QSch0SVfz9sPK for ; Mon, 18 May 2020 15:44:04 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 655C088075; Mon, 18 May 2020 05:44:01 +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 yRM9vJUIJ3KI; Mon, 18 May 2020 05:44:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id C1D3388223; Mon, 18 May 2020 05:44:00 +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 E68061BF3DE for ; Mon, 18 May 2020 05:43:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id E266D88223 for ; Mon, 18 May 2020 05:43:58 +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 WIWeDV2eWd22 for ; Mon, 18 May 2020 05:43:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by hemlock.osuosl.org (Postfix) with ESMTPS id 4AAFA88075 for ; Mon, 18 May 2020 05:43:57 +0000 (UTC) Received: by mail-wm1-f54.google.com with SMTP id n18so4523098wmj.5 for ; Sun, 17 May 2020 22:43:57 -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=/6Kwr529qQcqHzLJpi/xIRWlZk8gDBQU6VRBaNgwS2o=; b=EYdg0/wXEVwZPl7v3NRDc1kucMecqHKbqwXqnfbdY1/rlXty+EsgVz4g9lOCJIY+kt GIq5bsZuzx1Pu5sgNZoGH5BY49x4LMazBWJYMcyYHYpVjgFE+fKY/lln9F+asRx7pUZI Iel74IUYQAaxVOELsnhwrxfSGLLsVBu/YpmsTlTEsrUAh4RtqmaIuQIeBc+smqIllvo7 vUQa+TO75xgIrDPU9bMomZzCN8+6cfbUh0N+hONAHdbVuFWUVOUHxlkBpAG4rK/bMN7P ZAuQ5m8ywm4M0HwSwWXavw+jlR8qhEiFSZCtNB/ChPHCV/xXwcSb89Jrc0nk2jF0yo5v MbTQ== 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=/6Kwr529qQcqHzLJpi/xIRWlZk8gDBQU6VRBaNgwS2o=; b=dAe9pWholQfpvzr8eC3jWNVEngIN5ehQaIw0TsRRV+hTTLKXMbp5TRjE+FN0GEFc4H bfosxydYL7Kr9yf7P6kXMxwMALG0RnKxpDqs0QNsyX5flyAwPcQQO4BYJE0j6s0PhhRh P71h0vm1GRAKmR7pwAnBd5kvm7PSrFJQHtMhxFMal4RdsTq/C2xwJe3Byf91joJS9kCX I4dbG3GKLIfkao5Mx5x08v7N2/YGrEUUw3t+oJhi6IvP3z7RrFPOq9kgWsH6b9l9zs/M iyXOAAuaD+/Jd/DGB2203m+11uWxreP/VZ0n6FLD2vY4LYCQjdabKpkBxJxu+Cr763FM JZig== X-Gm-Message-State: AOAM530ZkIvjSI3sbVdluSUJ+hwfJoutdJxnTQsaHF7g1NgW83lKxoc0 QsX1N6ci9HsyoyNvFM1LhnSvaP5B X-Google-Smtp-Source: ABdhPJx260/YDtMKraHGEx1EwLdFBLepdbkiVGBdBULiuMNqLipdyRi1mWtlpOM6lH6MKTz8vBy8NQ== X-Received: by 2002:a1c:c386:: with SMTP id t128mr15670866wmf.11.1589780635327; Sun, 17 May 2020 22:43:55 -0700 (PDT) Received: from t450s.fritz.box (ip5b426f84.dynamic.kabel-deutschland.de. [91.66.111.132]) by smtp.gmail.com with ESMTPSA id e22sm15298109wrc.41.2020.05.17.22.43.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 May 2020 22:43:54 -0700 (PDT) From: Heiko Thiery To: buildroot@buildroot.org Date: Mon, 18 May 2020 07:43:32 +0200 Message-Id: <20200518054331.5106-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/audit: fix -fno-common build failure 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: Heiko Thiery , Romain Naour , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Added upstream patch for fixing build failure when using GCC10 as a host compiler (-fno-common is now default). Fixes: http://autobuild.buildroot.net/results/c4b/c4bba80e9fc476247c7ba28850831c6a8edd559f/build-end.log Cc: Romain Naour Signed-off-by: Heiko Thiery Reviewed-by: Romain Naour --- ...ns-need-to-be-external-when-building.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/audit/0003-Header-definitions-need-to-be-external-when-building.patch diff --git a/package/audit/0003-Header-definitions-need-to-be-external-when-building.patch b/package/audit/0003-Header-definitions-need-to-be-external-when-building.patch new file mode 100644 index 0000000000..9a546261df --- /dev/null +++ b/package/audit/0003-Header-definitions-need-to-be-external-when-building.patch @@ -0,0 +1,28 @@ +From 017e6c6ab95df55f34e339d2139def83e5dada1f Mon Sep 17 00:00:00 2001 +From: Steve Grubb +Date: Fri, 10 Jan 2020 21:13:50 -0500 +Subject: [PATCH] Header definitions need to be external when building with + -fno-common (which is default in GCC 10) - Tony Jones + +Patch taken from upstream: https://github.com/linux-audit/audit-userspace/commit/017e6c6ab95df55f34e339d2139def83e5dada1f +Signed-off-by: Heiko Thiery +--- + src/ausearch-common.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/ausearch-common.h b/src/ausearch-common.h +index 6669203..3040547 100644 +--- a/src/ausearch-common.h ++++ b/src/ausearch-common.h +@@ -50,7 +50,7 @@ extern pid_t event_pid; + extern int event_exact_match; + extern uid_t event_uid, event_euid, event_loginuid; + extern const char *event_tuid, *event_teuid, *event_tauid; +-slist *event_node_list; ++extern slist *event_node_list; + extern const char *event_comm; + extern const char *event_filename; + extern const char *event_hostname; +-- +2.20.1 +