[MacPorts] #72038: unicorn @2.1.1 fails to link: Undefined symbols: _helper_atomic_cmpxchgo_le_mmu_ppc64, _helper_atomic_cmpxchgo_be_mmu_aarch64 etc.

MacPorts noreply at macports.org
Mon Feb 10 05:10:43 UTC 2025


#72038: unicorn @2.1.1 fails to link: Undefined symbols:
_helper_atomic_cmpxchgo_le_mmu_ppc64,
_helper_atomic_cmpxchgo_be_mmu_aarch64 etc.
--------------------------+----------------------
 Reporter:  barracuda156  |      Owner:  crowell
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.5
 Keywords:                |       Port:  unicorn
--------------------------+----------------------
 {{{
 /opt/local/bin/libtool: file:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_unicorn/unicorn/work/build
 /libppc-softmmu.a(cpu-models.c.o) has no symbols
 /opt/local/bin/libtool: file:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_unicorn/unicorn/work/build
 /libppc-softmmu.a(machine.c.o) has no symbols
 /opt/local/bin/libtool: file:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_unicorn/unicorn/work/build/libppc64-softmmu.a
 (cpu-models.c.o) has no symbols
 /opt/local/bin/libtool: file:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_unicorn/unicorn/work/build/libppc64-softmmu.a(machine.c.o)
 has no symbols
 /opt/local/bin/libtool: file:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_unicorn/unicorn/work/build
 /libs390x-softmmu.a(tcg-stub.c.o) has no symbols
 Undefined symbols:
   "_helper_atomic_cmpxchgo_le_mmu_ppc64", referenced from:
       _helper_stqcx_le_parallel in libppc64-softmmu.a(mem_helper.c.o)
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_unicorn/unicorn/work/build'
   "_helper_atomic_cmpxchgo_be_mmu_aarch64", referenced from:
 [ 93%] Built target bundling_target
       _helper_paired_cmpxchg64_be_parallel_aarch64 in
 libaarch64-softmmu.a(helper-a64.c.o)
       _helper_casp_be_parallel_aarch64 in
 libaarch64-softmmu.a(helper-a64.c.o)
   "_helper_atomic_ldo_le_mmu_ppc64", referenced from:
       _helper_lq_le_parallel in libppc64-softmmu.a(mem_helper.c.o)
   "_helper_atomic_cmpxchgo_le_mmu_aarch64", referenced from:
       _helper_paired_cmpxchg64_le_parallel_aarch64 in
 libaarch64-softmmu.a(helper-a64.c.o)
       _helper_casp_le_parallel_aarch64 in
 libaarch64-softmmu.a(helper-a64.c.o)
   "_helper_atomic_sto_be_mmu_s390x", referenced from:
       _helper_stpq_parallel in libs390x-softmmu.a(mem_helper.c.o)
   "_helper_atomic_sto_be_mmu_ppc64", referenced from:
       _helper_stq_be_parallel in libppc64-softmmu.a(mem_helper.c.o)
   "_helper_atomic_sto_le_mmu_ppc64", referenced from:
       _helper_stq_le_parallel in libppc64-softmmu.a(mem_helper.c.o)
   "_helper_atomic_cmpxchgo_be_mmu_s390x", referenced from:
       _helper_cdsg_parallel in libs390x-softmmu.a(mem_helper.c.o)
   "_helper_atomic_ldo_be_mmu_s390x", referenced from:
       _helper_lpq_parallel in libs390x-softmmu.a(mem_helper.c.o)
   "_helper_atomic_cmpxchgo_be_mmu_ppc64", referenced from:
       _helper_stqcx_be_parallel in libppc64-softmmu.a(mem_helper.c.o)
   "_helper_atomic_ldo_be_mmu_ppc64", referenced from:
       _helper_lq_be_parallel in libppc64-softmmu.a(mem_helper.c.o)
 ld: symbol(s) not found
 collect2: error: ld returned 1 exit status
 /opt/local/bin/gcc-mp-14 -pipe -Os -DNDEBUG
 -isystem/opt/local/include/LegacySupport -I/opt/local/include -arch ppc
 -mmacosx-version-min=10.6 -dynamiclib -Wl,-headerpad_max_install_names
 -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport
 -compatibility_version 2.0.0 -current_version 2.0.0 -o libunicorn.2.dylib
 -install_name /opt/local/lib/libunicorn.2.dylib
 CMakeFiles/unicorn.dir/uc.c.o CMakeFiles/unicorn.dir/qemu/softmmu/vl.c.o
 CMakeFiles/unicorn.dir/qemu/hw/core/cpu.c.o  -Wl,-rpath,/opt/local/lib
 libunicorn-common.a libx86_64-softmmu.a libarm-softmmu.a
 libaarch64-softmmu.a libm68k-softmmu.a libmips-softmmu.a libmipsel-
 softmmu.a libmips64-softmmu.a libmips64el-softmmu.a libsparc-softmmu.a
 libsparc64-softmmu.a libppc-softmmu.a libppc64-softmmu.a
 libriscv32-softmmu.a libriscv64-softmmu.a libs390x-softmmu.a libtricore-
 softmmu.a -latomic -lm -lm libunicorn-common.a -lpthread
 make[2]: *** [libunicorn.2.dylib] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/72038>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list