On Sat, 13 Jul 2024 13:43:42 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:

> In [JDK-8257913](https://bugs.openjdk.org/browse/JDK-8257913), we added the 
> search paths for X11 libraries, but they point explicitly to `libX11.so`. 
> First, this is not really correct, as `x_libraries` would be added to a 
> search path. Second, this apparently does not work for sysroots created by 
> crosstool-ng, likely because it wants to find other libraries in the same 
> location. Debootstrap-ed GHA seem to work because they find the X11 libraries 
> before hitting this code, apparently.
> 
> We should just drop the `libX11.so` parts, and leave only the path.
> 
> Additional testing:
>  - [x] JDK 23, 21, 17, 11 builds with the patch and crosstool-ng without 
> problems now
>  - [x] GHA
>  - [x] A matrix of Server/Zero builds with GCC 10

Marked as reviewed by jwaters (Committer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/20170#pullrequestreview-2176579456

Reply via email to