tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: alacritty: possible inputmethod issue?



On Sun, 20 Jun 2021 11:37:54 +0200
Thomas Klausner <wiz%netbsd.org@localhost> wrote:

> > I wonder if it would work instead to link the binary explicitly
> > with -lX11. Try this patch?
> 
> No, then I'm back to the previous error.

Turns out it links with -Wl,--as-needed so the DT_NEEDED for libX11 is
not being emitted. I tried to amend the package with

BUILDLINK_TRANSFORM+=	rm:-Wl,--as-needed

but that caused other really strange issues:

ac_rtld error: !data || data->d_size != shdr->sh_size
ac_rtld error: !data || data->d_size != shdr->sh_size
ac_rtld error: !data || data->d_size != shdr->sh_size
LLVM failed to upload shader

I'm afraid I'm again out of ideas for this one.
Probably best to revert the workaround and figure out
why lazy binding of libX11 fails to DTRT in the first place.


Home | Main Index | Thread Index | Old Index