From owner-freebsd-current@FreeBSD.ORG Tue Nov 29 10:34:17 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 476121065670 for ; Tue, 29 Nov 2011 10:34:17 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1411F8FC13; Tue, 29 Nov 2011 10:34:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pATAYGdp069562; Tue, 29 Nov 2011 10:34:16 GMT (envelope-from bapt@freebsd.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pATAYGlR069560; Tue, 29 Nov 2011 10:34:16 GMT (envelope-from bapt@freebsd.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@freebsd.org using -f Date: Tue, 29 Nov 2011 11:34:13 +0100 From: Baptiste Daroussin To: Max Khon Message-ID: <20111129103413.GF6680@azathoth.lan> References: <20111129085946.GD6680@azathoth.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TU+u6i6jrDPzmlWF" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current Subject: Re: removing libreadline from base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2011 10:34:17 -0000 --TU+u6i6jrDPzmlWF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 29, 2011 at 04:46:30PM +0700, Max Khon wrote: > Baptiste, >=20 > On Tue, Nov 29, 2011 at 3:59 PM, Baptiste Daroussin wro= te: >=20 > > It is possible to build and link our in-tree gdb & friends with libedit > > > after r228114. > > > > > > The remaining question is what to do with libreadline: > > > > > > 1) just build & link gdb with libedit > > > > > > OR > > > > > > 2) re-import libreadline from gdb sources and build INTERNALLIB versi= on > > of > > > it that is never installed and is linked only to gdb > > > > > > I am inclined to go for 1) but libedit may have (and has) > > incompatibilities > > > with libreadline. > > > > Back when I sent a libedit upgrade patch, before obrien update libedit = on > > his > > own, I managed to build the whole tree with libedit, gdb, ntpc and othe= rs > > were > > fully functionnal with it, (at that time I totally removed libreadline) > > >=20 > The whole src tree now builds without libreadline. >=20 >=20 > > The only "problem" I see is from the ports lots of them relies on base > > libreadline, so we need to first run an exp-run without libreadline, to > > determine the impact and fix the related ports, before we can fully dro= pped > > libreadline. > > >=20 > This is a separate issue that I want to handle separately. >=20 > The question is what to do with gdb & friends. Link it with libedit or > re-import bundled readline (that is shipped with gdb) and build/link it > only to gdb. >=20 > I am inclined to do the former. >=20 > Max linking to libedit is the right way imho. regards, Bapt --TU+u6i6jrDPzmlWF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk7UtSUACgkQ8kTtMUmk6EziYQCgvSvYG8LXwhJEGcXibTrJ1A/E zDkAmQEHku2QGaehVXcDzyp5AMt8jQK7 =a0DF -----END PGP SIGNATURE----- --TU+u6i6jrDPzmlWF--