Репозитории ALT
S: | 2.41-alt1 |
5.1: | 2.19.51.0.14-alt4 |
4.1: | 2.17.50.0.6-alt4 |
4.0: | 2.17.50.0.6-alt1 |
3.0: | 2.15.94.0.2.2-alt3 |
Другие репозитории
Upstream: | 2.18 |
Группа :: Разработка/Прочее
Пакет: binutils
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: 0020-ld-testsuite-ld-bootstrap-bootstrap.exp-disable-Wpsa.patch
Скачать
Скачать
From: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
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