From patchwork Sat Oct 27 19:53:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?= X-Patchwork-Id: 989930 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-488462-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=aegee.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="vM6/Xq2s"; dkim=pass (4096-bit key; secure) header.d=aegee.org header.i=dkim+MSA-tls@aegee.org header.b="gHU1DLAX"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42jBQ12f2pz9sCc for ; Sun, 28 Oct 2018 06:53:58 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:subject:from:to:date:content-type:mime-version :content-transfer-encoding; q=dns; s=default; b=psn4WlbanPPsydrK OT53z06HBlHuopq3hB3xxm3XX4x0AJxl0f5/ZGgSx1XDTmezX+0UVr3lNEoFLxgI XemkmLFhDbw8w/vdtcXEl9u5BNUoJVCnmhuUCHrKu2dh5MrdXfDcX1C7daOzP9dv omjvw3zaoo/hj39q5rdFI9k+a/g= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:subject:from:to:date:content-type:mime-version :content-transfer-encoding; s=default; bh=NSXpB4gQ3yIJHnqIZUx4Gb 7qsYk=; b=vM6/Xq2srV+eO4rU+UlbIynA7rPpAspmh2fpXGZIh1VYNAWCLhyv7E gJlEaee2dVkZFJllI4N2xGqbDrE4iJZ0qC3A+8UcKAM8N/HM26iUiZPAbnU4LwWs R8oV6xoJY6N1PR5M8dI0CwBQFrXP5qbThAk6CBmvDnC1Rj/YoomgM= Received: (qmail 19177 invoked by alias); 27 Oct 2018 19:53:51 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 19167 invoked by uid 89); 27 Oct 2018 19:53:50 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-21.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=HContent-Transfer-Encoding:8bit X-HELO: mail.aegee.org Received: from mail.aegee.org (HELO mail.aegee.org) (144.76.142.78) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 27 Oct 2018 19:53:49 +0000 Authentication-Results: mail.aegee.org/w9RJriUM012079; auth=pass (LOGIN) smtp.auth=didopalauzov@AEGEE.ORG DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aegee.org; s=k4096; t=1540670026; i=dkim+MSA-tls@aegee.org; r=y; bh=zXYqMk0wMenqI/1Wtu+WWsVbEwpe7RhpyYSM3gHS0k0=; h=Subject:From:To:Date; b=gHU1DLAXyZ2E7tGF3plGVgudY2zqlqnvEahA9UfC9TTySUlNGjQJlsDKa6FuiXzRD smmd/tAGg7cNCzDEX215E1MecZ3oPJZQfBj4Xm1LBcFBPfJ1BbvZqQnkaI9EF8sr6K 0Y6cdyK74ti8pXMUbn42pfMwAY3FMSTn70v38vciEa+3joZMXO/Grxw3R5lLUGMouW cadJeWSClgabh/n26lUKwaxhragUeELHD7Fm5YtAJ0aXiYI4B+ZY2OEShXUI5tVxFR tPefkdTLWitm4LXQ78RcKRe1JkPlouWJ7zvj1uCERQ6D2EZ36CSMxWsnZmiptnfA7g KWdBoW+rG78MtP1BZhJRKXJ0ua5glOSK65E08okhtiWW0oEqaXLUFldwGQywpaFvsW D4rMyfkoD+0z+ReAEosdyrvu1gznlzr8rSzQSSQkiqZVUF397oufxmAbmfYjyeSWO+ +UvDhC25xMq40qkFZWS9I7Ij1XEzoe0mjQIpKT5t74WvSj2evDNd5w6IRw9KLS5Fzm Dm6rWLKh4it1AtKnzhTbnufkI6pqJxhxpfJjiT1qAHLumpZ9GZbJ3xo1FF05hBNGjN 8GvbYrbjeQGSUeYnyYc+b8PLlDMWDIPpuiCmPgoKclzJqW8n3+tnnE7C1v0OcTlxty BGzz85QgYznCcn2EPq42pmvw= Authentication-Results: mail.aegee.org/w9RJriUM012079; dkim=none Received: from Tylan (ipbcc2def0.dynamic.kabel-deutschland.de [188.194.222.240]) (authenticated bits=0) by mail.aegee.org (8.15.2/8.15.2) with ESMTPSA id w9RJriUM012079 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 27 Oct 2018 19:53:45 GMT Message-ID: <3903f0afc8d14e84ca34f61dda357e1c6162489b.camel@aegee.org> Subject: =?utf-8?b?RG9u4oCZdA==?= build gdb/readline/libreadline.a, when --with-system-readline is supplied From: =?utf-8?b?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?= To: gcc-patches@gcc.gnu.org Date: Sat, 27 Oct 2018 19:53:44 +0000 User-Agent: Evolution 3.31.2 Mime-Version: 1.0 X-IsSubscribed: yes Building GDB always builds the bundles libreadline.a, even if use of the libreadline installed on the system was requested with --with- system-readline. The change below is for binutils-gdb’s/configure.ac, which is maintained by gcc. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87741 [GCC] and https://sourceware.org/bugzilla/show_bug.cgi?id=18632 [GDB] for details. diff --git a/configure.ac b/configure.ac --- a/configure.ac +++ b/configure.ac @@ -253,6 +253,12 @@ if test x$with_system_zlib = xyes ; then noconfigdirs="$noconfigdirs zlib" fi +# Don't compile the bundled readline/libreadline.a in gdb-binutils if +# --with-system-readline is provided. +if test x$with_system_readline = xyes ; then + noconfigdirs="$noconfigdirs readline" +fi + # some tools are so dependent upon X11 that if we're not building with X, # it's not even worth trying to configure, much less build, that tool.