Integrated: 8274300: Address dsymutil warning by excluding platform specific files
Mikael Vidstedt
mikael at openjdk.org
Mon Jan 8 20:20:31 UTC 2024
On Fri, 5 Jan 2024 21:05:49 GMT, Mikael Vidstedt <mikael at openjdk.org> wrote:
> When building on macOS, dsymutil generates a warning for some files:
>
> `warning: no debug symbols in executable (-arch x86_64)`
>
> It turns out that the files in question have one thing in common: they're empty. Specifically, the source files have include guards which, on macOS, end up excluding all the actual source code, leaving an effectively empty source file and hence empty object file.
>
> This change excludes the relevant files from the builds/platforms where they're not needed.
>
> Testing: tier1,builds-tier[2-5]
This pull request has now been integrated.
Changeset: 8a4dc79e
Author: Mikael Vidstedt <mikael at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/8a4dc79e1a40e7115e2971af81623b6b0368f41c
Stats: 11 lines in 2 files changed: 9 ins; 0 del; 2 mod
8274300: Address dsymutil warning by excluding platform specific files
Reviewed-by: erikj
-------------
PR: https://git.openjdk.org/jdk/pull/17287
More information about the build-dev
mailing list