On Mar 10, 2026, at 4:36 PM, Theo Buehler <[email protected]> wrote:
> 
> 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

I did miss doing lib-depends-check. Thanks for catching that.

Doing that now I realize now that those CONFIGURE_ARGS don’t swap
readline in for editline. It disabled both, so command editing does
not work (arrow keys, ^e, etc). That was not the intended outcome.

Withdrawing this diff. We need a better solution.

-Kurt


Reply via email to