[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1.1-22-gf8c8d5a
Service Account
noreply at mpich.org
Fri Jun 20 10:23:05 CDT 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".
The branch, master has been updated
via f8c8d5aa6e3081716c3ee38f83f528bc7a061c49 (commit)
from d7cf8a8a6de76e8b831b12cd73022ba3f903662a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/f8c8d5aa6e3081716c3ee38f83f528bc7a061c49
commit f8c8d5aa6e3081716c3ee38f83f528bc7a061c49
Author: Huiwei Lu <huiweilu at mcs.anl.gov>
Date: Thu Jun 19 16:38:05 2014 -0500
Improve checking for C compiler options on Solaris
When using --enable-strict, configure tests for support of certain flags
with the selected compiler. PAC_C_CHECK_COMPILER_OPTION (in
confdb/aclocal_cc.m4) should be able to detect that the
"-D_POSIX_C_SOURCE=200112L" flag is not accepted by the Solaris compiler,
but it does not. The method used (AC_LANG_PROGRAM() in confdb/aclocal_cc.m4:48)
uses an empty parameter, the result of which is an empty main that somehow
passes the detection. Replacing it with a "hello world" test case will
correctly detect the error and remove "-D_POSIX_C_SOURCE=200112L" from the
accepted flags. Configure can then complete successfully.
Note that compilation in this configuration will still freeze due to a
solaris compiler bug. See #2105.
Signed-off-by: Ken Raffenetti <raffenet at mcs.anl.gov>
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index 8ece71f..43977b7 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -2,6 +2,15 @@
KNOWN ISSUES
----------------------------------------------------------------------
+### Solaris compilers
+
+ * Compilation on solaris will freeze when MPICH is configured with
+ "--enable-strict". This is due to a solaris compiler bug related
+ to a specific order of assignments to long long and short variables.
+ See the following ticket for more information:
+
+ https://trac.mpich.org/projects/mpich/ticket/2105
+
### Fine-grained thread safety
* ch3:sock does not (and will not) support fine-grained threading.
diff --git a/confdb/aclocal_cc.m4 b/confdb/aclocal_cc.m4
index 23172d9..f03e0c2 100644
--- a/confdb/aclocal_cc.m4
+++ b/confdb/aclocal_cc.m4
@@ -45,7 +45,10 @@ CFLAGS_orig="$CFLAGS"
CFLAGS_opt="$pac_opt $CFLAGS"
pac_result="unknown"
-AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
+AC_LANG_CONFTEST([
+ AC_LANG_PROGRAM([[const char hw[] = "Hello, World\n";]],
+ [[fputs (hw, stdout);]])
+])
CFLAGS="$CFLAGS_orig"
rm -f pac_test1.log
PAC_LINK_IFELSE_LOG([pac_test1.log], [], [
-----------------------------------------------------------------------
Summary of changes:
RELEASE_NOTES | 9 +++++++++
confdb/aclocal_cc.m4 | 5 ++++-
2 files changed, 13 insertions(+), 1 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list