[MacPorts] #65988: libdispatch: how to make linking to libblocksruntime work?

MacPorts noreply at macports.org
Sat Oct 15 14:07:57 UTC 2022


#65988: libdispatch: how to make linking to libblocksruntime work?
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  kencu
      Type:  submission    |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:
      Port:  libdispatch   |
---------------------------+----------------------

Comment (by barracuda156):

 Replying to [comment:4 kencu]:
 > you'll hit the SDK issue with this version of libdispatch...
 >
 > there may be more success starting out with the libdispatch that was
 used on 10.6.8 or 10.7.5, and building that. It will be much closer to
 what 10.5.8 could manage (SDK-wise).
 >
 > Sometimes you run into a situation where the new libraries require
 something in the MacOS kernel which the older system's MacOS kernel won't
 support... if that happens, the fixes are significantly more complicated
 to implement... not impossible, perhaps, but harder.

 I guess you are right. Will try that.

 But if we consider making a port, how to do it? We can have more older
 version(s) for older systems, like with several other ports, but it is
 unclear how many we should have and which ones.

 P. S. Amazing code from Apple, failing immediately on incompatible flags
 LOL:
 {{{
 gcc-mp-12: error: unrecognized command-line option '-Warray-bounds-
 pointer-arithmetic'
 gcc-mp-12: error: unrecognized command-line option '-Wassign-enum'
 gcc-mp-12: error: unrecognized command-line option '-Watomic-properties'
 gcc-mp-12: error: unrecognized command-line option '-Wcomma'; did you mean
 '-Wcomment'?
 gcc-mp-12: error: unrecognized command-line option '-Wconditional-
 uninitialized'; did you mean '-Wno-uninitialized'?
 gcc-mp-12: error: unrecognized command-line option '-Wcovered-switch-
 default'; did you mean '-Wno-switch-default'?
 gcc-mp-12: error: unrecognized command-line option '-Wdocumentation'
 gcc-mp-12: error: unrecognized command-line option '-Wduplicate-enum'; did
 you mean '-Wduplicated-cond'?
 gcc-mp-12: error: unrecognized command-line option '-Widiomatic-
 parentheses'; did you mean '-Wno-parentheses'?
 gcc-mp-12: error: unrecognized command-line option '-Wnewline-eof'
 gcc-mp-12: error: unrecognized command-line option '-Wnullable-to-nonnull-
 conversion'
 gcc-mp-12: error: unrecognized command-line option '-Wobjc-interface-
 ivars'
 gcc-mp-12: error: unrecognized command-line option '-Wover-aligned'
 gcc-mp-12: error: unrecognized command-line option '-Wshorten-64-to-32'
 gcc-mp-12: error: unrecognized command-line option '-Wstatic-in-inline'
 gcc-mp-12: error: unrecognized command-line option '-Wsuper-class-method-
 mismatch'
 gcc-mp-12: error: unrecognized command-line option '-Wunguarded-
 availability'
 gcc-mp-12: error: unrecognized command-line option '-fblocks'
 }}}

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


More information about the macports-tickets mailing list