From patchwork Wed Nov 14 21:28:30 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: 997877 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-490129-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="imG2ri2B"; dkim=pass (4096-bit key; secure) header.d=aegee.org header.i=dkim+MSA-tls@aegee.org header.b="SqtOzxwq"; 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 42wHg83km4z9s3x for ; Thu, 15 Nov 2018 08:28:50 +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:references:content-type :mime-version:content-transfer-encoding; q=dns; s=default; b=kAQ u61BBHLadBpK/N5d56xNQ/v9QKO4fpQyZIhit4riFS912ePJ4RRx33S0CAu8pJRt QQBt/A8FaQrGkWDP9I6WmODrmVxSD2QTu2Poa1zyDJF0N5/fbIQ1miKs/wNRR2KW ywGjSmdCAlUqaTNdCrl38ni8FqH4Ax7LwKkKj6aU= 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:references:content-type :mime-version:content-transfer-encoding; s=default; bh=KRLpf4Vh4 uoklTtogbXHskRdiEA=; b=imG2ri2BWV8p+YBUiLPZUgj3QCLL/lG5MBXsOxxN8 d/Q5KWwCIocTWCKuGKFm30q81G2aNiaqmTMshpgd2VxM/XyhaYCfN5LxSAGZP8kg 9g9RyLj3eWYaQZF6hiuPmgWqZMHWmzJsOCw2Zf/09i23fwQy/r81xJ6gmu6SSJKn AA= Received: (qmail 105989 invoked by alias); 14 Nov 2018 21:28:43 -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 105966 invoked by uid 89); 14 Nov 2018 21:28:40 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: =?iso-8859-1?q?No=2C_score=3D-17=2E9_required=3D5=2E?= =?iso-8859-1?q?0_tests=BAYES_00=2CBODY_8BITS=2CGARBLED_BODY=2CGIT_?= =?iso-8859-1?q?PATCH_0=2CGIT_PATCH_2=2CGIT_PATCH_3=2CKAM_SHORT=2CR?= =?iso-8859-1?q?CVD_IN_DNSWL_NONE=2CSPF_HELO_PASS_autolearn=3Dham_v?= =?iso-8859-1?q?ersion=3D3=2E3=2E2_spammy=3Dreminder=2C_=D0=B8=D0?= =?iso-8859-1?q?=BB=D1=2C_HContent-Transfer-Encoding=3A8bit?= 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; Wed, 14 Nov 2018 21:28:36 +0000 Authentication-Results: mail.aegee.org/wAELSUrP003830; auth=pass (LOGIN) smtp.auth=didopalauzov@AEGEE.ORG DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aegee.org; s=k4096; t=1542230912; i=dkim+MSA-tls@aegee.org; r=y; bh=BKooutS8Y7pM8F2rl0j43uX+bovW0haUsNQvxUJ6j9M=; h=Subject:From:To:Date:References; b=SqtOzxwqfoNMitcx+OUO/J1X29BaQXrbVZEMjV8JRZQj1FDkzMt85zfqcZSduT7nu Jm8B6suVjCgdb+D0MTNH61uFkjiuXgaF+vA4yhIu6WjWFC/P3CniTtVHvyjngX7/Rb qJJkWc3pnvR+1uaVH9y/yKpO0B+K+M/JkP8nIr4uKAapFN8K5fpT4AAmJfgS+YTNPD ChD6xSncJMQzsq1nZCY4y5kldbeIqczPcpaHRz3QJyr6Qz2tGz/r2L0FbbKaSd5Yfh 66L7fwFyS7ZfHzzWzfDNLE3CmDvOK7bpAqS+oATs+PLa15xvnuat5tboFIpdy+B5zE bMiB7jI/fv1/t8LrDx/Cm11h0/C0Esq7XoDlyQOXVdi2sAYKdaGuvK3YAoGidRJjYW LFkpcq+xyU/WGLBpvw+/qAflfKM96PvvtzQMa6melV51uw1hPT189EoYNEilNeX5aM 5lMrQY2BVWY5P10sJ0zHLnp9boJl+jfj1u8g+n0RoRrcQs3TpifD5yfOn2uLhR6U/7 ZbKY+6Gj3vGQXXHc5mYrF3DhtIF3UQ3wcfIZwznlKjCYUZzEDy5M4TSP5DqlNoCjAn uzKjMm3m9x6XuaY5W96AhFvbwosLxRrdpQ7gQYs4npz69qyldQlBP1s1hX8QgoXmfd wpit8AW1ue7/8FZKDmFYEhHM= Authentication-Results: mail.aegee.org/wAELSUrP003830; dkim=none Received: from Tylan (dslb-084-061-083-131.084.061.pools.vodafone-ip.de [84.61.83.131]) (authenticated bits=0) by mail.aegee.org (8.15.2/8.15.2) with ESMTPSA id wAELSUrP003830 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 14 Nov 2018 21:28:31 GMT Message-ID: Subject: +reminder+ =?utf-8?b?RG9u4oCZdA==?= build gdb/readline/libreadline.a, when --with-system-readline is supplied From: =?utf-8?b?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?= To: gcc-patches Date: Wed, 14 Nov 2018 21:28:30 +0000 References: <3903f0afc8d14e84ca34f61dda357e1c6162489b.camel@aegee.org> User-Agent: Evolution 3.31.2 Mime-Version: 1.0 X-IsSubscribed: yes -------- Forwarded Message -------- From: Дилян Палаузов To: gcc-patches@gcc.gnu.org Subject: Don’t build gdb/readline/libreadline.a, when --with-system- readline is supplied Date: Sat, 27 Oct 2018 19:53:44 +0000 Building GDB always builds the bundled 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.