[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1277: Crash on Mac OS X
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1277: Crash on Mac OS X |
Date: |
Tue, 12 Apr 2016 20:19:48 -0000 |
#1277: Crash on Mac OS X
-----------------------+--------------------
Reporter: sjamaan | Owner:
Type: defect | Status: new
Priority: critical | Milestone: 4.11.0
Component: unknown | Version: 4.10.x
Resolution: | Keywords:
-----------------------+--------------------
Comment (by zbigniew):
I am getting a similar but different error with both 4.10.1 and 4.11.0rc1
snapshots on OS X 10.11.4 with Xcode 7.2.1
{{{
$ make PLATFORM=macosx PREFIX=$PWD/inst check
cd tests; sh runtests.sh
======================================== version tests ...
Checking major and minor version numbers against chicken-version... ok
Checking the registered feature chicken-<major>.<minor>... ok
======================================== compiler tests ...
/Users/jim/Downloads/chicken-4.11.0rc1/tests/../chicken 'compiler-
tests.scm' -output-file 'a.c' -types ../types.db -ignore-repository
-verbose -include-path /Users/jim/Downloads/chicken-4.11.0rc1/tests/..
dyld: Library not loaded: libchicken.dylib
Referenced from: /Users/jim/Downloads/chicken-4.11.0rc1/tests/../chicken
Reason: image not found
Error: shell command terminated with non-zero exit status 5:
/Users/jim/Downloads/chicken-4.11.0rc1/tests/../chicken 'compiler-
tests.scm' -output-file 'a.c' -types ../types.db -ignore-repository
-verbose -include-path /Users/jim/Downloads/chicken-4.11.0rc1/tests/..
make: *** [check] Error 1
}}}
But, the installed binary starts fine (the libchicken.dylib path is
hardcoded into the binary). DYLD_LIBRARY_PATH being clobbered may well be
the issue, as the uninstalled binary in `tests/../chicken` does not have a
hardcoded path.
--
Ticket URL: <http://bugs.call-cc.org/ticket/1277#comment:2>
CHICKEN Scheme <http://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.