[MacPorts] #59257: qemu @4.1.0 Undefined symbols _clock_gettime

MacPorts noreply at macports.org
Thu Nov 21 09:20:38 UTC 2019


#59257: qemu @4.1.0 Undefined symbols _clock_gettime
-------------------------+----------------------
  Reporter:  dubiousjim  |      Owner:  raimue
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  qemu        |
-------------------------+----------------------
Changes (by Ionic):

 * cc: Ionic (added)


Comment:

 I don't like your commit, though, for these reasons:

   - adding linker flags to `C{,XX}` compiler calls sounds just plain wrong
 on many levels
   - the thread-local-storage change looks interesting, but isn't `qemu`
 special in that it can use emulated TLS, for which base has no support?
 You're essentially just replacing the black-/fallback list with that base
 feature, but not adding the special flag (which may not actually be needed
 if it worked for you, so... maybe not an issue after all? Have you tested
 the resulting binaries?)
   - `mktemp` isn't globally too old, only on some platforms AFAICT, so we
 could avoid a useless dependency on most (newer) systems
   - same for the cocoa interface change

 Let's analyze this issue a bit further: funnily, the `legacysupport` PG
 does work! `qemu` builds fine.

 However, it's reconfiguring and rebuilding in the `destroot` (`install`)
 stage and I **guess** that the flags are lost during the reconfiguration.
 That's what we actually have to fix - why would we need to rebuild the
 software after it was already built? The timestamping detection seems to
 be buggy for some reason.

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


More information about the macports-tickets mailing list