guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guile 2.2.3 crashing on osx 10.11?


From: Matt Wette
Subject: Re: guile 2.2.3 crashing on osx 10.11?
Date: Sat, 30 Dec 2017 15:31:23 -0800

> On Dec 30, 2017, at 2:32 PM, Dan Kegel <address@hidden> 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]