From: Matt Wette <matt.wette@gmail.com>
To: Dan Kegel <dank@kegel.com>
Cc: guile-user@gnu.org
Subject: Re: guile 2.2.3 crashing on osx 10.11?
Date: Sat, 30 Dec 2017 15:31:23 -0800 [thread overview]
Message-ID: <DCEC82C4-3765-45AC-B8DE-1511B52D83FD@gmail.com> (raw)
In-Reply-To: <CAPF-yOa_EGt768VAYai2X+-pRFXbj65Jvdm_ESYB-QC2OX3fyQ@mail.gmail.com>
> On Dec 30, 2017, at 2:32 PM, Dan Kegel <dank@kegel.com> wrote:
>
> Hi all! Happily building and using guile on osx 10.12, 10.13, and Ubuntu 16.04.
>
> osx 10.11, though, crashes when I just evaluate (display (version)),
> or sometimes while building.
>
> Happens whether I build it myself, or use brew. Happens on more than
> one machine, too.
>
> 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
>
> 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.xctoolchain/usr/bin
>
> Haven't tried the latest, xcode 8.2.1.
>
> For instance:
>
> $ brew install guile
> $ guile
> ...
> scheme@(guile-user)> (display (version))
> Illegal instruction: 4
>
> Here's another: building from source fails early with
>
> Making all in bootstrap
> GUILE_AUTO_COMPILE=0 \
> ../meta/build-env \
> guild compile --target="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
>
> Anyone run into this before?
>
> - Dan
>
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
CFLAGS=-g LDFLAGS=-g ./configure --disable-shared --prefix=/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
next prev parent reply other threads:[~2017-12-30 23:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-30 22:32 guile 2.2.3 crashing on osx 10.11? Dan Kegel
2017-12-30 23:31 ` Matt Wette [this message]
2018-01-01 1:53 ` Dan Kegel
2018-01-01 18:25 ` Dan Kegel
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=DCEC82C4-3765-45AC-B8DE-1511B52D83FD@gmail.com \
--to=matt.wette@gmail.com \
--cc=dank@kegel.com \
--cc=guile-user@gnu.org \
/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).