From patchwork Sun Jun 23 21:23:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1120927 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Fak6f5M4"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45X55V1NlQz9s7h for ; Mon, 24 Jun 2019 07:23:58 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1E1E6850E9; Sun, 23 Jun 2019 21:23:56 +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 zOD0l4YLJ3XY; Sun, 23 Jun 2019 21:23:55 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9485C8512E; Sun, 23 Jun 2019 21:23:55 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 176891BF3ED for ; Sun, 23 Jun 2019 21:23:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0F63A8512E for ; Sun, 23 Jun 2019 21:23:49 +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 jpa4DXJwtaSF for ; Sun, 23 Jun 2019 21:23:48 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 6FBC1850E9 for ; Sun, 23 Jun 2019 21:23:48 +0000 (UTC) Received: by mail-io1-f67.google.com with SMTP id i10so750552iol.13 for ; Sun, 23 Jun 2019 14:23:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TXpy1OyKUy8coxqr70HwhOVdCEdoWBXHBbgjXl4rIH8=; b=Fak6f5M4Hg4kD0oAbd9eI6yzkGoI+Aactkg80+idLNmsOaSjZMzCH+uxWqeDL2z3e/ ONe7kEBJbw/iBFP6305UWgmLyP33jrLhkIzjB4FjMPa5SzExm3jjvKo9r23Rx3ed4Zwa CwATYq9ms7GfB03oy+3XAgIBSmfMaSkpS5Cv/7B3V0HtDpISGlcW6vx8HDm5Nx4elHCo BJuELjOnysEg5WkxdJnoq/H6pejo34Pj1aHucyVuoLVArMbUdApF8ts/qk2SPbItAnU/ 4cq6X+6SGtWaKtfhxKkGkHQRRTsPRm85UZCpA7hUtXUhdOWPU0aaKSQwx1WnjyOjLd1d pxHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TXpy1OyKUy8coxqr70HwhOVdCEdoWBXHBbgjXl4rIH8=; b=H5cQYx6xrDGEYAMJx+KAmAUu2Q/9i1bETLrAwd1I2N00pCrAnls9kEDFZyi0q6Tpe7 JBM8ahfkZ5pfGhbubOZlDbGy6ZKTj5RT+TBw9NzOM2p2cZ+8WHWKPWP/zvI1LcMqCWJr u0vPzvsIPtGF+OA2roXA2t0bHXXQ3yhSiT+zfX2TUXG0CyXu16bwl4UpI7Ksn0LHEv9U nKQdSxPhqWYiUAvbMmcN5Mu6aBmSPq85AryZXZwJzWSBPo68KMYNOxY2dXMlrDTiVbVh NG2ZEqu040TWmgojbdvMtV4GWw/ROFgtAEExcgGCbgJwn4Wlk71lVNoou0fVqQj2jfR+ UZBg== X-Gm-Message-State: APjAAAVCd9zgdv5R13zxjJEHIt5gSJFs8AluJFUMnPiAJbXzP5pQcknm WZgSvLODHlASwoyFDXe2GL/mpppO X-Google-Smtp-Source: APXvYqz8mO/XmbWWdwf7O5FwzUKBiFpgjm8LTQ2E32XtxPrVyfwytXqjQBzewLlfy3aJlyqmI9tfHQ== X-Received: by 2002:a02:b78a:: with SMTP id f10mr22537403jam.5.1561325027531; Sun, 23 Jun 2019 14:23:47 -0700 (PDT) Received: from localhost.localdomain (68-188-149-81.dhcp.aldl.mi.charter.com. [68.188.149.81]) by smtp.gmail.com with ESMTPSA id p25sm11148250iol.48.2019.06.23.14.23.46 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 23 Jun 2019 14:23:47 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Sun, 23 Jun 2019 17:23:39 -0400 Message-Id: <20190623212342.41809-4-aduskett@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190623212342.41809-1-aduskett@gmail.com> References: <20190623212342.41809-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v12 3/6] package/gdb: depend on libiberty X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: yann.morin.1998@free.fr, Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett If present, GDB may use a system installed libiberty. As such, we must ensure that host-libiberty is installed first. Signed-off-by: Adam Duskett --- v1 -> v11: - Add this patch to the series package/gdb/gdb.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk index 46d745a897..39d20be1aa 100644 --- a/package/gdb/gdb.mk +++ b/package/gdb/gdb.mk @@ -35,7 +35,9 @@ endif # For the host variant, we really want to build with XML support, # which is needed to read XML descriptions of target architectures. We # also need ncurses. -HOST_GDB_DEPENDENCIES = host-expat host-ncurses +# As for libiberty, gdb may use a system-isntalled one if present, so +# we must ensure ours is installed first. +HOST_GDB_DEPENDENCIES = host-expat host-libiberty host-ncurses # Disable building documentation GDB_MAKE_OPTS += MAKEINFO=true