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: Sat, 10 Dec 2016 05:16:08 -0800 Message-ID: <3851AC25-3D0A-4F0E-8FD5-8606656C3A43@gmail.com> References: <8760mvbjl3.fsf@pobox.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=_DF63DE7E-BEFE-41FE-A139-7F2580D62CAE" X-Trace: blaine.gmane.org 1481375846 10532 195.159.176.226 (10 Dec 2016 13:17:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Dec 2016 13:17:26 +0000 (UTC) Cc: Andy Wingo To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Dec 10 14:17:21 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 1cFhWh-0001Rh-FT for guile-devel@m.gmane.org; Sat, 10 Dec 2016 14:17:19 +0100 Original-Received: from localhost ([::1]:51747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFhWl-0003t6-JX for guile-devel@m.gmane.org; Sat, 10 Dec 2016 08:17:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFhWg-0003sz-FV for guile-devel@gnu.org; Sat, 10 Dec 2016 08:17:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cFhWc-0008MC-CF for guile-devel@gnu.org; Sat, 10 Dec 2016 08:17:18 -0500 Original-Received: from mail-pg0-f43.google.com ([74.125.83.43]:36354) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cFhWc-0008M0-1q for guile-devel@gnu.org; Sat, 10 Dec 2016 08:17:14 -0500 Original-Received: by mail-pg0-f43.google.com with SMTP id f188so17875255pgc.3 for ; Sat, 10 Dec 2016 05:17:14 -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=jHoMvoUXjBFhwDg/ed1xNCrp9lmJYEyDfXJytPwqqTU=; b=dTVCTDUxl++to2uclSob1duFZtdpfJtfiMPb9g8432DL6eUJginFZSHxcnKy3u4J2+ PqI7+tHkoG1kjw6OV8sehRY0hn0blRpxfqnf1yDOtjkwqmBRpMlxJ20s3zMlg5cqVQE6 9hzeWuI3noxchuIuQiU2s6BZHL9rowXV4T8JYMa51nPIbQi3uC6BZKY3yGCwEaGzsAZT 4cbVU4tjjTZu6tRxtVsrsoL45c4RZyspNAb1rDYJLJsFy8H52QjXJ/Aoyx0OTSRMMGyS MdLYEOofSlqau8bdRHRdG178SHGdO8yApkVOxYr1wiTVBRmfmirZYrUW1nvBm2jebI+Q 0A/g== 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=jHoMvoUXjBFhwDg/ed1xNCrp9lmJYEyDfXJytPwqqTU=; b=d+KXhGjpcASKOiMRCqErZDxHDlk2TxYW7r7VnZVk8iBtQWTEippfbUEEGsd5wT0ewl RWA6hIbuEP6Fvexzm1Icaii+M9vRLH17AHmMO1PTDUSpAuZbDpMsp7PWnyLcePFKP5z2 AOW3u0quZaOEqutav4vrgj/BSLAG40ggtNZalIRBcWcg3b1J/jjWy9zBRMhnrhwPZ+PC 9IgSW8XIj4JdGc0UiImMqyj4giXlOTnWCGTntRGCcKwgNmAj5kV3RCm38bc2j9bOnyaI ru5Jyh5VK4GfJILSLqSVQ1EPL6gL1KA/Z5zxmlLUUbacgJE7TShkcsHrHZycyGf3Qfj2 JnSQ== X-Gm-Message-State: AKaTC02F2NVvOpX16XcFPinu/VQKCRqqE880QjP5wkhDiyNl/T2Ae4G0MPmnUHTFF7evAw== X-Received: by 10.84.169.36 with SMTP id g33mr170228800plb.174.1481375773134; Sat, 10 Dec 2016 05:16:13 -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 y6sm64979331pge.16.2016.12.10.05.16.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Dec 2016 05:16:11 -0800 (PST) In-Reply-To: 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.43 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:18780 Archived-At: --Apple-Mail=_DF63DE7E-BEFE-41FE-A139-7F2580D62CAE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > 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 > As a heads-up: > 1) macOS does not have clock_getcpuclockid(), stime.c line 833, so = patch skips that check. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23870 = > 2) macOS mkostemp() (filesys.c line 1496) will fail if any = non-supported bits are passed in open_flags, so patch masks out = unsupported bits. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D24862 = > Make check is failing on test-language, so I will be chasing that = down. Progress so far: At the end of test-suite/standalone/test-language is guile --no-auto-compile \ -l "$top_srcdir/module/ice-9/q.scm" \ --language=3Delisp \ -l "$srcdir/test-language.el" \ --language=3Decmascript \ -l "$srcdir/test-language.js" \ --language=3Dscheme \ -c 1 mwette$ guile --no-auto-compile --language=3Decmascript -l = $srcdir/test-language.js -c 1 (lldb) target create = "/Users/mwette/proj/scheme/guile/guile-2.1.5/libguile/guile" Current executable set to = '/Users/mwette/proj/scheme/guile/guile-2.1.5/libguile/guile' (x86_64). (lldb) settings set -- target.run-args "--no-auto-compile" = "--language=3Decmascript" "-l" = "/Users/mwette/proj/scheme/guile/guile-2.1.5/test-suite/standalone/test-la= nguage.js" "-c" "1" (lldb) run Process 92234 launched: = '/Users/mwette/proj/scheme/guile/guile-2.1.5/libguile/guile' (x86_64) Process 92234 stopped * thread #1: tid =3D 0x132974, 0x00007fffad952f9c = libsystem_platform.dylib`_platform_memmove$VARIANT$Haswell + 252, queue = =3D 'com.apple.main-thread', stop reason =3D EXC_BAD_ACCESS (code=3D1, = address=3D0x2001000) frame #0: 0x00007fffad952f9c = libsystem_platform.dylib`_platform_memmove$VARIANT$Haswell + 252 libsystem_platform.dylib`_platform_memmove$VARIANT$Haswell: -> 0x7fffad952f9c <+252>: vmovups %ymm0, (%rax) 0x7fffad952fa0 <+256>: vmovups 0x20(%rsi), %ymm2 0x7fffad952fa5 <+261>: addq $0x40, %rsi 0x7fffad952fa9 <+265>: subq $0x80, %rdx (lldb) up frame #1: 0x00007fffad7fd42e libsystem_c.dylib`__memcpy_chk + 22 libsystem_c.dylib`__memcpy_chk: 0x7fffad7fd42e <+22>: movq %rbx, %rax 0x7fffad7fd431 <+25>: addq $0x8, %rsp 0x7fffad7fd435 <+29>: popq %rbx 0x7fffad7fd436 <+30>: popq %rbp(lldb) up frame #2: 0x00000001000425eb = guile`copy_and_align_elf_data(data=3D"\x7fELF\x02\x01\x01?, len=3D6837) = + 90 at loader.c:225 222 =09 223 alignment =3D elf_alignment (data, len); 224 copy =3D alloc_aligned (len, alignment); -> 225 memcpy(copy, data, len); 226 =09 227 return copy; 228 } (lldb)=20 Note: supplied lldb is only debugger that can be used on Sierra (unless = security is disabled), it seems.= --Apple-Mail=_DF63DE7E-BEFE-41FE-A139-7F2580D62CAE Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
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.  

As a heads-up:
1) macOS does not have = clock_getcpuclockid(), stime.c line 833, so patch skips that check.

=

2) macOS mkostemp() (filesys.c line 1496) = will fail if any non-supported bits are passed in open_flags, so patch = masks out unsupported bits.

=

Make check is failing on test-language, so I = will be chasing that down.

Progress so far: At the end of = test-suite/standalone/test-language is

guile --no-auto-compile = \
      -l = "$top_srcdir/module/ice-9/q.scm" \
  =     --language=3Delisp = \
      -l = "$srcdir/test-language.el" \
  =     --language=3Decmascript = \
      -l = "$srcdir/test-language.js" \
  =     --language=3Dscheme = \
      -c = 1

mwette$ guile --no-auto-compile --language=3Decmascript -l = $srcdir/test-language.js -c 1
(lldb) = target create = "/Users/mwette/proj/scheme/guile/guile-2.1.5/libguile/guile"
<= div style=3D"margin: 0px; font-size: 13px; line-height: normal; = font-family: Menlo; background-color: rgb(255, 255, 255);" = class=3D"">Current executable set to = '/Users/mwette/proj/scheme/guile/guile-2.1.5/libguile/guile' = (x86_64).
(lldb) settings set -- = target.run-args  "--no-auto-compile" "--language=3Decmascript" "-l" = "/Users/mwette/proj/scheme/guile/guile-2.1.5/test-suite/standalone/test-la= nguage.js" "-c" "1"
(lldb) = run
Process = 92234 launched: = '/Users/mwette/proj/scheme/guile/guile-2.1.5/libguile/guile' = (x86_64)
Process 92234 stopped
* thread #1: tid =3D 0x132974, 0x00007fffad952f9c = libsystem_platform.dylib`_platform_memmove$VARIANT$Haswell + 252, queue = =3D 'com.apple.main-thread', stop reason =3D EXC_BAD_ACCESS (code=3D1, = address=3D0x2001000)
    frame #0: = 0x00007fffad952f9c = libsystem_platform.dylib`_platform_memmove$VARIANT$Haswell + = 252
libsystem_platform.dylib`_platform_memmove$VARIANT$Haswell:
->  0x7fffad952f9c <+252>: vmovups %ymm0, = (%rax)
    0x7fffad952fa0 = <+256>: vmovups 0x20(%rsi), %ymm2
  =   0x7fffad952fa5 <+261>: addq   $0x40, = %rsi
    0x7fffad952fa9 = <+265>: subq   $0x80, %rdx
(lldb) up
frame = #1: 0x00007fffad7fd42e libsystem_c.dylib`__memcpy_chk + = 22
libsystem_c.dylib`__memcpy_chk:
  =   0x7fffad7fd42e <+22>: movq   %rbx, = %rax
    0x7fffad7fd431 = <+25>: addq   $0x8, %rsp
  =   0x7fffad7fd435 <+29>: popq   %rbx
  =   0x7fffad7fd436 <+30>: popq   %rbp(lldb) up
frame #2: 0x00000001000425eb = guile`copy_and_align_elf_data(data=3D"\x7fELF\x02\x01\x01?, len=3D6837) = + 90 at loader.c:225
   222  =
   223   = alignment =3D elf_alignment (data, len);
   224   copy =3D alloc_aligned = (len, alignment);
-> 225   memcpy(copy, data, = len);
   226  =
   227   = return copy;
   228 = }
(lldb) 

Note: supplied lldb is only = debugger that can be used on Sierra (unless security is disabled), it = seems.
= --Apple-Mail=_DF63DE7E-BEFE-41FE-A139-7F2580D62CAE--