From 4c41782be35ad75cf0f070a35d079e30de3e253c Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 27 Apr 2017 22:03:38 +0200 Subject: [PATCH] re PR bootstrap/80531 (RC1 bootstrap comparison failure) PR bootstrap/80531 * configure.tgt (*-*-aix*): Add -frandom-seed=$@ to XCFLAGS to avoid bootstrap compare failures. From-SVN: r247351 --- libgomp/ChangeLog | 6 ++++++ libgomp/configure.tgt | 2 ++ 2 files changed, 8 insertions(+) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 806986654a9..e494097a7d2 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,9 @@ +2017-04-27 Jakub Jelinek + + PR bootstrap/80531 + * configure.tgt (*-*-aix*): Add -frandom-seed=$@ to XCFLAGS to avoid + bootstrap compare failures. + 2017-04-20 Alexander Monakov Backport from mainline diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt index 77e73f01f1a..74d95a570c7 100644 --- a/libgomp/configure.tgt +++ b/libgomp/configure.tgt @@ -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*-*-*)