Opened 14 months ago

Closed 9 months ago

#67071 closed defect (fixed)

gobject-introspection fails with default compiler Leopard

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

Description

system apple gcc 4.2 fails to compile

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
collect2: ld returned 1 exit status

using macports gcc 6 instead works. I'd blacklist the apple standard compiler 4.2 on 10.5

Change History (3)

comment:1 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macsguy to mascguy

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

Just confirmed today it is still the case, I tried building with gcc7 and it also works. It is a delicate port however, I hope no circular dependencies are created.

comment:3 in reply to:  2 Changed 9 months ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: assignedclosed

Replying to rmottola:

Just confirmed today it is still the case, I tried building with gcc7 and it also works. It is a delicate port however, I hope no circular dependencies are created.

Great, closing as fixed. We can reopen if you find any issues.

Note: See TracTickets for help on using tickets.