Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2011 16:46:30 +0700
From:      Max Khon <fjoe@samodelkin.net>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: removing libreadline from base system
Message-ID:  <CADe0-4k%2B=%2BfkXyatjDuVzNak0u=0UaaJcFEaLYad61q05anh1Q@mail.gmail.com>
In-Reply-To: <20111129085946.GD6680@azathoth.lan>
References:  <CADe0-4kDotyR096Yfv9_pwAw_K6fe2XJ5QUpgkFLE1Q6q4YdmA@mail.gmail.com> <20111129085946.GD6680@azathoth.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
Baptiste,

On Tue, Nov 29, 2011 at 3:59 PM, Baptiste Daroussin <bapt@freebsd.org>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADe0-4k%2B=%2BfkXyatjDuVzNak0u=0UaaJcFEaLYad61q05anh1Q>