RFR: JDK-8303949: gcc10 warning Linux ppc64le - note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5

Matthias Baesken mbaesken at openjdk.org
Fri Mar 10 12:35:14 UTC 2023


When switching from gcc8 to gcc10 on Linux ppc64le, we get dozens of warnings in hotspot and other sources like this

adaptiveSizePolicy.cpp:262:6: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5

Probably it would make sense to suppress the warning, -Wno-psabi might be an option.
Some info about this :

https://patches.dpdk.org/project/dpdk/patch/20210623161620.49916-1-drc@linux.vnet.ibm.com/

https://stackoverflow.com/questions/52020305/what-exactly-does-gccs-wpsabi-option-do-what-are-the-implications-of-supressi

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

Commit messages:
 - JDK-8303949

Changes: https://git.openjdk.org/jdk/pull/12972/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12972&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8303949
  Stats: 5 lines in 1 file changed: 4 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/12972.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12972/head:pull/12972

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



More information about the build-dev mailing list