RFR: 8352481: Enforce the use of lld with clang [v7]
SendaoYan
syan at openjdk.org
Thu Apr 3 15:36:20 UTC 2025
On Thu, 27 Mar 2025 02:21:30 GMT, SendaoYan <syan at 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
Hi @andrew-m-leonard, The new bug you mentioned seems duplicated to [JDK-8353005](https://bugs.openjdk.org/browse/JDK-8353005). Could you check that, thanks.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24125#discussion_r2027273470
More information about the build-dev
mailing list