Skip to content

Commit 44d95cb

Browse files
committed
Merge pull request #1657 from bgoglin/hwloc-for-2.0
configure: check the actual may_alias syntax that we use
2 parents 7767882 + 6839d92 commit 44d95cb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

opal/mca/hwloc/hwloc1112/hwloc/README-ompi.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ Cherry-picked commits after 1.11.2:
22

33
open-mpi/hwloc@d2d07b9a2268699e13e1644b4f2ef7a53ef7396c
44
open-mpi/hwloc@9549fd59af04dca2e2340e17f0e685f8c552d818
5+
open-mpi/hwloc@0ab7af5e90fc2b58be30b2126cc2a73f9f7ecfe9

opal/mca/hwloc/hwloc1112/hwloc/config/hwloc_check_attributes.m4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,9 +322,10 @@ AC_DEFUN([_HWLOC_CHECK_ATTRIBUTES], [
322322
# Attribute may_alias: No suitable cross-check available, that works for non-supporting compilers
323323
# Ignored by intel-9.1.045 -- turn off with -wd1292
324324
# Ignored by PGI-6.2.5; ignore not detected due to missing cross-check
325+
# The test case is chosen to match our only use in topology-xml-*.c, and reproduces an xlc-13.1.0 bug.
325326
#
326327
_HWLOC_CHECK_SPECIFIC_ATTRIBUTE([may_alias],
327-
[int * p_value __attribute__ ((__may_alias__));],
328+
[struct { int i; } __attribute__ ((__may_alias__)) * p_value;],
328329
[],
329330
[])
330331

0 commit comments

Comments
 (0)