From patchwork Sun Sep 20 21:10:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Barnett X-Patchwork-Id: 520053 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 7AD01140772 for ; Mon, 21 Sep 2015 07:10:46 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=b42q2SKV; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 843FC26E07; Sun, 20 Sep 2015 21:10:45 +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 abAaPnf6-lUT; Sun, 20 Sep 2015 21:10:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id EC5A930908; Sun, 20 Sep 2015 21:10:39 +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 B1F5A1CEE12 for ; Sun, 20 Sep 2015 21:10:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id ACC70329E3 for ; Sun, 20 Sep 2015 21:10:38 +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 st+kW1QJR2By for ; Sun, 20 Sep 2015 21:10:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ig0-f178.google.com (mail-ig0-f178.google.com [209.85.213.178]) by silver.osuosl.org (Postfix) with ESMTPS id 1B7F3274F5 for ; Sun, 20 Sep 2015 21:10:34 +0000 (UTC) Received: by igxx6 with SMTP id x6so46992177igx.1 for ; Sun, 20 Sep 2015 14:10:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=8dhuA1kKT1PM1KMGMhwcAUo7nVefufnLaVP7K7DnCPI=; b=b42q2SKVebDY1KXYWzjf3Nnx4AuP2iluaYzh/krmBptIegkoEj9u/gWRNc5GaCZZ3p uZMjMIZdctuwjLGOb6fU5XfO01VWSqdNV629Kh3/PVD4eB4CZ8WNi1F8uZ/38jZmtxYe lP7aIQT1bAHvfv49TM3Ej+dHxD36Hm867PQ68zkRv0iNrlRV9Olj147K2rl1q6r1zMH0 1fcrSQN8hhfLwbMwAloSv/MB4lAkWQcacPmsixmzqRgt7WOGEAc9xzCs5I44tgWiMDTZ Dx8x35KOsc1jlV8UewsSVKmtPliG4nXNJdAvq0GKe7PWcYf1w/YDxhcDjtYlkl6ywUws ynEA== X-Received: by 10.50.176.225 with SMTP id cl1mr7360175igc.80.1442783433238; Sun, 20 Sep 2015 14:10:33 -0700 (PDT) Received: from ryan-ubuntu.barnett.net (50-83-61-125.client.mchsi.com. [50.83.61.125]) by smtp.gmail.com with ESMTPSA id a193sm8737220ioe.37.2015.09.20.14.10.32 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 20 Sep 2015 14:10:32 -0700 (PDT) From: Ryan Barnett To: buildroot@buildroot.org Date: Sun, 20 Sep 2015 16:10:30 -0500 Message-Id: <1442783430-26199-1-git-send-email-ryanbarnett3@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [Buildroot] [v2 1/1] make: disable guile support when static linking enabled 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" When building in a static only configuration with guile package enabled, the following error happens: gc_pthread_redirects.h:37:22: fatal error: dlfcn.h: No such file or directory # include The file gc_pthread_redirects.h comes from bdwgc, which gets built before make in the autobuild test case you're pointing to. This header file is known to incorrectly include , unless GC_NO_DLOPEN is specified. IF GC_NO_DLOPEN is defined, another issue arises due to libguile and libintl both defining locale_charset. Thus disable guile support for make. Fixes: http://autobuild.buildroot.net/results/814/8143ae0afac139845e5016058d85c800dc8527ad Signed-off-by: Ryan Barnett --- package/make/make.mk | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/package/make/make.mk b/package/make/make.mk index ebfa2f0..20702dc 100644 --- a/package/make/make.mk +++ b/package/make/make.mk @@ -11,16 +11,11 @@ MAKE_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) MAKE_LICENSE = GPLv3+ MAKE_LICENSE_FILES = COPYING +MAKE_CONF_OPTS = --without-guile + # Disable the 'load' operation for static builds since it needs dlopen ifeq ($(BR2_STATIC_LIBS),y) MAKE_CONF_OPTS += --disable-load endif -ifeq ($(BR2_PACKAGE_GUILE),y) -MAKE_DEPENDENCIES += guile -MAKE_CONF_OPTS += --with-guile -else -MAKE_CONF_OPTS += --without-guile -endif - $(eval $(autotools-package))