Skip to content

PMIXv2x: OPAL_ASSEMBLY_ARCH macro definition missing in v3.0.x and v3.1.x #6458

@jsquyres

Description

@jsquyres

In compiling HEAD of v3.0.x and v3.1.x, I get a bunch of warnings like this:

775 In file included from /home/jsquyres/git/ompi-crossover/opal/mca/pmix/pmix2x/pmix/src/atomics/sys/atomic.h:162,
776                  from /home/jsquyres/git/ompi-crossover/opal/mca/pmix/pmix2x/pmix/src/threads/thread_usage.h:31,
777                  from /home/jsquyres/git/ompi-crossover/opal/mca/pmix/pmix2x/pmix/src/class/pmix_object.h:131,
778                  from /home/jsquyres/git/ompi-crossover/opal/mca/pmix/pmix2x/pmix/src/mca/base/base.h:31,
779                  from pmix_mca_base_component_compare.c:25:
780 /home/jsquyres/git/ompi-crossover/opal/mca/pmix/pmix2x/pmix/src/atomics/sys/gcc_builtin/atomic.h: In function ‘pmix_atomic_rmb’:
781 /home/jsquyres/git/ompi-crossover/opal/mca/pmix/pmix2x/pmix/src/atomics/sys/gcc_builtin/atomic.h:63:5: warning: "OPAL_ASSEMBLY_ARCH" is not defined, evaluates to 0 [-Wundef]
782  #if OPAL_ASSEMBLY_ARCH == OPAL_X86_64
783      ^~~~~~~~~~~~~~~~~~

Do we care / do we need to fix this? Is there an easy fix / commit we can cherry-pick from master and/or pmix to fix this issue?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions