Re: [MacPorts] #61153: libffi @3.3_1: error: expected ‘)’ before ‘*’ token

MacPorts noreply at macports.org
Wed Sep 9 15:46:18 UTC 2020


#61153: libffi @3.3_1: error: expected ‘)’ before ‘*’ token
-------------------------+------------------------------
  Reporter:  TzunamiOSX  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.3
Resolution:              |   Keywords:  leopard, powerpc
      Port:  libffi      |
-------------------------+------------------------------

Comment (by kencu):

 yep, that's the bootstrapping issue I was talking about.

 turns out gcc7 doesn't fix it either, but at least it has better error
 messages to get us closer to the real issue:
 {{{
 libtool: compile:  /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I.. -I.
 -I../include -Iinclude -I../src -I/opt/local/include -pipe -Os -arch ppc
 -Wall -fexceptions -MT src/powerpc/ffi_darwin.lo -MD -MP -MF
 src/powerpc/.deps/ffi_darwin.Tpo -c ../src/powerpc/ffi_darwin.c  -fno-
 common -DPIC -o src/powerpc/.libs/ffi_darwin.o
 ../src/powerpc/ffi_darwin.c:1114:22: error: unknown type name
 'ffi_go_closure'; did you mean 'ffi_raw_closure'?
  ffi_prep_go_closure (ffi_go_closure* closure,
                       ^~~~~~~~~~~~~~
                       ffi_raw_closure
 ../src/powerpc/ffi_darwin.c:1172:31: error: unknown type name
 'ffi_go_closure'; did you mean 'ffi_raw_closure'?
  ffi_go_closure_helper_DARWIN (ffi_go_closure*, void *,
                                ^~~~~~~~~~~~~~
                                ffi_raw_closure
 ../src/powerpc/ffi_darwin.c:1434:31: error: unknown type name
 'ffi_go_closure'; did you mean 'ffi_raw_closure'?
  ffi_go_closure_helper_DARWIN (ffi_go_closure *closure, void *rvalue,
                                ^~~~~~~~~~~~~~
                                ffi_raw_closure
 }}}

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


More information about the macports-tickets mailing list