From patchwork Tue Aug 4 09:42:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony Viallard X-Patchwork-Id: 503461 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 3098C140306 for ; Tue, 4 Aug 2015 19:43:07 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A39EA94E98; Tue, 4 Aug 2015 09:43:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Tl+ZiVMeBUZU; Tue, 4 Aug 2015 09:43:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 8253594EA3; Tue, 4 Aug 2015 09:43:05 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 834FD1C2041 for ; Tue, 4 Aug 2015 09:43:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 7EFBC94E6F for ; Tue, 4 Aug 2015 09:43:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ISOlEYu1lldM for ; Tue, 4 Aug 2015 09:43:02 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp-sh.infomaniak.ch (smtp-sh.infomaniak.ch [128.65.195.4]) by hemlock.osuosl.org (Postfix) with ESMTPS id 035F194EE7 for ; Tue, 4 Aug 2015 09:43:01 +0000 (UTC) Received: from smtp4.infomaniak.ch (smtp4.infomaniak.ch [84.16.68.92]) by smtp-sh.infomaniak.ch (8.14.5/8.14.5) with ESMTP id t749gxaT019663 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 4 Aug 2015 11:42:59 +0200 Received: from [192.168.2.71] (mail.borm.ch [213.200.221.18] (may be forged)) (authenticated bits=0) by smtp4.infomaniak.ch (8.14.5/8.14.5) with ESMTP id t749gwWL003796 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 4 Aug 2015 11:42:59 +0200 Message-ID: <55C08922.4000600@syscom-instruments.com> Date: Tue, 04 Aug 2015 11:42:58 +0200 From: Viallard Anthony User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Romain Naour , buildroot@buildroot.org References: <1437039568-22957-1-git-send-email-viallard@syscom-instruments.com> <55B64251.6010404@openwide.fr> In-Reply-To: <55B64251.6010404@openwide.fr> X-Antivirus: Dr.Web (R) for Unix mail servers drweb plugin ver.6.0.2.8 X-Antivirus-Code: 0x100000 Subject: Re: [Buildroot] [PATCH 1/1] gcc: make sure we don't have a copy of libiberty.a in host library dir 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" On 07/27/2015 04:38 PM, Romain Naour wrote: > > The --disable-install-libiberty option was broken, that's why the internal > libiberty.a was installed in HOST_DIR. > > Hopefully, the same patch apply on gcc-4.7: > http://patchwork.ozlabs.org/patch/500445/ > > Care to test it ? > Hi Romain, I tested the above patch but it doesn't work. The library 'libiberty.a' is copied in 'output/host/usr/lib/'. Maybe I missed somethings ? I put the patch in the file 'package/gcc/4.7.4/920-fix-disable-install-libiberty-option.patch' and add --disable-install-libiberty flag in HOST_GCC_COMMON_CONF_OPTS variable of the gcc package. ---- ---- and did the following command: $ rm -rf output && make I see the flag --disable-install-libiberty in my log so it seems to be applied but the problem is always there. Have you tried the patch on your side ? Regards, Anthony. diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index be242cb..c23fe40 100644 --- a/package/gcc/gcc.mk +++ b/package/gcc/gcc.mk @@ -93,7 +93,8 @@ HOST_GCC_COMMON_CONF_OPTS = \ --with-gmp=$(HOST_DIR)/usr \ --with-mpfr=$(HOST_DIR)/usr \ --with-pkgversion="Buildroot $(BR2_VERSION_FULL)" \ - --with-bugurl="http://bugs.buildroot.net/" + --with-bugurl="http://bugs.buildroot.net/" \ + --disable-install-libiberty # Don't build documentation. It takes up extra space / build time, # and sometimes needs specific makeinfo versions to work