RFR: 8274300: Address dsymutil warning by excluding platform specific files
Mikael Vidstedt
mikael at openjdk.org
Mon Jan 8 20:20:30 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]
Thank you for the reviews.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17287#issuecomment-1881758863
More information about the build-dev
mailing list