From patchwork Thu Mar 12 22:13:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 449686 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 4C5B6140119 for ; Fri, 13 Mar 2015 09:14:05 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 271A9958C4; Thu, 12 Mar 2015 22:14: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 3rX2jWiIqVbu; Thu, 12 Mar 2015 22:14:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 9D212958B5; Thu, 12 Mar 2015 22:14:02 +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 5DC991CEE96 for ; Thu, 12 Mar 2015 22:14:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 59BFEA3B13 for ; Thu, 12 Mar 2015 22:14:02 +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 MF-Ee-NUThAU for ; Thu, 12 Mar 2015 22:14:01 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from smtp1-g21.free.fr (smtp1-g21.free.fr [212.27.42.1]) by fraxinus.osuosl.org (Postfix) with ESMTPS id E6405A3B0C for ; Thu, 12 Mar 2015 22:14:00 +0000 (UTC) Received: from localhost.localdomain (unknown [81.57.22.125]) by smtp1-g21.free.fr (Postfix) with ESMTP id 9E00E9400AD; Thu, 12 Mar 2015 23:13:09 +0100 (CET) From: Romain Naour To: buildroot@buildroot.org Date: Thu, 12 Mar 2015 23:13:53 +0100 Message-Id: <1426198433-26427-1-git-send-email-romain.naour@openwide.fr> X-Mailer: git-send-email 1.9.3 Subject: [Buildroot] [PATCH] package/gdb: disable shared build for host-gdb 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" Shared libraries build have been enabled with the ARV32 removal. But it's still useful for arc gdb. Fixes: http://autobuild.buildroot.net/results/204/2043888410baaf9d22338b48b4caab4a4363f777/ Signed-off-by: Romain Naour --- "Should fixe" the issue. I'm not able to reproduce the issue. --- package/gdb/gdb.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk index 6a192fb..2a6b3d4 100644 --- a/package/gdb/gdb.mk +++ b/package/gdb/gdb.mk @@ -125,9 +125,12 @@ endif # * --target, because we're doing a cross build rather than a real # host build. # * --enable-static because gdb really wants to use libbfd.a +# * --disable-shared, otherwise the gdb-2014.12 version specific to ARC +# doesn't build because it wants to link a shared libbfd.so against +# non-PIC liberty.a. HOST_GDB_CONF_OPTS = \ --target=$(GNU_TARGET_NAME) \ - --enable-static \ + --enable-static --disable-shared \ --without-uiout \ --disable-gdbtk \ --without-x \