unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Matt Wette <matt.wette@gmail.com>
To: Matt Wette <matt.wette@gmail.com>
Cc: Andy Wingo <wingo@pobox.com>, guile-devel@gnu.org
Subject: Re: GNU Guile 2.1.5 released (beta)
Date: Sun, 11 Dec 2016 07:42:11 -0800	[thread overview]
Message-ID: <EC466949-F64D-4F5C-8E0A-9DBB79C10352@gmail.com> (raw)
In-Reply-To: <3851AC25-3D0A-4F0E-8FD5-8606656C3A43@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]


> 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 <mailto:matt.wette@gmail.com>> wrote:
>> 
>> 
>>> On Dec 7, 2016, at 11:55 AM, Andy Wingo <wingo@pobox.com <mailto: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 <mailto: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 “make check”.  
>> 

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



[-- Attachment #2.1: Type: text/html, Size: 2140 bytes --]

[-- Attachment #2.2: patch-2.1.5-mwette161210a --]
[-- Type: application/octet-stream, Size: 1478 bytes --]

--- 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 */
 

[-- Attachment #2.3: Type: text/html, Size: 257 bytes --]

  parent reply	other threads:[~2016-12-11 15:42 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-07 19:55 GNU Guile 2.1.5 released (beta) Andy Wingo
2016-12-09 15:28 ` Matt Wette
2016-12-09 17:25   ` Christopher Allan Webber
2016-12-10 13:16   ` Matt Wette
2016-12-11 14:52     ` Matt Wette
2016-12-11 15:42     ` Matt Wette [this message]
2017-01-08 22:50       ` Andy Wingo
2016-12-11 15:17   ` Matt Wette
2016-12-12 13:45     ` Matt Wette
2016-12-12 20:46       ` Matt Wette
2016-12-13  1:24         ` dsmich
2016-12-13 21:26           ` Freja Nordsiek
2016-12-16 13:50             ` Matt Wette
2016-12-16 14:05               ` Matt Wette
2016-12-17  2:03                 ` Christopher Allan Webber
2016-12-17  3:07                   ` Matt Wette
2016-12-11 20:35 ` Matt Wette
2016-12-12  1:25   ` Matt Wette
2016-12-12 11:14     ` tomas
2017-01-08 22:54     ` Andy Wingo
2017-01-09  0:13       ` Matt Wette
2016-12-20 15:00 ` Matt Wette
2016-12-20 22:58   ` Matt Wette
2017-01-08 23:01     ` Andy Wingo
2017-01-08 23:28       ` Matt Wette
     [not found] <mailman.109.1481389218.15985.guile-devel@gnu.org>
2016-12-10 17:11 ` Daniel Llorens
2016-12-11  0:42   ` Matt Wette
2016-12-29 19:38     ` Matt Wette

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=EC466949-F64D-4F5C-8E0A-9DBB79C10352@gmail.com \
    --to=matt.wette@gmail.com \
    --cc=guile-devel@gnu.org \
    --cc=wingo@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).