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

Martin Doerr mdoerr at openjdk.org
Fri Mar 10 14:50:15 UTC 2023


On Fri, 10 Mar 2023 12:28:05 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> 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

LGTM. Thanks!

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

Marked as reviewed by mdoerr (Reviewer).

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



More information about the build-dev mailing list