From patchwork Thu Jun 16 16:00:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Bark X-Patchwork-Id: 636542 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rVp5W20YBz9t0M for ; Fri, 17 Jun 2016 02:01:02 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=barkynet-com.20150623.gappssmtp.com header.i=@barkynet-com.20150623.gappssmtp.com header.b=WMB3ASdY; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C48B7C078F; Thu, 16 Jun 2016 16:01:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1kQpOnheTl4w; Thu, 16 Jun 2016 16:01:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id DF01C8BCF1; Thu, 16 Jun 2016 16:00:59 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id DFC1A1C20D0 for ; Thu, 16 Jun 2016 16:00:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D8F5231D25 for ; Thu, 16 Jun 2016 16:00:58 +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 XB3W-At9fKlc for ; Thu, 16 Jun 2016 16:00:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by silver.osuosl.org (Postfix) with ESMTPS id BD8C8331AA for ; Thu, 16 Jun 2016 16:00:57 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id m124so12485386wme.3 for ; Thu, 16 Jun 2016 09:00:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=barkynet-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=A2XxHdpHmvgCYbXpr2ltQdNs3mjlWEzZXgPpzWR0xzw=; b=WMB3ASdYqFP4zbiRFBHvDrpjHbiLfu373CdBR+ksMi/vGrRTjrIRlL13aJCf4hbU98 qSNeMS+HRRUf7zm0eCJfEyw04A5AbHtClOSKxZqNCTez2aKF7IlfkP0/vWxTIdcdl6GQ wumYudkAlbzBPVJN3iMaFO5VQvM2h/P98tNGwHc0iDmQin/3sWNQn6k4FjNENcfiPHoK CR20uLoeU1jsJr8ySAkdzYwp6Rgk9WinD1yVl4cKWH4PJnE8MlQB6w0xsRuBlPEwqwH2 rxfzBu6bgyfC8aV9KEWC3lRfeF1tlGDwrN5QN/z6pY5Rie+AOuTY7ald1eDnRht+3JD5 V8Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=A2XxHdpHmvgCYbXpr2ltQdNs3mjlWEzZXgPpzWR0xzw=; b=kYA2qBVfPD4y/R7p75YbrUcH1aDOmyIxWUDV65yfofwyXOmlzxMEiqZalZbVva6Fr/ rYnd1oLOZFLz+G1U0L7oAPv7vQ8jrMbun+xopzd8qmvLHptTQxfAVvpEg5RUUYdF/wLk F/ktcrl9jYOnDOIBFjBImmi2NUGj3itEWeUBYCHmul6/IB8HZodCK8MqW21nmbz2g4lH oQ1r6ufTAORyjJh2d4sem9FofbD2jJqgxfliNtURPt44Ua+gWXsXd4RjOwXgVbNQ38zF 7zXFx1ZoaceabIqFA/vXKunoCE64S0aJClKHynwV2wYeZOfTRlDXPZdxscrs5dJOSXrZ LXDg== X-Gm-Message-State: ALyK8tKQ+PvTWbowCDlSdLd3OzZDYnBJQRhEZiWYzs5Ri0LSI+gTyWlX1mmm/sGJndRrIw== X-Received: by 10.194.2.44 with SMTP id 12mr356824wjr.61.1466092856089; Thu, 16 Jun 2016 09:00:56 -0700 (PDT) Received: from silveradder.home.barkynet.com (barkynet.plus.com. [80.229.219.126]) by smtp.googlemail.com with ESMTPSA id n26sm13750602wmi.3.2016.06.16.09.00.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jun 2016 09:00:55 -0700 (PDT) From: Martin Bark To: buildroot@buildroot.org Date: Thu, 16 Jun 2016 17:00:49 +0100 Message-Id: <20160616160049.19597-1-martin@barkynet.com> X-Mailer: git-send-email 2.8.3 Subject: [Buildroot] [PATCH 1/1] package/ucl: fix build with host gcc 6.x X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" ucl fails with the following error when using gcc 6.x on the host: checking whether your compiler passes the ACC conformance test... FAILED configure: configure: Your compiler failed the ACC conformance test - for details see configure: `config.log'. Please check that log file and consider sending configure: a patch or bug-report to . configure: Thanks for your support. configure: configure: error: ACC conformance test failed. Stop. Fix the issue by using the ISO C90 standard. Signed-off-by: Martin Bark --- Note: I found the fix here https://bugs.archlinux.org/task/49287 --- package/ucl/ucl.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/ucl/ucl.mk b/package/ucl/ucl.mk index 2654a5a..e4dc1b3 100644 --- a/package/ucl/ucl.mk +++ b/package/ucl/ucl.mk @@ -9,4 +9,7 @@ UCL_SITE = http://www.oberhumer.com/opensource/ucl/download UCL_LICENSE = GPLv2+ UCL_LICENSE_FILES = COPYING +# Fix ACC conformance test failure for host gcc 6.x +HOST_UCL_CONF_ENV += CPPFLAGS="$(HOST_CPPFLAGS) -std=c90" + $(eval $(host-autotools-package))