Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8303949

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

    XMLWordPrintable

Details

    • b14
    • ppc
    • linux

    Backports

      Description

        When switching from gcc8 to gcc10 on Linux ppc64le, we get dozens of warnings in hotspot like these :

        adaptiveSizePolicy.cpp:262:6: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
        bcEscapeAnalyzer.cpp:1267:6: note: the layout of aggregates containing vectors with 4-byte alignment has changed in GCC 5
        block.cpp:1415:95: 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

        Attachments

          Issue Links

            Activity

              People

                mbaesken Matthias Baesken
                mbaesken Matthias Baesken
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: