From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Matt Wette Newsgroups: gmane.lisp.guile.devel Subject: Re: GNU Guile 2.1.5 released (beta) Date: Sun, 11 Dec 2016 07:42:11 -0800 Message-ID: References: <8760mvbjl3.fsf@pobox.com> <3851AC25-3D0A-4F0E-8FD5-8606656C3A43@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_1238E011-4DFE-4C30-9111-C0754637B26E" X-Trace: blaine.gmane.org 1481471011 4779 195.159.176.226 (11 Dec 2016 15:43:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Dec 2016 15:43:31 +0000 (UTC) Cc: Andy Wingo , guile-devel@gnu.org To: Matt Wette Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Dec 11 16:43:22 2016 Return-path: Envelope-to: guile-devel@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 1cG6HZ-00082g-H5 for guile-devel@m.gmane.org; Sun, 11 Dec 2016 16:43:21 +0100 Original-Received: from localhost ([::1]:56077 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cG6Hd-00051c-FG for guile-devel@m.gmane.org; Sun, 11 Dec 2016 10:43:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cG6HX-00051G-CX for guile-devel@gnu.org; Sun, 11 Dec 2016 10:43:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cG6HU-0007mN-AV for guile-devel@gnu.org; Sun, 11 Dec 2016 10:43:19 -0500 Original-Received: from mail-pg0-f47.google.com ([74.125.83.47]:34918) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cG6HT-0007m2-VP for guile-devel@gnu.org; Sun, 11 Dec 2016 10:43:16 -0500 Original-Received: by mail-pg0-f47.google.com with SMTP id p66so25931741pga.2 for ; Sun, 11 Dec 2016 07:43:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=8kqNcm+qCjqmO+WeqVdqrT419Nw4zzV76LwR//CY7oM=; b=hviHkd08R2gtnHwMxB4msBYafOz06FV/PbTc0dPGmGX/vvCsvf0s65z1HypDISlHCL 8uuXrgMXpGw008C/cISxEnya6lelMJfSqxDDaSXMM+UF78cr90zRmzp6aPyqIR4Z3ECI 9T3qjZtdPrMhQfEDuPNz+/qYV1CEmQpmaqVsel0keuuPadKPwEu+BgOMCbzVsCOIV7v4 tGUTYADIfbe+76Z2lELgxJLB4dga5i+45Z5c1h5IX02iudq/XPr2WihWTHWFknyXRvuS bERMEt4j8dzBdGGxekvm7BF/O2167zmLBBec6kZFE3/S7yTWUssntshZvu2W/rRBekR4 bWZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=8kqNcm+qCjqmO+WeqVdqrT419Nw4zzV76LwR//CY7oM=; b=Qx7H7H2lbRbEP6ytgwstRhYyMZ1pvKq7rQOZqy52Fnq3vfyiMye7+v37rK92UFP0zZ b2CCBXc269fb+XiCqWiBOn6teF1lhKr7skbUjcWIWUMzkPV0Ko2oqWmuF9evC0NrqpND lYD9rdq0OQFBfCRgUZwk1I6CZpLceBe4wlPm2DExT8PD/xytK+UAlvfLh7NOUcvmfWzu feQmjCzXAVFMnpi+jgXvYOgGEyJFZi4VSEpIoF6Vip+ILqs4JTme70wNhRqXjkZ5SUF2 zZ+W1BsYPc+LH16SSuOZ0a+w+y/a8vNOA+HDd0qQ5C+b0Q3zECHanVyUa+gcn4ySdm5s FfSQ== X-Gm-Message-State: AKaTC015yhwOogMgYi4Fbf0KeMZ6i1fP+QGh7ERuMH6BdNKXGVTkik3A7lRtBidAteePxA== X-Received: by 10.98.17.80 with SMTP id z77mr93353010pfi.166.1481470934898; Sun, 11 Dec 2016 07:42:14 -0800 (PST) Original-Received: from nautilus.championbroadband.com (216-165-246-244.championbroadband.com. [216.165.246.244]) by smtp.gmail.com with ESMTPSA id n17sm70453058pfg.80.2016.12.11.07.42.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Dec 2016 07:42:13 -0800 (PST) In-Reply-To: <3851AC25-3D0A-4F0E-8FD5-8606656C3A43@gmail.com> X-Mailer: Apple Mail (2.3251) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 74.125.83.47 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:18785 Archived-At: --Apple-Mail=_1238E011-4DFE-4C30-9111-C0754637B26E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Dec 10, 2016, at 5:16 AM, Matt Wette wrote: >=20 >>=20 >> On Dec 9, 2016, at 7:28 AM, Matt Wette > wrote: >>=20 >>=20 >>> On Dec 7, 2016, at 11:55 AM, Andy Wingo > wrote: >>>=20 >>> We are pleased to announce GNU Guile release 2.1.5. >>>=20 >>> Guile 2.1.5 is the fifth pre-release in what will eventually become = the >>> 2.2 release series. We encourage you to test this release and = provide >>> feedback to guile-devel@gnu.org . >>=20 >> I am building on my Mac running macOS 10.12.1, aka Sierra. I will = post my patches when I get through =E2=80=9Cmake check=E2=80=9D. =20 >>=20 Patches to date attached. These address=20 1) #23870 no clock_getcpuclockid 2) #24682 mkostemp 3) use of ALIGN needs cast in libguile/loader.c Matt --Apple-Mail=_1238E011-4DFE-4C30-9111-C0754637B26E Content-Type: multipart/mixed; boundary="Apple-Mail=_18B82429-8D8C-4621-B715-64CA86EA0D73" --Apple-Mail=_18B82429-8D8C-4621-B715-64CA86EA0D73 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On Dec 10, 2016, at 5:16 AM, Matt Wette <matt.wette@gmail.com> wrote:


On = Dec 9, 2016, at 7:28 AM, Matt Wette <matt.wette@gmail.com> wrote:


On Dec 7, 2016, at 11:55 = AM, Andy Wingo <wingo@pobox.com> wrote:

We = are pleased to announce GNU Guile release 2.1.5.

Guile 2.1.5 is the fifth pre-release in what will eventually = become the
2.2 release series.  We encourage you to = test this release and provide
feedback to guile-devel@gnu.org.

I am building on my Mac running = macOS 10.12.1, aka Sierra.  I will post my patches when I get = through =E2=80=9Cmake check=E2=80=9D.  


Patches to date attached.  These = address 
1) #23870 no = clock_getcpuclockid
2) #24682 mkostemp
3) use = of ALIGN needs cast in libguile/loader.c

Matt
= --Apple-Mail=_18B82429-8D8C-4621-B715-64CA86EA0D73 Content-Disposition: attachment; filename=patch-2.1.5-mwette161210a Content-Type: application/octet-stream; x-unix-mode=0644; name="patch-2.1.5-mwette161210a" Content-Transfer-Encoding: 7bit --- libguile/filesys.c-orig 2016-12-08 05:55:48.000000000 -0800 +++ libguile/filesys.c 2016-12-08 16:28:41.000000000 -0800 @@ -1492,6 +1492,10 @@ mode_bits = scm_i_mode_bits (mode); } +#ifdef __APPLE__ + /* mkostemp() will fail on Mac OS 10.12 if any besides this used: */ + open_flags &= (O_APPEND | O_SHLOCK | O_EXLOCK | O_CLOEXEC); +#endif SCM_SYSCALL (rv = mkostemp (c_tmpl, open_flags)); if (rv == -1) SCM_SYSERROR; --- libguile/loader.c-orig 2016-12-10 18:19:34.000000000 -0800 +++ libguile/loader.c 2016-12-10 18:19:58.000000000 -0800 @@ -208,7 +208,7 @@ ret = malloc (len + alignment - 1); if (!ret) abort (); - ret = (char *) ALIGN ((scm_t_uintptr) ret, alignment); + ret = (char *) ALIGN ((scm_t_uintptr) ret, (scm_t_uintptr) alignment); } return ret; --- libguile/stime.c-orig 2016-12-08 05:48:31.000000000 -0800 +++ libguile/stime.c 2016-12-08 16:27:46.000000000 -0800 @@ -830,6 +830,11 @@ get_internal_real_time = get_internal_real_time_posix_timer; #ifdef HAVE_POSIX_CPUTIME +#ifdef __APPLE__ + /* Darwin does not have clock_getcpuclockid(). Just do it anyway. */ + if (clock_gettime (CLOCK_PROCESS_CPUTIME_ID, &posix_run_time_base) == 0) + get_internal_run_time = get_internal_run_time_posix_timer; +#else { clockid_t dummy; @@ -841,6 +846,7 @@ else errno = 0; } +#endif /* __APPLE__ */ #endif /* HAVE_POSIX_CPUTIME */ #endif /* HAVE_CLOCKTIME */ --Apple-Mail=_18B82429-8D8C-4621-B715-64CA86EA0D73 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii

--Apple-Mail=_18B82429-8D8C-4621-B715-64CA86EA0D73-- --Apple-Mail=_1238E011-4DFE-4C30-9111-C0754637B26E--