RFR: 8367913: LIBDL dependency seems to be not needed for some jdk libs [v3]

Alexey Ivanov aivanov at openjdk.org
Tue Sep 23 12:34:46 UTC 2025


On Tue, 23 Sep 2025 11:53:10 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> make/modules/java.base/Lib.gmk line 199:
>> 
>>> 197:       CXXFLAGS := -std=c++17, \
>>> 198:       DISABLED_WARNINGS_gcc := unused-variable, \
>>> 199:       LIBS_linux := $(LIBDL) $(LIBM), \
>> 
>> You need to restore the libdl dependency as well, not just document why it's needed. ;-)
>
> That's another build  ( BUILD_LIBSIMD_SORT ). Not our special  one (syslookup).

Yes, it looks confusing in the diffs. You have to expand the unchanged lines to see it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27358#discussion_r2372166387


More information about the serviceability-dev mailing list