From owner-freebsd-current@FreeBSD.ORG Tue Nov 29 09:46:31 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 2EB22106564A; Tue, 29 Nov 2011 09:46:31 +0000 (UTC) (envelope-from fjoe@samodelkin.net) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id D55AA8FC08; Tue, 29 Nov 2011 09:46:30 +0000 (UTC) Received: by ywp17 with SMTP id 17so6732066ywp.13 for ; Tue, 29 Nov 2011 01:46:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.89.39 with SMTP id bl7mr2397467obb.43.1322559990126; Tue, 29 Nov 2011 01:46:30 -0800 (PST) Received: by 10.182.76.225 with HTTP; Tue, 29 Nov 2011 01:46:30 -0800 (PST) X-Originating-IP: [93.92.220.178] In-Reply-To: <20111129085946.GD6680@azathoth.lan> References: <20111129085946.GD6680@azathoth.lan> Date: Tue, 29 Nov 2011 16:46:30 +0700 Message-ID: From: Max Khon To: Baptiste Daroussin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 09:46:31 -0000 Baptiste, On Tue, Nov 29, 2011 at 3:59 PM, Baptiste Daroussin wrote: > 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 version > 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 others > were > fully functionnal with it, (at that time I totally removed libreadline) > The whole src tree now builds without libreadline. > 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 dropped > libreadline. > This is a separate issue that I want to handle separately. 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. I am inclined to do the former. Max