Re: Unable to load lwjgl 2.x after JDK-8200178

2023-08-17 Thread Vladimir Petko
Hi, Thank you for the feedback!!! I will open an issue on JBS and work on it. Best Regards, Vladimir. On Fri, Aug 18, 2023 at 2:29 AM wrote: > > Hello Vladimir, > > I just checked and the toolchain we use on Linux at Oracle (produced by > the make/devkit scripts) isn't setting --as-needed eith

Re: Unable to load lwjgl 2.x after JDK-8200178

2023-08-17 Thread erik . joelsson
Hello Vladimir, I just checked and the toolchain we use on Linux at Oracle (produced by the make/devkit scripts) isn't setting --as-needed either (while the local toolchain on my Ubuntu machine does). From my understanding of that flag, it's not something we really want to be set. It would be

Re: Unable to load lwjgl 2.x after JDK-8200178

2023-08-16 Thread Vladimir Petko
Hi, It looks like Adoptium is building with CentOS 6.10[1] which does not append --as-needed linker flag by default. This results in the .gnu_version section created and the bug worked around with Temurin builds. In Debian/Ubuntu the toolchain automatically uses -as-needed by default so we've for

Re: Unable to load lwjgl 2.x after JDK-8200178

2023-06-29 Thread Vladimir Petko
Hi, The version section gets stripped because the toolchain links with --as-needed and libjawt.so is not using any libc symbols. The loader behaviour that allows loading an unversioned symbol instead of a specific version looks like a bug. Unfortunately, I can not think of any other solution othe

Re: Unable to load lwjgl 2.x after JDK-8200178

2023-06-29 Thread David Holmes
Hi Vladimir, This is not the first time this has come up: https://mail.openjdk.org/pipermail/build-dev/2020-February/026730.html but no real resolution. David On 27/06/2023 6:31 pm, Vladimir Petko wrote: Dear Maintainers, There is a bug[1] submitted in Debian that a number of games crash

Unable to load lwjgl 2.x after JDK-8200178

2023-06-27 Thread Vladimir Petko
Dear Maintainers, There is a bug[1] submitted in Debian that a number of games crash with the assertion Inconsistency detected by ld.so: dl-lookup.c: 107: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed! The investigation points to JAWT_G