develooper Front page | perl.perl5.porters | Postings from September 2016

Re: [perl #128972] Build failure on OS X 10.12 Sierra

Craig A. Berry
September 15, 2016 21:10
Re: [perl #128972] Build failure on OS X 10.12 Sierra
Message ID:
On Thu, Aug 18, 2016 at 1:51 AM, Mojca Miklavec <> wrote:
> On 18 August 2016 at 02:39, Tony Cook via RT wrote:
>> This is fixed in blead, it may need a backport to 5.24/5.22.
> Thank you, I didn't check the git sources.
> Correction: 5.22 doesn't need that patch. It's only relevant for 5.24.

So does Time::HiRes now use the system clock_gettime() on Sierra?

Has anyone tried building on 10.12 with MACOSX_DEPLOYMENT_TARGET set
to some lower version in the environment, and then actually run Perl
(including Time::HiRes) in that older environment?  According to some
folks on the libcurl list:


the new clock_gettime() functionality in Sierra is implemented as a
weak reference so it will always show up at compile time even if you
explicitly specify an older deployment target.  The current suggestion
is to add -Werror=partial-availability to the compiler flags with the
expectation that it will make configuration checks correctly fail.  I
don't have Sierra yet so I can't try it. Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About