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.6 released (beta) Date: Tue, 24 Jan 2017 19:35:49 -0800 Message-ID: References: <87tw8v7pjz.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=_469C3809-A83C-41A3-B225-440B6F539532" X-Trace: blaine.gmane.org 1485315369 14607 195.159.176.226 (25 Jan 2017 03:36:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 25 Jan 2017 03:36:09 +0000 (UTC) Cc: Andy Wingo To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Jan 25 04:36:05 2017 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 1cWENM-00038C-IW for guile-devel@m.gmane.org; Wed, 25 Jan 2017 04:36:00 +0100 Original-Received: from localhost ([::1]:57161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWENR-00019a-Ix for guile-devel@m.gmane.org; Tue, 24 Jan 2017 22:36:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWENM-00019M-SV for guile-devel@gnu.org; Tue, 24 Jan 2017 22:36:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWENJ-0003sJ-RA for guile-devel@gnu.org; Tue, 24 Jan 2017 22:36:00 -0500 Original-Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]:36490) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cWENJ-0003rQ-IG for guile-devel@gnu.org; Tue, 24 Jan 2017 22:35:57 -0500 Original-Received: by mail-pf0-x232.google.com with SMTP id 189so54850128pfu.3 for ; Tue, 24 Jan 2017 19:35:55 -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=2hK4wvl0dmowhw0l7mrVCauComcDhnEEiBOP+vbgZfM=; b=VhU/3rQBEZbwseFpTnOldUr73fQ59n4QXA1YT4D47dS6APrSwP+qVuDXDV9yuULfjA RFGieQgeRNwZ86aecGJT0NzBWC9GApyiIMTMAwlXbq36MCvqp/4iSOR9+L9Lcjj/gNBg HCOQNQfdk91wVoN9RAxfT4hF6uliMIn19eOToZlqyJcu6NRIV+RYKFz7Ey4gNf3Jvtu0 Sk24a6iGbB7z7euXtkCH4UcEt9Xo2upaBCRBSEBFclg5xe5sd63NnD15w1sez2JtP9wT r+z3qHAnj1F5VA/Rav1tHTLbq2E7+4CU407DjJJEpZa4wU8tm20BqmNEyB654HfWUlww zQ+g== 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=2hK4wvl0dmowhw0l7mrVCauComcDhnEEiBOP+vbgZfM=; b=hDiNFk4tGezY/ECkaa8C5bzSFk+TA5OxEY8f15Y9zCtwGm7p/d6zKptOIAIoXA3+WO 33PhbTZ9dkyAY2o+srl9Yta/3Ye6m8GI2MkfMOqVfASSdMumSZffOYoN4bh1gMt7PgbL x27i9H8Hmx3bSqZP4z/BwdUAh7LLGM1O/cKqCzXydZwLr/S19jIvIbu3FKz6oTDT6V/c W5Yj8I00SwfxQxtZ1LJpsVBlVMn7khCviTcYPLV92MrmgaKmXyxwJkULv+iimHd9t5ab dnosx4sZ3FiHcy6WQDgUG2HWzmApTaEq2hRvNnY95S0l1dzSDth2+CprcZlRFDxPDzs8 KcXg== X-Gm-Message-State: AIkVDXJ9j74gQaaU9jCLiQqi3z7Na01HScw1z7vwCzXsHX0GsCLxA43E/Grc89wN5Uq3iA== X-Received: by 10.99.137.199 with SMTP id v190mr42689787pgd.120.1485315354778; Tue, 24 Jan 2017 19:35:54 -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 b10sm8812814pga.21.2017.01.24.19.35.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jan 2017 19:35:52 -0800 (PST) In-Reply-To: <87tw8v7pjz.fsf@pobox.com> 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:c00::232 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:18870 Archived-At: --Apple-Mail=_469C3809-A83C-41A3-B225-440B6F539532 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jan 18, 2017, at 6:26 PM, Andy Wingo wrote: >=20 > We are pleased to announce GNU Guile release 2.1.6. >=20 > Guile 2.1.6 is the sixth 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. So I am trying to compile using clang. This has detected issues with = atomics-internal.h. I can fix most issues with casts: static inline uint32_t scm_atomic_subtract_uint32 (uint32_t *loc, uint32_t arg) { - return atomic_fetch_sub (loc, arg); + return atomic_fetch_sub ((_Atomic uint32_t *)loc, arg); } But problems remain with scm_atomic_set_pointer and = scm_atomic_ref_pointer which use void** and is apparently not defined = for use with atomics. Apparently gcc does not have a problem with this use but I=E2=80=99m = guessing the C11 standard may have an issue with it. Matt --Apple-Mail=_469C3809-A83C-41A3-B225-440B6F539532 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On Jan 18, 2017, at 6:26 PM, Andy Wingo <wingo@pobox.com> = wrote:

We are pleased to announce GNU Guile release 2.1.6.

Guile 2.1.6 is the sixth 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.

So I am trying to compile using clang.  This has = detected issues with atomics-internal.h.  I can fix most issues = with casts:
 static inline = uint32_t
 scm_atomic_subtract_uint32 = (uint32_t *loc, uint32_t arg)
 {
-  return atomic_fetch_sub (loc, = arg);
+  return atomic_fetch_sub = ((_Atomic uint32_t *)loc, arg);
 }

But problems remain with = scm_atomic_set_pointer and scm_atomic_ref_pointer which use void** and = is apparently not defined for use with atomics.

Apparently gcc does not have a problem = with this use but I=E2=80=99m guessing the C11 standard may have an = issue with it.

Matt

= --Apple-Mail=_469C3809-A83C-41A3-B225-440B6F539532--