[MacPorts] #68007: legacy-support: one of CLOCK_MONOTONIC_RAW and CLOCK_UPTIME_RAW is incorrect

MacPorts noreply at macports.org
Sat Jun 14 16:21:04 UTC 2025


#68007: legacy-support: one of CLOCK_MONOTONIC_RAW and CLOCK_UPTIME_RAW is
incorrect
-----------------------------+--------------------------
  Reporter:  jmroot          |      Owner:  cjones051073
      Type:  defect          |     Status:  closed
  Priority:  Normal          |  Milestone:
 Component:  legacy-support  |    Version:  2.8.1
Resolution:  fixed           |   Keywords:
      Port:  legacy-support  |
-----------------------------+--------------------------

Comment (by fhgwright):

 In [changeset:"a087df3f004e6cbc43f81b023bc8c02552bf04c5/macports-ports"
 a087df3f004e6cbc43f81b023bc8c02552bf04c5/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="a087df3f004e6cbc43f81b023bc8c02552bf04c5"
 legacy-support: Update to v1.5.0

 Notable changes since last release (v1.4.0):

 - Complete rewrite of clock functions, including:
   - CLOCK_MONOTONIC is no longer non-monotonic
   - CLOCK_MONOTONIC is no longer completely broken on ppc64
   - Mach-based clocks are no longer horribly inaccurate on some ppc
     models
   - High-precision thread time is now reported on 10.10+
   - "Approximate" clocks work as intended on 10.10+
   - Fallbacks for missing mach_time clocks are provided
   - A corner case in CLOCK_THREAD_CPUTIME_ID is fixed
   - Bad clock IDs no longer fail to set errno
   - Most functions are now faster.
 - Two packet timestamp bugs are fixed:
   - 10.5 x86_64 no longer supplies an unexpected timestamp format
   - Timestamps now have correct endianness under Rosetta
 - The SDK 15 TargetConditionals.h now compiles with GCC 4.2

 - Several header fixes, including:
   - Fixes dirent.h+sys/stat.h for 10.4 build with _POSIX_C_SOURCE
     See: https://trac.macports.org/ticket/72406
   - Fixes dirent.h for C89/C90 mode
     See: https://trac.macports.org/ticket/72428
   - Various other error/warning fixes

 - Implements sleep-time accounting in clock functions (except on ppc64
   for now).
   See: https://trac.macports.org/ticket/68007
 - Implements degenerate *clonefile*().
   See: https://trac.macports.org/ticket/72272

 TESTED:
 Tested both normal and -devel versions -/+universal on 10.4-10.5 ppc,
 10.4-10.6 ppc (i386 Rosetta), 10.4-10.6 i386, 10.4-12.x x86_64, and
 11.x-15.x arm64.
 Builds and passes all tests on all tested platforms.
 }}}

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


More information about the macports-tickets mailing list