[MacPorts] #68639: reduce at 20211019_0 error: ld: symbol(s) not found for architecture arm64

MacPorts noreply at macports.org
Sun Nov 5 04:34:29 UTC 2023


#68639: reduce at 20211019_0  error: ld: symbol(s) not found for architecture arm64
--------------------------+--------------------
 Reporter:  zzanderr      |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:  Sonoma arm64  |       Port:  reduce
--------------------------+--------------------
 Build fails on MacBook Pro, M2, Sonoma 14.1, Xcode 15.1 Beta


 {{{
 :info:build libtool: link: gcc -dynamiclib  -o .libs/libffi.7.dylib
 src/.libs/prep_cif.o src/      .libs/types.o src/.libs/raw_api.o
 src/.libs/java_raw_api.o src/.libs/closures.o src/x86/.libs/      ffi64.o
 src/x86/.libs/unix64.o src/x86/.libs/ffiw64.o src/x86/.libs/win64.o
 -arch x86_64 -a      rch x86_64 -arch x86_64   -install_name
 /opt/local/var/macports/build/_opt_local_var_macports
 _sources_rsync.macports.org_macports_release_tarballs_ports_math_reduce/reduce/work
 /Reduce-svn      6110-src/cslbuild/aarch64-apple-darwin23.1.0/libffi
 /build-x86_64/../x86_64/lib/libffi.7.dylib       -compatibility_version 9
 -current_version 9.0
 14522 :info:build gcc: warning: this compiler does not support x86
 ('-arch' option ignored)
 14523 :info:build Undefined symbols for architecture arm64:
 14524 :info:build   "_ffi_call", referenced from:
 14525 :info:build       _ffi_raw_call in raw_api.o
 14526 :info:build       _ffi_java_raw_call in java_raw_api.o
 14527 :info:build   "_ffi_prep_cif_machdep", referenced from:
 14528 :info:build       _ffi_prep_cif_core in prep_cif.o
 14529 :info:build   "_ffi_prep_closure_loc", referenced from:
 14530 :info:build       _ffi_prep_closure in prep_cif.o
 14531 :info:build       _ffi_prep_raw_closure_loc in raw_api.o
 14532 :info:build       _ffi_prep_java_raw_closure_loc in java_raw_api.o
 14533 :info:build ld: symbol(s) not found for architecture arm64
 14534 :info:build collect2: error: ld returned 1 exit status
 14535 :info:build gmake[7]: *** [Makefile:1070: libffi.la] Error 1
 }}}

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


More information about the macports-tickets mailing list