RFR: 8274300: Address dsymutil warning by excluding platform specific files

Mikael Vidstedt mikael at openjdk.org
Fri Jan 5 21:11:28 UTC 2024


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]

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

Commit messages:
 - Update copyright year
 - 8274300: Address dsymutil warning by excluding platform specific files

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

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


More information about the build-dev mailing list