From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#23870: Guile 2.0.11 can't find clock_getcpuclockid on macOS 10.12 Sierra Date: Wed, 01 Mar 2017 09:10:48 +0100 Message-ID: <874lzdl8mv.fsf@pobox.com> References: <1E4CE00A-AC4E-4D1F-94C7-12C71C0B838A@hul.ag> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1488355878 16386 195.159.176.226 (1 Mar 2017 08:11:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Mar 2017 08:11:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 23870@debbugs.gnu.org To: Rahul AG Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Mar 01 09:11:06 2017 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cizLm-00030M-56 for guile-bugs@m.gmane.org; Wed, 01 Mar 2017 09:11:06 +0100 Original-Received: from localhost ([::1]:38982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cizLr-0001Nl-S1 for guile-bugs@m.gmane.org; Wed, 01 Mar 2017 03:11:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cizLm-0001Nc-5z for bug-guile@gnu.org; Wed, 01 Mar 2017 03:11:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cizLi-0002c9-R4 for bug-guile@gnu.org; Wed, 01 Mar 2017 03:11:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34467) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cizLi-0002c2-Hx for bug-guile@gnu.org; Wed, 01 Mar 2017 03:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cizLi-0006Fy-7h for bug-guile@gnu.org; Wed, 01 Mar 2017 03:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andy Wingo Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 01 Mar 2017 08:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23870 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 23870-submit@debbugs.gnu.org id=B23870.148835586024042 (code B ref 23870); Wed, 01 Mar 2017 08:11:02 +0000 Original-Received: (at 23870) by debbugs.gnu.org; 1 Mar 2017 08:11:00 +0000 Original-Received: from localhost ([127.0.0.1]:60899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cizLf-0006Fh-Oa for submit@debbugs.gnu.org; Wed, 01 Mar 2017 03:10:59 -0500 Original-Received: from pb-sasl1.pobox.com ([64.147.108.66]:63857 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cizLd-0006FZ-Dp for 23870@debbugs.gnu.org; Wed, 01 Mar 2017 03:10:58 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id E848248C60; Wed, 1 Mar 2017 03:10:56 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=era5BCmtcMqpieuZmQSdHDfM1C8=; b=FPcY6e zMx2J42O5iLOy19R+XhHJbcx9XF2v92MPzjNmCcdy8aybuLAtc1MeTZPs56I3xJa cY9H6tbAGJBoAwbF2yN9aprliII7GvC8FlSwrcGOAMtX+qTQ9xCJNnCPs7Q5brHr LSHZCmFKcxbgAY7zacMkvO+/zdVBFV/GcmZ7M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=TiHZcC6VI52UcZ6eQvkJ51+ro3DFCs0v rn16LqeVHBRXmkjC8Y2lIZ/W7hlB7O0QRAALDZsIwYV0rOp50F+CRzikMFevyx8E pZJK7MRhVbehpyGOwbUwGXCtefK4d+ByIVULNv3n89RjI9Wpy7C/q21wk24HEkhG ZHMqAdI5vRE= Original-Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id D291E48C5E; Wed, 1 Mar 2017 03:10:56 -0500 (EST) Original-Received: from clucks (unknown [109.190.228.233]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 0E51648C5C; Wed, 1 Mar 2017 03:10:55 -0500 (EST) In-Reply-To: <1E4CE00A-AC4E-4D1F-94C7-12C71C0B838A@hul.ag> (Rahul AG's message of "Wed, 29 Jun 2016 20:53:55 +0800") X-Pobox-Relay-ID: 9896E332-FE56-11E6-9C49-B667064AB293-02397024!pb-sasl1.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8597 Archived-At: On Wed 29 Jun 2016 14:53, Rahul AG writes: > Guile version: 2.0.11 > Machine type: x86_64-apple-darwin16.0.0 > > macOS 10.12 introduces the `clock_gettime` family of functions, with slight differences from the *BSD and Linux implementations. > > The failure in linking is caused by a call at libguile/stime.c @ L841 > to `clock_getcpuclockid`, which does NOT exist on macOS, while > `_POSIX_CPUTIME` and `CLOCK_PROCESS_CPUTIME_ID` do exist. > > I have an absolutely hideous patch[1] locally applied that gets things > compiling (and get-internal-run-time seems to work), but is otherwise > terrible from a readability and maintainability standpoint. That said, > narrowing it down to that single call should help make this fix > easier. Hi, this is fixed in 2.1.7 and now also in 2.0 git. I guess a subsequent 2.0.15 will include this fix. Thanks for the report. Andy