> Please review following fix for linking static JDK launcher, thanks. > > - Set LINK_TYPE to C++ when building the static launcher to make sure LDCXX > instead of LD is used for linking. > > - Remove -l:libstdc++. For linux, -static-libstdc++ is already set in > STATIC_STDCXX_FLAGS. See > https://github.com/openjdk/jdk/blob/e0d639878346946d0627a57b0eeb0cac8ca533fc/make/autoconf/lib-std.m4#L50. > > See more details in https://bugs.openjdk.org/browse/JDK-8345744.
Jiangli Zhou has updated the pull request incrementally with one additional commit since the last revision: Remove -lstdc++ and STANDARD_LIBS, based on magicus' comment. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/22624/files - new: https://git.openjdk.org/jdk/pull/22624/files/2012cbe7..81e5c8b2 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=22624&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22624&range=00-01 Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/22624.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/22624/head:pull/22624 PR: https://git.openjdk.org/jdk/pull/22624