Re: libxkbcommon version-script detection

2025-01-10 Thread Dimitry Andric
https://github.com/xkbcommon/libxkbcommon/pull/585 -Dimitry > On 10 Jan 2025, at 13:51, Dimitry Andric wrote: > > Upstream solved this slightly differently, and it's become a bit messy: > > https://github.com/xkbcommon/libxkbcommon/commit/ebe4157d by bapt added the > --undefined-version optio

Re: libxkbcommon version-script detection

2025-01-10 Thread Dimitry Andric
Upstream solved this slightly differently, and it's become a bit messy: https://github.com/xkbcommon/libxkbcommon/commit/ebe4157d by bapt added the --undefined-version option https://github.com/xkbcommon/libxkbcommon/commit/1d8a25d6 added yet another check, some old ld versions don't support --u

Re: libxkbcommon version-script detection

2025-01-10 Thread Peter Blok
Patch works fine! Thanks. Do I need to open up a bug to get this pushed upstream? Peter > On 10 Jan 2025, at 13:28, Dimitry Andric wrote: > > On 10 Jan 2025, at 12:56, Dimitry Andric > wrote: >> >> On 10 Jan 2025, at 12:20, Peter Blok wrote: >>> >>> Test works ok

Re: libxkbcommon version-script detection

2025-01-10 Thread Dimitry Andric
On 10 Jan 2025, at 12:56, Dimitry Andric wrote: > > On 10 Jan 2025, at 12:20, Peter Blok wrote: >> >> Test works ok when using clang18 from ports >> >>> On 10 Jan 2025, at 11:19, Dimitry Andric wrote: >>> >>> On 10 Jan 2025, at 10:22, Peter Blok wrote: I have recompiled x11/libxk

Re: libxkbcommon version-script detection

2025-01-10 Thread Dimitry Andric
On 10 Jan 2025, at 12:20, Peter Blok wrote: > > Test works ok when using clang18 from ports > >> On 10 Jan 2025, at 11:19, Dimitry Andric wrote: >> >> On 10 Jan 2025, at 10:22, Peter Blok wrote: >>> >>> I have recompiled x11/libxkbcommon and it fails to detect if the >>> compiler/linker sup

Re: libxkbcommon version-script detection

2025-01-10 Thread Peter Blok
Test works ok when using clang18 from ports > On 10 Jan 2025, at 11:19, Dimitry Andric wrote: > > On 10 Jan 2025, at 10:22, Peter Blok wrote: >> >> I have recompiled x11/libxkbcommon and it fails to detect if the >> compiler/linker supports versioned symbols. As a result other code expecting

Re: libxkbcommon version-script detection

2025-01-10 Thread Peter Blok
Hi Dimitry, Yes it is stable/14 from a week ago. It is from within a jail, but I just tested it outside the jail and it fails as well. The jail environment has been freshly rebuild on Januari 8. All executables and binaries are completely recompiled. Same problem on another older stable/14 sys

Re: libxkbcommon version-script detection

2025-01-10 Thread Dimitry Andric
On 10 Jan 2025, at 10:22, Peter Blok wrote: > > I have recompiled x11/libxkbcommon and it fails to detect if the > compiler/linker supports versioned symbols. As a result other code expecting > the versioned symbol to exist, fail to link. > > C compiler for the host machine: cc (clang 19.1.5 "