[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #690: "make check" errors on cygwin
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #690: "make check" errors on cygwin |
Date: |
Wed, 14 Sep 2011 00:30:22 -0000 |
#690: "make check" errors on cygwin
-------------------------------------------+--------------------------------
Reporter: mario | Owner:
Type: defect | Status: new
Priority: major | Milestone: 4.8.0
Component: unknown | Version: 4.7.x
Keywords: "make check" cygchicken-0.dll |
-------------------------------------------+--------------------------------
It seems that cygchicken-0.dll is expected to be found in the {{{tests}}}
directory:
{{{
$ make PLATFORM=cygwin PREFIX=/home/mario/local/chicken-core DEBUGBUILD=1
CHICKEN=./chicken-boot check
make -f ./Makefile.cygwin CONFIG= check
make[1]: Entering directory `/home/mario/src/chicken-core'
cd tests; sh runtests.sh
======================================== compiler tests ...
../chicken compiler-tests.scm -output-file a.c -verbose -include-path ..
Note: global variable `bla#blabla' is only locally visible and never used
Note: global variable `foo#bar' is only locally visible and never used
gcc a.c -o a.o -c -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H
-DC_ENAB
LE_PTABLES -g -Wall -Wno-unused -I.. -I"/home/mario/local/chicken-
core/include/c
hicken"
rm a.c
gcc a.o -o a.out -L.. -L"/home/mario/local/chicken-core/lib" -lchicken -lm
rm a.o
/home/mario/src/chicken-core/tests/a.out: error while loading shared
libraries:
cygchicken-0.dll: cannot open shared object file: No such file or
directory
make[1]: *** [check] Error 127
make[1]: Leaving directory `/home/mario/src/chicken-core'
make: *** [check] Error 2
}}}
If I
{{{
cp cygchicken-0.dll tests
}}}
some tests can be run, but then:
{{{
$ make PLATFORM=cygwin PREFIX=/home/mario/local/chicken-core DEBUGBUILD=1
CHICKEN=./chicken-boot check
...
======================================== callback tests ...
../chicken callback-tests.scm -output-file a.c -verbose -include-path ..
gcc a.c -o a.o -c -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H
-DC_ENAB
LE_PTABLES -g -Wall -Wno-unused -I.. -I"/home/mario/local/chicken-
core/include/c
hicken"
rm a.c
gcc a.o -o a.out -L.. -L"/home/mario/local/chicken-core/lib" -lchicken -lm
rm a.o
callbacks ...
hi!
callbacks ...
hi!
hi!
[panic] callback returned twice - execution terminated
callback-tests.scm:16: print
##sys#gc
g1112
callback-tests.scm:7: call/cc
callback-tests.scm:9: print
callback-tests.scm:19: command-line-arguments
callback-tests.scm:20: k1
callback-tests.scm:9: print <--
double-return from callback failed as it should.
======================================== runtime tests ...
[panic] nursery is too small - try higher setting using the `-:s' option -
execu
tion terminated
make[1]: *** [check] Error 1
make[1]: Leaving directory `/home/mario/src/chicken-core'
make: *** [check] Error 2
}}}
Happens to both 4.7.0 and git HEAD.
I cannot reproduce this error on Linux systems.
--
Ticket URL: <http://bugs.call-cc.org/ticket/690>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-janitors] #690: "make check" errors on cygwin,
Chicken Trac <=