samth
2017-11-17 21:23:52
@mflatt currently, mflatt/ChezScheme fails to build for me
samth
2017-11-17 21:23:55
[samth@huor:~/sw/ChezScheme (mflatt-master) plt] CC=clang make
(cd a6le && make build)
(cd c ; make)
clang -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -c -DX86_64 -I../boot/a6le -I../zlib gc-ocd.c
In file included from gc-ocd.c:18:
./gc.c:1071:37: error: implicit declaration of function 'GUARDIANORDERED' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
if (!do_ordered && (GUARDIANORDERED(ls) == Strue)) {
^
./gc.c:1071:57: error: comparison between pointer and integer ('int' and 'ptr' (aka 'void *')) [-Werror]
if (!do_ordered && (GUARDIANORDERED(ls) == Strue)) {
~~~~~~~~~~~~~~~~~~~ ^ ~~~~~
./gc.c:1122:29: error: implicit declaration of function 'INITGUARDIANPENDING' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
INITGUARDIANPENDING(ls) = FIX(GUARDIAN_PENDING_HOLD);
^
./gc.c:1122:53: error: expression is not assignable
INITGUARDIANPENDING(ls) = FIX(GUARDIAN_PENDING_HOLD);
~~~~~~~~~~~~~~~~~~~~~~~ ^
./gc.c:1140:21: error: implicit declaration of function 'INITGUARDIANORDERED' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
INITGUARDIANORDERED(p) = GUARDIANORDERED(ls);
^
./gc.c:1140:21: note: did you mean 'GUARDIANORDERED'?
./gc.c:1071:37: note: 'GUARDIANORDERED' declared here
if (!do_ordered && (GUARDIANORDERED(ls) == Strue)) {
^
./gc.c:1140:44: error: expression is not assignable
INITGUARDIANORDERED(p) = GUARDIANORDERED(ls);
~~~~~~~~~~~~~~~~~~~~~~ ^
./gc.c:1141:44: error: expression is not assignable
INITGUARDIANPENDING(p) = FIX(0);
~~~~~~~~~~~~~~~~~~~~~~ ^
./gc.c:1174:19: error: implicit declaration of function 'GUARDIANPENDING' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
if (GUARDIANPENDING(ls) == FIX(GUARDIAN_PENDING_HOLD)) {
^
./gc.c:1174:19: note: did you mean 'INITGUARDIANPENDING'?
./gc.c:1122:29: note: 'INITGUARDIANPENDING' declared here
INITGUARDIANPENDING(ls) = FIX(GUARDIAN_PENDING_HOLD);
^
./gc.c:1174:39: error: comparison between pointer and integer ('int' and 'ptr' (aka 'void *')) [-Werror]
if (GUARDIANPENDING(ls) == FIX(GUARDIAN_PENDING_HOLD)) {
~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
./gc.c:1196:45: error: expression is not assignable
INITGUARDIANPENDING(ls) = FIX(GUARDIAN_PENDING_FINAL);
~~~~~~~~~~~~~~~~~~~~~~~ ^
10 errors generated.
Makefile:29: recipe for target 'gc-ocd.o' failed
make[2]: *** [gc-ocd.o] Error 1
Makefile:20: recipe for target 'build' failed
make[1]: *** [build] Error 2
Makefile:19: recipe for target 'build' failed
make: *** [build] Error 2
samth
2017-11-17 21:24:29
with gcc it has a different error
mflatt
2017-11-17 21:25:12
Looks like I forgot to rebuild bootfiles, so the headers in “boot” are out of sync
mflatt
2017-11-17 21:25:21
I’ll push a bootfile update
samth
2017-11-17 21:26:34
thanks!
mflatt
2017-11-17 21:33:23
@samth pushed
samth
2017-11-17 21:34:18
now I get the error cannot find compatible scheme.boot in search path
samth
2017-11-17 21:34:35
that’s after running make clean
and configure
samth
2017-11-17 21:35:37
that may be me having the wrong installprefix
mflatt
2017-11-17 21:35:43
I doubt that make clean
is really clean. You’ll probably have to start over with git clean -d -x -f
samth
2017-11-17 21:37:27
ok that works
samth
2017-11-17 21:37:41
better not to have a clean
target than that, IMO