re PR bootstrap/80531 (RC1 bootstrap comparison failure)
authorJakub Jelinek <jakub@redhat.com>
Thu, 27 Apr 2017 20:03:01 +0000 (22:03 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 27 Apr 2017 20:03:01 +0000 (22:03 +0200)
PR bootstrap/80531
* configure.tgt (*-*-aix*): Add -frandom-seed=$@ to XCFLAGS to avoid
bootstrap compare failures.

From-SVN: r247350

libgomp/ChangeLog
libgomp/configure.tgt

index 633ba37a62b3f0bcafd5c52fc3c938b4f976a932..ca29cf773c34dbf799687ad897bce22f976fb005 100644 (file)
@@ -1,3 +1,9 @@
+2017-04-27  Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/80531
+       * configure.tgt (*-*-aix*): Add -frandom-seed=$@ to XCFLAGS to avoid
+       bootstrap compare failures.
+
 2017-04-20  Alexander Monakov  <amonakov@ispras.ru>
 
        * testsuite/libgomp.c/target-36.c: New testcase.
index 77e73f01f1abda2b08b722ff4d926080d233a799..74d95a570c7f295acbd25c069096266e450d0f15 100644 (file)
@@ -149,6 +149,8 @@ case "${target}" in
        config_path="posix"
        # Need to link with -lpthread so libgomp.so is self-contained.
        XLDFLAGS="${XLDFLAGS} -lpthread"
+       # AIX needs -frandom-seed for bootstrap compare.
+       XCFLAGS="${XCFLAGS} -frandom-seed=\$@"
        ;;
 
   nvptx*-*-*)