Skip to content

3.0.0rc2: Borked OPAL_CHECK_GCC_ATOMIC_BUILTINS definitions #3993

@hppritcha

Description

@hppritcha

@PHHargrove reports seeing problems using xlc12.1 to build 3.0.0rc2

With xlc-12.1 I am seeing spurious failures of configure tests due to multiple definitions of OPAL_ASM_SYNC_HAVE_64BIT:

"conftest.c", line 211.9: 1506-236 (W) Macro name OPAL_ASM_SYNC_HAVE_64BIT has been redefined.
"conftest.c", line 211.9: 1506-358 (I) "OPAL_ASM_SYNC_HAVE_64BIT" is defined on line 209 of conftest.c.

Indeed the generated boilerplate in each conftest.c past a certain point contains two *different* definitions of this macro on lines 209 and 211:

 [...]
 #define OPAL_ASM_SYNC_HAVE_64BIT
 #define OPAL_HAVE_GCC_BUILTIN_CSWAP_INT128 0
 #define OPAL_ASM_SYNC_HAVE_64BIT 1
 [...]

reported on devel:
https://www.mail-archive.com/devel@lists.open-mpi.org//msg20323.html

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions