Opened 13 months ago

Last modified 2 months ago

#68588 assigned defect

gobject-introspection fails for girffi symbols

Reported by: rmottola (Riccardo) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: leopard x86_64 Cc:
Port: gobject-introspection

Description

Build fails with:

Undefined symbols:
  "_ffi_prep_closure_loc", referenced from:
      _g_callable_info_create_closure in girffi.c.o
  "_ffi_closure_alloc", referenced from:
      _g_callable_info_create_closure in girffi.c.o
  "_ffi_closure_free", referenced from:
      _g_callable_info_destroy_closure in girffi.c.o
      _g_callable_info_create_closure in girffi.c.o
ld: symbol(s) not found

Attachments (1)

main.log (148.0 KB) - added by rmottola (Riccardo) 13 months ago.
standard build log gcc 4.2

Download all attachments as: .zip

Change History (4)

Changed 13 months ago by rmottola (Riccardo)

Attachment: main.log added

standard build log gcc 4.2

comment:1 Changed 13 months ago by rmottola (Riccardo)

Forcing macport GCC 7 completes the build. I didn't check other compilers, maybe we can just blacklist apple 4.2 ? I hope there are no circular deps.

comment:2 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: x86_64 added; 64bit removed
Owner: set to mascguy
Status: newassigned

I see in the log that it is linking with /usr/lib/libffi.dylib. Unsure why it isn't using MacPorts libffi which presumably is the one that has the missing symbols.

comment:3 Changed 2 months ago by rmottola (Riccardo)

Just a comment that this issue is still actual on 10.5 x86_64. I tried humble gcc 4.8 instead of apple gcc 4.2 and worked.

Perhaps it is really a MP vs. Apple compiler issue? don't know.

Note: See TracTickets for help on using tickets.