[MacPorts] #62214: openmpi-default +gccdevel fails to build on aarch64 with "error: address argument to atomic operation must be a pointer to integer or pointer"

MacPorts noreply at macports.org
Tue Feb 9 08:59:36 UTC 2021


#62214: openmpi-default +gccdevel fails to build on aarch64 with "error: address
argument to atomic operation must be a pointer to integer or pointer"
------------------------------+----------------------------
  Reporter:  platipodium      |      Owner:  mascguy
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.6.4
Resolution:                   |   Keywords:  arm64, aarch64
      Port:  openmpi-default  |
------------------------------+----------------------------

Comment (by platipodium):

 Sure, just updated

 {{{
 sh-3.2# port installed |grep gcc-devel
   gcc-devel @11-20210207_0 (active)
   libgcc-devel @11-20210207_0 (active)
 }}}

 But the error persists.

 {{{
 :info:build In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_openmpi
 /openmpi-
 default/work/openmpi-4.1.0/opal/mca/pmix/pmix3x/pmix/src/atomics/sys/atomic.h:168:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_openmpi
 /openmpi-
 default/work/openmpi-4.1.0/opal/mca/pmix/pmix3x/pmix/src/atomics/sys/gcc_builtin/atomic.h:197:12:
 error: address argument to atomic operation must be a pointer to integer
 or pointer ('pmix_atomic_int128_t *' (aka '_Atomic(pmix_int128_t) *')
 invalid)
 :info:build     return __atomic_compare_exchange_n (addr, oldval, newval,
 false,
 :info:build            ^                            ~~~~
 :info:build 1 error generated.

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/62214#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list