[MacPorts] #61170: libffi @3.3_1 fails to build on 10.5 i386

MacPorts noreply at macports.org
Wed Sep 16 15:35:07 UTC 2020


#61170: libffi @3.3_1 fails to build on 10.5 i386
------------------------+---------------------
  Reporter:  fhgwright  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:             |   Keywords:  leopard
      Port:  libffi     |
------------------------+---------------------

Comment (by kencu):

 building this on Leopard i386 using clang-3.4 pulls in a lot of
 interesting assembly errors in the area of concern, but it does finish
 {{{
 ibtool: link: /opt/local/bin/clang-mp-3.4 -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/ffi.o src/x86/.libs/sysv.o   -L/opt/local/lib  -Os -arch
 i386 -Wl,-headerpad_max_install_names -arch i386
 -Wl,-headerpad_max_install_names -arch i386   -install_name
 /opt/local/lib/libffi.7.dylib -compatibility_version 9 -current_version
 9.0 -Wl,-single_module
 ld: warning: could not create compact unwind for _ffi_call_i386: non-
 standard register 5 being saved in prolog
 ld: warning: could not create compact unwind for _ffi_go_closure_EAX: does
 not use EBP or ESP based frame
 ld: warning: could not create compact unwind for _ffi_go_closure_ECX: does
 not use EBP or ESP based frame
 ld: warning: could not create compact unwind for _ffi_closure_i386: does
 not use EBP or ESP based frame
 ld: warning: could not create compact unwind for _ffi_go_closure_STDCALL:
 does not use EBP or ESP based frame
 ld: warning: could not create compact unwind for _ffi_closure_REGISTER:
 register saved more than once (might be shrink wrap)
 ld: warning: could not create compact unwind for _ffi_closure_STDCALL:
 does not use EBP or ESP based frame
 ld: warning: could not create compact unwind for _ffi_closure_raw_SYSV:
 does not use EBP or ESP based frame
 ld: warning: could not create compact unwind for
 _ffi_closure_raw_THISCALL: register saved more than once (might be shrink
 wrap)
 libtool: link: (cd ".libs" && rm -f "libffi.dylib" && ln -s
 "libffi.7.dylib" "libffi.dylib")
 libtool: link: ar cru .libs/libffi.a  src/prep_cif.o src/types.o
 src/raw_api.o src/java_raw_api.o src/closures.o src/x86/ffi.o
 src/x86/sysv.o
 libtool: link: ranlib .libs/libffi.a
 }}}

 it looks like all the eh_unwind functions are being skipped anyway in this
 build by the linker...

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


More information about the macports-tickets mailing list