Integrated: 8327045: Consolidate -fvisibility=hidden as a basic flag for all compilation

Magnus Ihse Bursie ihse at openjdk.org
Thu Mar 14 07:33:44 UTC 2024


On Wed, 13 Mar 2024 09:57:12 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> After we removed mapfiles, we can setup -fvisibility=hidden (and -Wl,--exclude-libs,ALL) in the most basic flags, so this applies to all compilation.
> 
> This will remove duplicate code and make the underlying assumptions of the build clearer.
> 
> (This PR replaces https://github.com/openjdk/jdk/pull/18061 which got too messy.)

This pull request has now been integrated.

Changeset: 44aef386
Author:    Magnus Ihse Bursie <ihse at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/44aef386238977a960093027d9784c667550aae4
Stats:     46 lines in 6 files changed: 4 ins; 37 del; 5 mod

8327045: Consolidate -fvisibility=hidden as a basic flag for all compilation

Reviewed-by: erikj

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

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


More information about the build-dev mailing list