From: Gleb Fotengauer-Malinovskiy Date: Fri, 10 Sep 2021 02:42:07 +0300 Subject: ld/testsuite/ld-bootstrap/bootstrap.exp: disable -Wpsabi warning on ppc64le diff --git a/ld/testsuite/ld-bootstrap/bootstrap.exp b/ld/testsuite/ld-bootstrap/bootstrap.exp index defaced..defaced 100644 --- a/ld/testsuite/ld-bootstrap/bootstrap.exp +++ b/ld/testsuite/ld-bootstrap/bootstrap.exp @@ -173,6 +173,13 @@ foreach flags $test_flags { setup_xfail "mips*-*-irix5*" } + # If binutils is build with PGO enabled, + # on ppc gcc may print note message like this: + # note: the layout of aggregates containing vectors with 4-byte alignment has changed in GCC 5 + if { [istarget "powerpc*-*-*"] } { + set flags "$flags -Wno-psabi" + } + if ![ld_link $CC tmpdir/ld1 "$flags tmpdir/ld-partial.o $CTFLIB $BFDLIB $LIBIBERTY $extralibs"] { fail $testname continue