The linux-arm32 build generates a somewhat spectacular number of warnings, all
for the same code - the offset_of macro in hotspot:
src/hotspot/share/utilities/globalDefinitions_gcc.hpp:144:40: warning:
requested alignment 16 is larger than 8 [-Wattributes]
alignas(16) char space[sizeof (klass)];
I was hoping to find a simple fix for the code in question but I'm not sure
what that would look like. Until proven otherwise I propose that we disable the
warning for arm32.
-------------
Commit messages:
- 8318481: linux-arm32 attribute warning for offset_of
Changes: https://git.openjdk.org/jdk/pull/16256/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16256&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8318481
Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/16256.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16256/head:pull/16256
PR: https://git.openjdk.org/jdk/pull/16256