From patchwork Mon Aug 13 14:33:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Weber X-Patchwork-Id: 957001 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) 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=none (p=none dis=none) header.from=rockwellcollins.com Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41pys01SHGz9s8T for ; Tue, 14 Aug 2018 00:33:39 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3A34722881; Mon, 13 Aug 2018 14:33:37 +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 Ybe-eFj3j4Ya; Mon, 13 Aug 2018 14:33:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 5E63D22865; Mon, 13 Aug 2018 14:33:36 +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 2EEBE1CF2A0 for ; Mon, 13 Aug 2018 14:33:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2C2F784590 for ; Mon, 13 Aug 2018 14:33:29 +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 j+HKEMkw6xbv for ; Mon, 13 Aug 2018 14:33:28 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from ch3vs01.rockwellcollins.com (ch3vs01.rockwellcollins.com [205.175.226.27]) by whitealder.osuosl.org (Postfix) with ESMTPS id 7C9F984580 for ; Mon, 13 Aug 2018 14:33:28 +0000 (UTC) Received: from ofwch3n02.rockwellcollins.com (HELO crulimr01.rockwellcollins.com) ([205.175.226.14]) by ch3vs01.rockwellcollins.com with ESMTP; 13 Aug 2018 09:33:27 -0500 X-Received: from bacon.rockwellcollins.com (unknown [192.168.6.146]) by crulimr01.rockwellcollins.com (Postfix) with ESMTP id 674446023C; Mon, 13 Aug 2018 09:33:27 -0500 (CDT) From: Matt Weber To: buildroot@buildroot.org Date: Mon, 13 Aug 2018 09:33:26 -0500 Message-Id: <20180813143326.14262-1-matthew.weber@rockwellcollins.com> X-Mailer: git-send-email 2.17.0 Subject: [Buildroot] [PATCH] package/libselinux: host gcc at least 4.7 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Resolves. label_file.h: In function 'compile_regex': label_file.h:353: error: '__ATOMIC_ACQUIRE' undeclared (first use in this function) label_file.h:353: error: (Each undeclared identifier is reported only once label_file.h:353: error: for each function it appears in.) label_file.h:405: error: '__ATOMIC_RELEASE' undeclared (first use in this function) Fixes: http://autobuild.buildroot.net/results/3d3/3d3ecf63236bb41abca7d1996619ba697a7cbdb8/ http://autobuild.buildroot.net/results/e98/e98789785a03e238e7cdca0ad07526d70fcfa30b/ Signed-off-by: Matthew Weber --- package/libselinux/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libselinux/Config.in b/package/libselinux/Config.in index 6be816db77..74d87bef1a 100644 --- a/package/libselinux/Config.in +++ b/package/libselinux/Config.in @@ -6,6 +6,8 @@ config BR2_PACKAGE_LIBSELINUX depends on BR2_TOOLCHAIN_USES_GLIBC # Toolchain issue: "fixup not contained within frag" depends on !BR2_arc + # Uses __ATOMIC_* + depends on BR2_HOST_GCC_AT_LEAST_4_7 select BR2_PACKAGE_LIBSEPOL select BR2_PACKAGE_PCRE help