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.user Subject: Re: guile 2.2.3 crashing on osx 10.11? Date: Sat, 30 Dec 2017 15:31:23 -0800 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1514676604 1343 195.159.176.226 (30 Dec 2017 23:30:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 30 Dec 2017 23:30:04 +0000 (UTC) Cc: guile-user@gnu.org To: Dan Kegel Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Dec 31 00:29:59 2017 Return-path: Envelope-to: guile-user@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 1eVQZg-0008Ki-1d for guile-user@m.gmane.org; Sun, 31 Dec 2017 00:29:56 +0100 Original-Received: from localhost ([::1]:44469 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVQbe-0007AR-RY for guile-user@m.gmane.org; Sat, 30 Dec 2017 18:31:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVQbC-00077P-T8 for guile-user@gnu.org; Sat, 30 Dec 2017 18:31:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eVQb8-0002Gp-Up for guile-user@gnu.org; Sat, 30 Dec 2017 18:31:30 -0500 Original-Received: from mail-pg0-x22e.google.com ([2607:f8b0:400e:c05::22e]:34375) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eVQb8-0002Ft-Ny for guile-user@gnu.org; Sat, 30 Dec 2017 18:31:26 -0500 Original-Received: by mail-pg0-x22e.google.com with SMTP id j4so22209822pgp.1 for ; Sat, 30 Dec 2017 15:31:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=yp4V84yw67nj8NCUNDdSjLxCcqjfZa3FhGdtlvz/mcg=; b=NI2pORBrhVQlg3+k2tsEUAu1dZUM6nHb/Jw7yw2wRDUyxnL4xhngOjTg9fX2vhmxs7 Xq6zBPUP/mj3hWEa8iec04gMvc3M5Q2guKq7I26Pflgfosa6V/YKlX/X44vC7Sm0LMMn Y2BKXNQOMEwFt3rqUjAMDQCDZH9yRu/oxYVnFBw/+0kz/0NNApNFa7sGL8Q1/RdOK6G5 9MtrL24sVURRPTv/cqHZ6N/9wA0zRSeMfWFM854F/dxGQERbiWdtejRsOMQpUFHuiRwl cB0Rxeao3tL19C/BE1ZHZcl4FT5n5BgiA6H4rbjDRB6CiFa8UyoC3XLNgm4xa9ycluT+ Bv2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=yp4V84yw67nj8NCUNDdSjLxCcqjfZa3FhGdtlvz/mcg=; b=LoallbWN2nvNSlVZyLMLg2uVUaDjlmrM4/1NAU8ZkQy3DYXFW/qQFsY9zQzF4BsUZI NVWvNGN1sYevVoSdE5DMr4TkALDBTG2nu7VmyiIr8USJnjgbxNOzO8IeGty9XAwsfjMI K5fNy/FUhNzLCEWtmQIQ2C2/x8GGm2nxO4RDmxx+l3yquf096GUJefSRTHDBsHCcCEvX DpJPb2eH5HAXUfo+4tydMtavf3XTZ2WLCInooGwaw+Jsri5QlNoQWgfdODOL52rd8I2J WWz4InyGUDNSwHaX1opf0p5Fd0R6CmI5OGXGDmDWDo5thDQgI4cL/I6eVl1UMB19m/A4 BAdA== X-Gm-Message-State: AKGB3mIQV3Yli4QD9o8W73pxIRZeHHK11V6isExMJau90igU59bkqpO/ fZ81TNYFlZEEbnR0Lk/iiE59hwPq X-Google-Smtp-Source: ACJfBosCBAFDw1mOJB+d/5iZGNE0+ruZzprxdzI+rlPt1TIOImcU3LvvgmeKvWAwRjKr7lIxcF/Rww== X-Received: by 10.101.74.132 with SMTP id b4mr16398829pgu.377.1514676685472; Sat, 30 Dec 2017 15:31:25 -0800 (PST) Original-Received: from nautilus.championbroadband.com (216-165-229-229.championbroadband.com. [216.165.229.229]) by smtp.gmail.com with ESMTPSA id x6sm76542658pfx.29.2017.12.30.15.31.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 30 Dec 2017 15:31:24 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3273) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::22e X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:14395 Archived-At: > On Dec 30, 2017, at 2:32 PM, Dan Kegel wrote: >=20 > Hi all! Happily building and using guile on osx 10.12, 10.13, and = Ubuntu 16.04. >=20 > osx 10.11, though, crashes when I just evaluate (display (version)), > or sometimes while building. >=20 > Happens whether I build it myself, or use brew. Happens on more than > one machine, too. >=20 > This is with xcode 7.1: > $ cc --version > Apple LLVM version 7.0.0 (clang-700.1.76) > Target: x86_64-apple-darwin15.6.0 > Thread model: posix >=20 > I think it also happens with xcode 7.3.1: > $ cc --version > Apple LLVM version 7.3.0 (clang-703.0.31) > Target: x86_64-apple-darwin15.6.0 > Thread model: posix > InstalledDir: = /Applications/Xcode7.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xc= toolchain/usr/bin >=20 > Haven't tried the latest, xcode 8.2.1. >=20 > For instance: >=20 > $ brew install guile > $ guile > ... > scheme@(guile-user)> (display (version)) > Illegal instruction: 4 >=20 > Here's another: building from source fails early with >=20 > Making all in bootstrap > GUILE_AUTO_COMPILE=3D0 \ > ../meta/build-env \ > guild compile --target=3D"x86_64-apple-darwin15.6.0" \ > -O1 \ > -L = "/Users/buildbot/src/yobuild/recipes/guile/btmp/guile-2.2.3/module" > \ > -L = "/Users/buildbot/src/yobuild/recipes/guile/btmp/guile-2.2.3/guile-readline= " > \ > -o "ice-9/eval.go" "../module/ice-9/eval.scm" > make[2]: *** [ice-9/eval.go] Illegal instruction: 4 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 >=20 > Anyone run into this before? >=20 > - Dan >=20 Hi Dan, I have not seen that on macOS before, but previously ran into other = issues. This may help to chase it down: build with use=20 CFLAGS=3D-g LDFLAGS=3D-g ./configure --disable-shared = --prefix=3D/opt/local in meta/gdb-uninstalled-guile, change: gdb --args ${top_builddir}/libguile/guile "$@" to lldb -- ${top_builddir}/libguile/guile "$@" and, IIRC, run meta/gdb-installed-guile