On Thu, 27 Mar 2025 02:21:30 GMT, SendaoYan <s...@openjdk.org> wrote:

>> SendaoYan has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Force use of lld when build os is not macosx
>
> make/autoconf/toolchain.m4 line 625:
> 
>> 623:     # Force use of lld, since that is what we expect when setting flags 
>> later on
>> 624:     if test "x$TOOLCHAIN_TYPE" = xclang; then
>> 625:       if test "x$OPENJDK_BUILD_OS" != "xmacosx"; then
> 
> According to the implementation of makefile function 
> `FLAGS_SETUP_LDFLAGS_HELPER` which locate in make/autoconf/flags-ldflags.m4 
> file, only the combination of `$TOOLCHAIN_TYPE == clang` and 
> `$OPENJDK_TARGET_OS == linux` support lld linker.

@sendaoYan fyi, i've raised a new bug as this fails to build on AIX clang: 
https://bugs.openjdk.org/browse/JDK-8353658

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24125#discussion_r2027255076

Reply via email to