RFR: 8295231: Move all linking of native libraries to make

Julian Waters jwaters at openjdk.org
Sun Oct 16 08:45:54 UTC 2022


Some external libraries required by native code are linked via linker comments embedded in pragmas. Searching for which libraries are linked can then become frustrating and confusing since they may be included in an obscure place, and for all relevant compilers there is no difference between specifying them from make and in a source file. The easiest solution is to just always link them from make and remove any source level linkage.

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

Commit messages:
 - Commit remaining libraries
 - Merge branch 'openjdk:master' into patch-2
 - Comment change, force link failures to determine libraries to include in make
 - Update WinSysInfo.cpp
 - Update WinFileUtils.cpp
 - Update WinApp.cpp
 - Update MsiUtils.cpp
 - Update MsiDb.cpp
 - Update MsiCA.cpp
 - Update Guid.cpp
 - ... and 12 more: https://git.openjdk.org/jdk/compare/0043d58c...cfa80528

Changes: https://git.openjdk.org/jdk/pull/10633/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10633&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8295231
  Stats: 35 lines in 14 files changed: 3 ins; 22 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/10633.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10633/head:pull/10633

PR: https://git.openjdk.org/jdk/pull/10633



More information about the build-dev mailing list