Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
Re: devel/lldb: fix readline/editline conflict
To:
Kurt Miller <kurt@intricatesoftware.com>
Cc:
ports@openbsd.org, robert@openbsd.org, semarie@online.fr, sthen@openbsd.org
Date:
Tue, 10 Mar 2026 21:36:30 +0100

Download raw body.

Thread
On Tue, Mar 10, 2026 at 09:29:55PM +0100, Theo Buehler wrote:
> On Tue, Mar 10, 2026 at 08:27:06PM +0000, Kurt Miller wrote:
> > All three ports lldb complain about symbol size mismatching:
> > lldb:/usr/lib/libreadline.so.6.0: /usr/lib/libedit.so.7.0 : WARNING: symbol(emacs_meta_keymap) size mismatch, relink your program
> > lldb:/usr/lib/libreadline.so.6.0: /usr/lib/libedit.so.7.0 : WARNING: symbol(emacs_standard_keymap) size mismatch, relink your program
> > lldb:/usr/lib/libreadline.so.6.0: /usr/lib/libedit.so.7.0 : WARNING: symbol(emacs_ctlx_keymap) size mismatch, relink your program
> > 
> > sthen@ and others on icb diagnosed this was due to python using
> > base libreadline.so and llvm/lldb using base libedit.so which have
> > a conflicting symbol size for KEYMAP_ENTRY_ARRAY. Fix by switchig
> > llvm & lldb to use libreadline.so. 
> > 
> > okay?
> 
> I'd have expected
> 
> -WANTLIB += edit
> -WANTLIB += readline

er. In words: replace edit with readline.

-WANTLIB += edit
+WANTLIB += readline