From patchwork Sun Sep 20 14:47:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Barnett X-Patchwork-Id: 519994 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 2E7FB14027C for ; Mon, 21 Sep 2015 00:48:04 +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=poD+aAge; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 54D262F7F7; Sun, 20 Sep 2015 14:48:03 +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 rrnZD0VYcZ3f; Sun, 20 Sep 2015 14:48:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 4CC892341E; Sun, 20 Sep 2015 14:48:01 +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 D03A61C1103 for ; Sun, 20 Sep 2015 14:47:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id CBE372DC65 for ; Sun, 20 Sep 2015 14:47:59 +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 rddp7BVuVoBG for ; Sun, 20 Sep 2015 14:47:59 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-io0-f181.google.com (mail-io0-f181.google.com [209.85.223.181]) by silver.osuosl.org (Postfix) with ESMTPS id 147712341E for ; Sun, 20 Sep 2015 14:47:59 +0000 (UTC) Received: by iofh134 with SMTP id h134so97950102iof.0 for ; Sun, 20 Sep 2015 07:47:58 -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=X1ujney6tFOGDrgL9FL13Ni2BwelsxVg4HTKyWXjYwQ=; b=poD+aAgeBXFC+k5P0iYMei682LhwzE8ayxjNjqvPAY9JX3ddlrPLZ89/fMDIlHNuoE f5r1M4bXcQxrTBZi6lC4t7CBAKE4xMMv/7dcNUqnmQrc3Shrk+ztxUoXfNQLVXxlDkFy 3+PVQAIANK9BYVxF/PdKqw/7JZV8DXNZ6F5C5dlsLjpn3iEWlIzhTijwDzFwtSGYhJ5m S5IHdAxpHIcIXZbzF+c828nu8SrOQXDMIIMb10YbbgiIZDrEcau7rzSit+Vb4OQyR9dz vL6xvgrze3iATzFuydhruxXf/VTsQ/6rKKywyoCbOVJALAkMAPFVwFN+THTFvLWSc2MH GByA== X-Received: by 10.107.131.16 with SMTP id f16mr22865795iod.100.1442760477967; Sun, 20 Sep 2015 07:47:57 -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 67sm8139194iog.34.2015.09.20.07.47.56 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 20 Sep 2015 07:47:57 -0700 (PDT) From: Ryan Barnett To: buildroot@buildroot.org Date: Sun, 20 Sep 2015 09:47:54 -0500 Message-Id: <1442760474-29793-1-git-send-email-ryanbarnett3@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [Buildroot] [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 in make when BR2_STATIC_LIBS is set. Fixes: http://autobuild.buildroot.net/results/814/8143ae0afac139845e5016058d85c800dc8527ad Signed-off-by: Ryan Barnett --- package/make/make.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/make/make.mk b/package/make/make.mk index ebfa2f0..d12676e 100644 --- a/package/make/make.mk +++ b/package/make/make.mk @@ -16,7 +16,8 @@ ifeq ($(BR2_STATIC_LIBS),y) MAKE_CONF_OPTS += --disable-load endif -ifeq ($(BR2_PACKAGE_GUILE),y) +# Only enable guile support when dynamic libraries are used. +ifeq ($(BR2_PACKAGE_GUILE)$(BR2_STATIC_LIBS),y) MAKE_DEPENDENCIES += guile MAKE_CONF_OPTS += --with-guile else