From patchwork Sun Dec 9 19:25:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 204775 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id A10882C0193 for ; Mon, 10 Dec 2012 06:25:23 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id ED66F2080D; Sun, 9 Dec 2012 19:25:21 +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 Nf1fGQhLpHSq; Sun, 9 Dec 2012 19:25:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id E2076221C2; Sun, 9 Dec 2012 19:25:20 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 5243C8F74B for ; Sun, 9 Dec 2012 19:25:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id EADEE10001A for ; Sun, 9 Dec 2012 19:25:10 +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 K-C0t+l41mpL for ; Sun, 9 Dec 2012 19:25:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [88.190.12.23]) by fraxinus.osuosl.org (Postfix) with ESMTP id 568E1FFFAD for ; Sun, 9 Dec 2012 19:25:09 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 257C9180; Sun, 9 Dec 2012 20:25:07 +0100 (CET) Received: from localhost (humanoidz.org [82.247.183.72]) by mail.free-electrons.com (Postfix) with ESMTPSA id 3C9EAB5 for ; Sun, 9 Dec 2012 20:25:00 +0100 (CET) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Sun, 9 Dec 2012 20:25:07 +0100 Message-Id: <1355081107-27706-1-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 Subject: [Buildroot] [PATCH v2] libglib2: don't try to use DTrace/GCov/SystemTap for host build X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net We really only need the host build of libglib2 for a few helper programs that are used for the target build of libglib2. Therefore, trying to use bells and whistles like DTrace, GCov and SystemTap is totally useless. And it is actually harmful, since it is causing build failures on the gcc110 PowerPC-based autobuilder that apparently has some DTrace-feature installed. This commit therefore fixes: http://autobuild.buildroot.org/results/1c62d1ce10937bd21f5afcb73782b939d10c2038/build-end.log Which has been polluting our autobuilder logs since several weeks now. Signed-off-by: Thomas Petazzoni --- v2: fixed description, thanks to Samuel Martin for noticing --- package/libglib2/libglib2.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk index a32cab2..4427431 100644 --- a/package/libglib2/libglib2.mk +++ b/package/libglib2/libglib2.mk @@ -53,6 +53,9 @@ endif HOST_LIBGLIB2_CONF_OPT = \ --disable-gtk-doc \ --enable-debug=no \ + --disable-dtrace \ + --disable-systemtap \ + --disable-gcov LIBGLIB2_DEPENDENCIES = host-pkgconf host-libglib2 libffi zlib $(if $(BR2_NEEDS_GETTEXT),gettext)