RFR: 8304871: Use default visibility for static library builds

Severin Gehwolf sgehwolf at openjdk.org
Fri Mar 24 15:44:59 UTC 2023


Please review this change for symbol visibility of static library artefacts. This fixes an issue when
OpenJDK is being used as a base for generating native images preventing the symbols from being
exported and looked up from the executable. Note that symbol visibity is now controlled by a
linker version script downstream. This changes nothing for the regularly shipped dynamic libraries.

Thoughts?

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

Commit messages:
 - 8304871: Use default visibility for static library builds

Changes: https://git.openjdk.org/jdk/pull/13177/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13177&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8304871
  Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/13177.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13177/head:pull/13177

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



More information about the build-dev mailing list