[MacPorts] #67977: gtk4 uses Linux flags on Mac which breaks the build

MacPorts noreply at macports.org
Fri Aug 18 00:30:40 UTC 2023


#67977: gtk4 uses Linux flags on Mac which breaks the build
---------------------------+---------------------
  Reporter:  barracuda156  |      Owner:  mascguy
      Type:  defect        |     Status:  closed
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:  invalid       |   Keywords:
      Port:  gtk4          |
---------------------------+---------------------

Comment (by barracuda156):

 Replying to [comment:1 mascguy]:
 > `-export_dynamic` isn't Linux-specific. From the man page for `ld`:
 >
 > {{{
 > -export_dynamic
 >     Preserves all global symbols in main executables during LTO. Without
 this option, Link Time Optimization is allowed to inline
 >     and remove global functions. This option is used when a main
 executable may load a plug-in which requires certain symbols from
 >     the main executable.
 > }}}
 >
 > However, a quick Google search suggests that it's not necessarily
 supported with GCC.
 >
 > Just as importantly, `gtk4` doesn't build for macOS 10.6 and earlier.
 And to answer the obvious question: No, we don't have an ETA, relative to
 supporting 10.6.
 >
 > https://ports.macports.org/port/gtk4/details/

 Given the stage of the build it failed for me, it might succeed once the
 wrong flag removed or replaced with an appropriate one.

 Why isn’t it building on Intel? There are no logs in details.

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


More information about the macports-tickets mailing list