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: Tue, 20 Dec 2016 14:58:27 -0800 Message-ID: <1933D6E2-09B2-4950-B781-91695BDF9189@gmail.com> References: <8760mvbjl3.fsf@pobox.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_110C16C0-90DB-488A-AF0B-38DDB3D3C75B" X-Trace: blaine.gmane.org 1482274724 23188 195.159.176.226 (20 Dec 2016 22:58:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Dec 2016 22:58:44 +0000 (UTC) Cc: Andy Wingo To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Dec 20 23:58:40 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 1cJTMl-00058n-P0 for guile-devel@m.gmane.org; Tue, 20 Dec 2016 23:58:39 +0100 Original-Received: from localhost ([::1]:53847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJTMq-0005RU-24 for guile-devel@m.gmane.org; Tue, 20 Dec 2016 17:58:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJTMh-0005PP-7f for guile-devel@gnu.org; Tue, 20 Dec 2016 17:58:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJTMe-00021c-5S for guile-devel@gnu.org; Tue, 20 Dec 2016 17:58:35 -0500 Original-Received: from mail-pg0-x236.google.com ([2607:f8b0:400e:c05::236]:33334) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cJTMd-000215-TL for guile-devel@gnu.org; Tue, 20 Dec 2016 17:58:32 -0500 Original-Received: by mail-pg0-x236.google.com with SMTP id g1so38371512pgn.0 for ; Tue, 20 Dec 2016 14:58:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=GBsMnMjwKkRD9n32J0nJbhMy20FNORqv5XL8r2wDTD8=; b=hleQCX9QLEBhFAd9nCW0Eejmj5HkLmQfRrvvXa0r7dC0GwGarDOIzdKF2mzNfvaeTg hMb/ZznzPGO+lvUc9gqTVivxBzVsp2AKa5Hs88nsIoG/LwTlSjiB9zzP3oOL4V7UXOK4 SRHp12By2wAaoBmlL1ntEVSw2dtZWrW7kPDhhm0sDq3hfBCTGn1GFGiV+vNw/lkELNy5 u9qhuk6Oe/FQPA+gyjA7m0izsd5MxEijJm29fLiAHzh96mkOt9YAkfftI+m1Dka/nFbp Z0awT98hlIgm6UlldbLJK/ysUmVKtCHDn6SnX+lQBHIMG4dh40Tz18tNFe35NoQHbsob UDRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=GBsMnMjwKkRD9n32J0nJbhMy20FNORqv5XL8r2wDTD8=; b=HoOj3AVaYHRwhA11GqkAYeIYpHW/379U5SOKmoxKEDP+HRgGuN7guIFUkewuRTuchM e6QJdAC/6CAW3Pd+iXYXUhpM8RhI7ma3Edk6WBJS/bB0b1GrInvqoNOZ2MJZb/fPiPvd 2zQrCEUtXzNewQaN/18GUgXC8M4vMvTLJNb7q7ZxIWkFtZr8R4SAfzP8v88hqMrYuZw9 qyY869q+Z8OqwLP3pDocXQXYgJdvlkm9W9roEhHeX2PZWpweqSI/XINW5+ybwbmC+7BM GtsT8LtIvZW3vFB0pSm0HX06mt+eROW8paDWU1UNipzo7zjqMAEmloHtuFunYoyaeX6g uZTw== X-Gm-Message-State: AIkVDXLW2X1o9swySqHWobRArCDE7nUe6AOqxuhT1XD1OSR8VrlRCb9B3Crlh2VbhGd1MA== X-Received: by 10.99.55.79 with SMTP id g15mr2557475pgn.65.1482274710952; Tue, 20 Dec 2016 14:58:30 -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 p1sm41789645pgc.29.2016.12.20.14.58.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Dec 2016 14:58:29 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3259) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c05::236 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:18805 Archived-At: --Apple-Mail=_110C16C0-90DB-488A-AF0B-38DDB3D3C75B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Dec 20, 2016, at 7:00 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 With the patch below I can get through all the tests on my Mac (macOS = 10.12.2) if I use default flags (i.e., -g -O2) and gcc-4.9 (now = verifying also w/ gcc-6.2). The patch is a hack to get around an = apparent optimization that thinks the sine of -0.0 is +0.0.=20 Matt --- libguile/numbers.c-orig 2016-11-21 13:56:23.000000000 -0800 +++ libguile/numbers.c 2016-12-20 14:43:58.000000000 -0800 @@ -9099,6 +9099,9 @@ #undef FUNC_NAME =20 SCM +#ifdef __APPLE__ +__attribute__((optimize("O0"))) +#endif scm_c_make_polar (double mag, double ang) { double s, c; --Apple-Mail=_110C16C0-90DB-488A-AF0B-38DDB3D3C75B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
On Dec 20, 2016, at 7:00 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.


With the = patch below I can get through all the tests on my Mac (macOS 10.12.2) if = I use default flags (i.e., -g -O2) and gcc-4.9 (now verifying also w/ = gcc-6.2).  The patch is a hack to get around an apparent = optimization that thinks the sine of -0.0 is +0.0. 

Matt

--- = libguile/numbers.c-orig     2016-11-21 13:56:23.000000000 = -0800
+++ libguile/numbers.c  2016-12-20 = 14:43:58.000000000 -0800
@@ = -9099,6 +9099,9 @@
 #undef FUNC_NAME

 

 SCM
+#ifdef __APPLE__
+__attribute__((optimize("O0")))
+#endif
 scm_c_make_polar (double mag, = double ang)
 {
   double s, c;

= --Apple-Mail=_110C16C0-90DB-488A-AF0B-38DDB3D3C75B--