Tuesday, March 10, 2026

Re: devel/lldb: fix readline/editline conflict

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

No comments:

Post a Comment