Opened 6 years ago
Last modified 5 years ago
#57061 closed defect
glib2 @2.56.2: won't build +universal if libgcc7 installed — at Initial Version
Reported by: | kencu (Ken) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | tiger leopard | Cc: | |
Port: | glib2 |
Description
This is a niche situation, admittedly, disappearing from MacPorts.
building glib2 +universal fails on Tiger (and presumably Leopard) if libgcc7
is installed and active.
configuration of glib2
fails when it tries to find a compatible libiconv_open
to use. It finds /opt/local/lib/libstdc++.6.dylib
installed by libgcc7
which is only built in the host architecture, and errors out.
However, if libgcc7
is deactivated, then configure finds /usr/lib/libstdc++.6.dylib
instead, which is multiarchitecture and fat, and the universal build succeeds without issue.
I'm not sure if glib2
can be set up to find /usr/lib/libstdc++.6.dylib
preferentially. In the meantime, deactivating libgcc7
, upgrading glib2
, and then reactivating libgcc7
is a fairly trivial workaround.
Change History (2)
Changed 6 years ago by kencu (Ken)
Attachment: | glib2-universal-main.log added |
---|
Changed 6 years ago by kencu (Ken)
Attachment: | glib2-universal-config.log added |
---|