[MacPorts] #70386: glib2 @2.78.4_0+x11: ld: unknown option: -export_dynamic

MacPorts noreply at macports.org
Tue Jul 30 18:48:31 UTC 2024


#70386: glib2 @2.78.4_0+x11: ld: unknown option: -export_dynamic
-----------------------+-------------------------------
  Reporter:  nathanpc  |      Owner:  mascguy
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.9.3
Resolution:            |   Keywords:  leopard ppc64 ppc
      Port:  glib2     |
-----------------------+-------------------------------

Comment (by ryandesign):

 I don't think #53150 is relevant. #53150 is about `-export_dynamic` being
 automatically added when `-rdynamic` is used. In the case of glib2 here,
 `-rdynamic` is not being used. The error is only happening when building
 the gmodule tests, so I think it is because the file
 gmodule/tests/meson.build is explicitly asking for `-export_dynamic` by
 using `'export_dynamic' : true`:

 https://gitlab.gnome.org/GNOME/glib/-/blob/ade79bcb5006c33d6f644cfe41d22d14728e585f/gmodule/tests/meson.build#L56

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


More information about the macports-tickets mailing list