make fails: Building Chez...
triklsbg opened this issue · 4 comments
tom1 /data/tomsData/github/shen-scheme $ LANG=en_US.UTF-8 make
echo "Building Chez..."
Building Chez...
cd _build/csv9.5 && ./configure --threads && make
make[1]: Entering directory '/data/tomsData/github/shen-scheme/_build/csv9.5'
(cd ta6le && make build)
(cd c ; make)
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib prim5.c
prim5.c: In function ‘s_showalloc’:
prim5.c:329:85: error: ‘td of ’ directive output may be truncated writing 6 bytes into a region of size between 0 and 18 [-Werror=format-truncation=]
snprintf(fmtbuf, FMTBUFSIZE, "%%#0%dtx %%#0%dtx (+ %%#0%dtx bytes @ %%#0%dtx) %%%dtd of %%%dtd\n",
^~~~~~
prim5.c:329:3: note: ‘snprintf’ output between 54 and 112 bytes into a destination of size 60
snprintf(fmtbuf, FMTBUFSIZE, "%%#0%dtx %%#0%dtx (+ %%#0%dtx bytes @ %%#0%dtx) %%%dtd of %%%dtd\n",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
addrwidth, byteswidth, headerbyteswidth, headeraddrwidth, segswidth, segswidth);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [Makefile:29: prim5.o] Error 1
make[2]: *** [Makefile:20: build] Error 2
make[1]: *** [Makefile:19: build] Error 2
make[1]: Leaving directory '/data/tomsData/github/shen-scheme/_build/csv9.5'
make: *** [Makefile:59: _build/csv9.5/ta6le/boot/ta6le/kernel.o] Error 2
$ gcc --version
gcc (GCC) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es
gibt KEINE Garantie; auch nicht für MARKTGÄNGIGKEIT oder FÜR SPEZIELLE ZWECKE.
$ uname -a
Linux achse 4.17.14-arch1-1-ARCH #1 SMP PREEMPT Thu Aug 9 11:56:50 UTC 2018 x86_64 GNU/Linux
Building chez 9.5.1 from current github works.
Hi @triklsbg, I'm travelling right now thats why I haven't looked at this yet, but will do so once I get back home. As a possible quick solution you may want to try replacing the instances of "9.5" in the makefile to "9.5.1" so that the newer version of Chez is used.
The dependency is set to Chez 9.5.2, and the build passes on Travis, closing. Let me know if this still doesn't work for you.
tom1 ~/github/shen-scheme $ gcc --version
gcc (GCC) 9.1.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
tom1 ~/github/shen-scheme $ make --version
GNU Make 4.2.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
tom1 ~/github/shen-scheme $ uname -a
Linux achse 5.2.11-arch1-1-ARCH #1 SMP PREEMPT Thu Aug 29 08:09:36 UTC 2019 x86_64 GNU/Linux
tom1 ~/github/shen-scheme $
beside: chez scheme 9.5.3 builts from a fresh clone in 50s
see 2nd try results in english near EOF
1st try in german:
here we go:
tom1 ~/github/shen-scheme $ time make prefix=/opt/shen-scheme
echo "Downloading and uncompressing Chez..."
Downloading and uncompressing Chez...
mkdir -p _build
cd _build; curl -LO 'https://github.com/cisco/ChezScheme/releases/download/v9.5.2/csv9.5.2.tar.gz'; tar xzf csv9.5.2.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 605 0 605 0 0 813 0 --:--:-- --:--:-- --:--:-- 812
100 29.9M 100 29.9M 0 0 1015k 0 0:00:30 0:00:30 --:--:-- 1109k
echo "Building Chez..."
Building Chez...
cd _build/csv9.5.2 && ./configure --threads && make
make[1]: Verzeichnis „/data/tomsData/github/shen-scheme/_build/csv9.5.2“ wird betreten
(cd ta6le && make build)
(cd c && make)
ln -s ../../c/statics.c statics.c
ln -s ../../c/system.h system.h
ln -s ../../c/types.h types.h
ln -s ../../c/version.h version.h
ln -s ../../c/externs.h externs.h
ln -s ../../c/globals.h globals.h
ln -s ../../c/segment.h segment.h
ln -s ../../c/thread.h thread.h
ln -s ../../c/sort.h sort.h
(cd ../zlib; CFLAGS=-m64 ./configure --64)
Checking for gcc...
Checking for shared library support...
Building shared library libz.so.1.2.11 with gcc.
Checking for size_t... Yes.
Checking for off64_t... Yes.
Checking for fseeko... Yes.
Checking for strerror... Yes.
Checking for unistd.h... Yes.
Checking for stdarg.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
Checking for attribute(visibility) support... Yes.
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib statics.c
ln -s ../../c/segment.c segment.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib segment.c
ln -s ../../c/alloc.c alloc.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib alloc.c
ln -s ../../c/symbol.c symbol.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib symbol.c
ln -s ../../c/intern.c intern.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib intern.c
ln -s ../../c/gcwrapper.c gcwrapper.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib gcwrapper.c
ln -s ../../c/gc-ocd.c gc-ocd.c
ln -s ../../c/gc.c gc.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib gc-ocd.c
ln -s ../../c/gc-oce.c gc-oce.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib gc-oce.c
ln -s ../../c/number.c number.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib number.c
ln -s ../../c/schsig.c schsig.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib schsig.c
ln -s ../../c/io.c io.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib io.c
ln -s ../../c/new-io.c new-io.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib new-io.c
ln -s ../../c/print.c print.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib print.c
ln -s ../../c/fasl.c fasl.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib fasl.c
ln -s ../../c/stats.c stats.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib stats.c
ln -s ../../c/foreign.c foreign.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib foreign.c
ln -s ../../c/prim.c prim.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib prim.c
ln -s ../../c/prim5.c prim5.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib prim5.c
ln -s ../../c/flushcache.c flushcache.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib flushcache.c
ln -s ../../c/schlib.c schlib.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib schlib.c
ln -s ../../c/thread.c thread.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib thread.c
ln -s ../../c/expeditor.c expeditor.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib expeditor.c
ln -s ../../c/scheme.c scheme.c
ln -s ../../c/itest.c itest.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib scheme.c
ln -s ../../c/i3le.c i3le.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib i3le.c
(cd ../zlib; make)
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -c -o example.o test/example.c
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o adler32.o adler32.c
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o crc32.o crc32.c
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o deflate.o deflate.c
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o infback.o infback.c
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inffast.o inffast.c
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inflate.o inflate.c
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inftrees.o inftrees.c
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o trees.o trees.c
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o zutil.o zutil.c
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o compress.o compress.c
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o uncompr.o uncompr.c
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzclose.o gzclose.c
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzlib.o gzlib.c
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzread.o gzread.c
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzwrite.o gzwrite.c
ar rc libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o example example.o -L. libz.a
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -c -o minigzip.o test/minigzip.c
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzip minigzip.o -L. libz.a
gcc -m64 -fPIC -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/adler32.o adler32.c
gcc -m64 -fPIC -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/crc32.o crc32.c
gcc -m64 -fPIC -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/deflate.o deflate.c
gcc -m64 -fPIC -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/infback.o infback.c
gcc -m64 -fPIC -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/inffast.o inffast.c
gcc -m64 -fPIC -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/inflate.o inflate.c
gcc -m64 -fPIC -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/inftrees.o inftrees.c
gcc -m64 -fPIC -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/trees.o trees.c
gcc -m64 -fPIC -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/zutil.o zutil.c
gcc -m64 -fPIC -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/compress.o compress.c
gcc -m64 -fPIC -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/uncompr.o uncompr.c
gcc -m64 -fPIC -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/gzclose.o gzclose.c
gcc -m64 -fPIC -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/gzlib.o gzlib.c
gcc -m64 -fPIC -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/gzread.o gzread.c
gcc -m64 -fPIC -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/gzwrite.o gzwrite.c
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -m64 -fPIC -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o libz.so.1.2.11 adler32.lo crc32.lo deflate.lo infback.lo inffast.lo inflate.lo inftrees.lo trees.lo zutil.lo compress.lo uncompr.lo gzclose.lo gzlib.lo gzread.lo gzwrite.lo -lc
rm -f libz.so libz.so.1
ln -s libz.so.1.2.11 libz.so
ln -s libz.so.1.2.11 libz.so.1
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o examplesh example.o -L. libz.so.1.2.11
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzipsh minigzip.o -L. libz.so.1.2.11
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -D_FILE_OFFSET_BITS=64 -c -o example64.o test/example.c
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o example64 example64.o -L. libz.a
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -D_FILE_OFFSET_BITS=64 -c -o minigzip64.o test/minigzip.c
gcc -m64 -m64 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzip64 minigzip64.o -L. libz.a
ld -melf_x86_64 -r -X -o ../boot/ta6le/kernel.o statics.o segment.o alloc.o symbol.o intern.o gcwrapper.o gc-ocd.o gc-oce.o number.o schsig.o io.o new-io.o print.o fasl.o stats.o foreign.o prim.o prim5.o flushcache.o schlib.o thread.o expeditor.o scheme.o i3le.o ../zlib/libz.a
ln -s ../../c/main.c main.c
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -c -DX86_64 -I../boot/ta6le -I../zlib main.c
cp -p main.o ../boot/ta6le/main.o
gcc -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread -rdynamic -o ../bin/ta6le/scheme ../boot/ta6le/kernel.o ../boot/ta6le/main.o -lm -ldl -lncurses -lpthread -lrt -luuid
(cd s && make bootstrap)
ln -s ../../s/library.ss library.ss
ln -s ../../s/prims.ss prims.ss
ln -s ../../s/mathprims.ss mathprims.ss
ln -s ../../s/record.ss record.ss
ln -s ../../s/5_1.ss 5_1.ss
ln -s ../../s/5_2.ss 5_2.ss
ln -s ../../s/5_3.ss 5_3.ss
ln -s ../../s/strnum.ss strnum.ss
ln -s ../../s/bytevector.ss bytevector.ss
ln -s ../../s/5_4.ss 5_4.ss
ln -s ../../s/5_6.ss 5_6.ss
ln -s ../../s/5_7.ss 5_7.ss
ln -s ../../s/event.ss event.ss
ln -s ../../s/4.ss 4.ss
ln -s ../../s/front.ss front.ss
ln -s ../../s/foreign.ss foreign.ss
ln -s ../../s/6.ss 6.ss
ln -s ../../s/print.ss print.ss
ln -s ../../s/newhash.ss newhash.ss
ln -s ../../s/format.ss format.ss
ln -s ../../s/date.ss date.ss
ln -s ../../s/7.ss 7.ss
ln -s ../../s/cafe.ss cafe.ss
ln -s ../../s/trace.ss trace.ss
ln -s ../../s/engine.ss engine.ss
ln -s ../../s/interpret.ss interpret.ss
ln -s ../../s/cprep.ss cprep.ss
ln -s ../../s/cpcheck.ss cpcheck.ss
ln -s ../../s/cp0.ss cp0.ss
ln -s ../../s/cpvalid.ss cpvalid.ss
ln -s ../../s/cpcommonize.ss cpcommonize.ss
ln -s ../../s/cpletrec.ss cpletrec.ss
ln -s ../../s/inspect.ss inspect.ss
ln -s ../../s/enum.ss enum.ss
ln -s ../../s/io.ss io.ss
ln -s ../../s/read.ss read.ss
ln -s ../../s/primvars.ss primvars.ss
ln -s ../../s/syntax.ss syntax.ss
ln -s ../../s/costctr.ss costctr.ss
ln -s ../../s/expeditor.ss expeditor.ss
ln -s ../../s/exceptions.ss exceptions.ss
ln -s ../../s/pretty.ss pretty.ss
ln -s ../../s/env.ss env.ss
ln -s ../../s/fasl.ss fasl.ss
ln -s ../../s/reloc.ss reloc.ss
ln -s ../../s/pdhtml.ss pdhtml.ss
ln -s ../../s/strip.ss strip.ss
ln -s ../../s/ftype.ss ftype.ss
ln -s ../../s/back.ss back.ss
ln -s ../../s/cpnanopass.ss cpnanopass.ss
ln -s ../../s/compile.ss compile.ss
ln -s ../../s/cback.ss cback.ss
ln -s ../../s/cmacros.ss cmacros.ss
ln -s ../../s/x86_64.ss x86_64.ss
ln -s ../../s/setup.ss setup.ss
ln -s ../../s/debug.ss debug.ss
ln -s ../../s/priminfo.ss priminfo.ss
ln -s ../../s/primdata.ss primdata.ss
ln -s ../../s/layout.ss layout.ss
ln -s ../../s/base-lang.ss base-lang.ss
ln -s ../../s/expand-lang.ss expand-lang.ss
ln -s ../../s/primref.ss primref.ss
ln -s ../../s/types.ss types.ss
ln -s ../../s/io-types.ss io-types.ss
ln -s ../../s/fasl-helpers.ss fasl-helpers.ss
ln -s ../../s/hashtable-types.ss hashtable-types.ss
ln -s ../../s/np-languages.ss np-languages.ss
make allx
rm -f *.ta6le xpatch patch *.patch *.so *.asm script.all header.tmp *.html
rm -rf nanopass
cp -p -f ../boot/ta6le/petite.boot ../boot/ta6le/sbb
cp -p -f ../boot/ta6le/scheme.boot ../boot/ta6le/scb
make all
echo '(reset-handler abort)'
'(base-exception-handler (lambda (c) (fresh-line) (display-condition c) (newline) (reset)))'
'(keyboard-interrupt-handler (lambda () (display "interrupted---aborting\n") (reset)))'
'(optimize-level 3)'
'(debug-level 0)'
'(commonization-level (commonization-level))'
'(generate-inspector-information #f)'
'(subset-mode (quote system))'
'(compile-file "cmacros.ss" "cmacros.so")'
| ../bin/ta6le/scheme -q
compiling cmacros.ss with output to cmacros.so
echo '(reset-handler abort)'
'(base-exception-handler (lambda (c) (fresh-line) (display-condition c) (newline) (reset)))'
'(keyboard-interrupt-handler (lambda () (display "interrupted---aborting\n") (reset)))'
'(optimize-level 3)'
'(debug-level 0)'
'(commonization-level (commonization-level))'
'(generate-inspector-information #f)'
'(subset-mode (quote system))'
'(compile-file "priminfo.ss" "priminfo.so")'
| ../bin/ta6le/scheme -q cmacros.so
compiling priminfo.ss with output to priminfo.so
echo '(reset-handler abort)'
'(base-exception-handler (lambda (c) (fresh-line) (display-condition c) (newline) (reset)))'
'(keyboard-interrupt-handler (lambda () (display "interrupted---aborting\n") (reset)))'
'(optimize-level 3)'
'(debug-level 0)'
'(commonization-level (commonization-level))'
'(generate-inspector-information #f)'
'(subset-mode (quote system))'
'(compile-file "primvars.ss" "primvars.so")'
| ../bin/ta6le/scheme -q cmacros.so priminfo.so
compiling primvars.ss with output to primvars.so
echo '(reset-handler abort)'
'(base-exception-handler (lambda (c) (fresh-line) (display-condition c) (newline) (reset)))'
'(keyboard-interrupt-handler (lambda () (display "interrupted---aborting\n") (reset)))'
'(optimize-level 3)'
'(debug-level 0)'
'(commonization-level (commonization-level))'
'(generate-inspector-information #f)'
'(subset-mode (quote system))'
'(compile-file "env.ss" "env.so")'
| ../bin/ta6le/scheme -q cmacros.so priminfo.so
compiling env.ss with output to env.so
echo '(reset-handler abort)'
'(base-exception-handler (lambda (c) (fresh-line) (display-condition c) (newline) (reset)))'
'(keyboard-interrupt-handler (lambda () (display "interrupted---aborting\n") (reset)))'
'(optimize-level 3)'
'(debug-level 0)'
'(commonization-level (commonization-level))'
'(generate-inspector-information #f)'
'(subset-mode (quote system))'
'(compile-file "setup.ss" "setup.so")'
| ../bin/ta6le/scheme -q cmacros.so priminfo.so
compiling setup.ss with output to setup.so
echo '(reset-handler abort)'
'(base-exception-handler (lambda (c) (fresh-line) (display-condition c) (newline) (reset)))'
'(keyboard-interrupt-handler (lambda () (display "interrupted---aborting\n") (reset)))'
'(optimize-level 3)'
'(debug-level 0)'
'(commonization-level (commonization-level))'
'(generate-inspector-information #f)'
'(collect-trip-bytes (expt 2 24))'
'(collect-request-handler (lambda () (collect 0 1)))'
'(collect 1 2)'
'(compile-library "../nanopass/nanopass.ss" "nanopass.so")'
| ../bin/ta6le/scheme -q --libdirs "../nanopass::." --compile-imported-libraries
compiling ../nanopass/nanopass.ss with output to nanopass.so
compiling ../nanopass/nanopass/language.ss with output to nanopass/language.so
compiling ../nanopass/nanopass/helpers.ss with output to nanopass/helpers.so
compiling ../nanopass/nanopass/implementation-helpers.chezscheme.sls with output to nanopass/implementation-helpers.chezscheme.so
compiling ../nanopass/nanopass/language-helpers.ss with output to nanopass/language-helpers.so
compiling ../nanopass/nanopass/records.ss with output to nanopass/records.so
compiling ../nanopass/nanopass/syntaxconvert.ss with output to nanopass/syntaxconvert.so
compiling ../nanopass/nanopass/unparser.ss with output to nanopass/unparser.so
compiling ../nanopass/nanopass/meta-parser.ss with output to nanopass/meta-parser.so
compiling ../nanopass/nanopass/meta-syntax-dispatch.ss with output to nanopass/meta-syntax-dispatch.so
compiling ../nanopass/nanopass/parser.ss with output to nanopass/parser.so
compiling ../nanopass/nanopass/nano-syntax-dispatch.ss with output to nanopass/nano-syntax-dispatch.so
compiling ../nanopass/nanopass/language-node-counter.ss with output to nanopass/language-node-counter.so
compiling ../nanopass/nanopass/pass.ss with output to nanopass/pass.so
echo '(reset-handler abort)'
'(for-each load (command-line-arguments))'
'(optimize-level 3)'
'(debug-level 0)'
'(commonization-level (commonization-level))'
'(when #f (compile-profile (quote source)))'
'(when #f (compile-profile (quote block)))'
'(when #f (profile-load-data "source.pd"))'
'(when #f (profile-load-data "block.pd"))'
'(generate-inspector-information #f)'
'(generate-allocation-counts #f)'
'(generate-instruction-counts #f)'
'(#%$enable-pass-timing #f)'
'(run-cp0 (lambda (cp0 x)'
' (do ([i 2 (fx- i 1)] [x x (cp0 x)])'
' ((fx= i 0) x))))'
'(collect-trip-bytes (expt 2 24))'
'(collect-request-handler (lambda () (collect 0 1)))'
'(time (for-each (lambda (x y)'
' (collect 1 2)'
' (compile-file (symbol->string x)'
' (symbol->string y)'
' (quote ta6le)))'
' (quote (library.ss prims.ss mathprims.ss record.ss 5_1.ss 5_2.ss 5_3.ss strnum.ss bytevector.ss 5_4.ss 5_6.ss 5_7.ss event.ss 4.ss front.ss foreign.ss 6.ss print.ss newhash.ss format.ss date.ss 7.ss cafe.ss trace.ss engine.ss interpret.ss cprep.ss cpcheck.ss cp0.ss cpvalid.ss cpcommonize.ss cpletrec.ss inspect.ss enum.ss io.ss read.ss primvars.ss syntax.ss costctr.ss expeditor.ss exceptions.ss pretty.ss env.ss fasl.ss reloc.ss pdhtml.ss strip.ss ftype.ss back.ss cpnanopass.ss compile.ss cback.ss))'
' (quote (library.ta6le prims.ta6le mathprims.ta6le record.ta6le 5_1.ta6le 5_2.ta6le 5_3.ta6le strnum.ta6le bytevector.ta6le 5_4.ta6le 5_6.ta6le 5_7.ta6le event.ta6le 4.ta6le front.ta6le foreign.ta6le 6.ta6le print.ta6le newhash.ta6le format.ta6le date.ta6le 7.ta6le cafe.ta6le trace.ta6le engine.ta6le interpret.ta6le cprep.ta6le cpcheck.ta6le cp0.ta6le cpvalid.ta6le cpcommonize.ta6le cpletrec.ta6le inspect.ta6le enum.ta6le io.ta6le read.ta6le primvars.ta6le syntax.ta6le costctr.ta6le expeditor.ta6le exceptions.ta6le pretty.ta6le env.ta6le fasl.ta6le reloc.ta6le pdhtml.ta6le strip.ta6le ftype.ta6le back.ta6le cpnanopass.ta6le compile.ta6le cback.ta6le))))'
'(when #f (#%$print-pass-stats))'
'(apply #%$make-boot-file "../boot/ta6le/petite.boot" (quote ta6le) (quote ())'
' (map symbol->string (quote (library.ta6le prims.ta6le mathprims.ta6le record.ta6le 5_1.ta6le 5_2.ta6le 5_3.ta6le strnum.ta6le bytevector.ta6le 5_4.ta6le 5_6.ta6le 5_7.ta6le event.ta6le 4.ta6le front.ta6le foreign.ta6le 6.ta6le print.ta6le newhash.ta6le format.ta6le date.ta6le 7.ta6le cafe.ta6le trace.ta6le engine.ta6le interpret.ta6le cprep.ta6le cpcheck.ta6le cp0.ta6le cpvalid.ta6le cpcommonize.ta6le cpletrec.ta6le inspect.ta6le enum.ta6le io.ta6le read.ta6le primvars.ta6le syntax.ta6le costctr.ta6le expeditor.ta6le exceptions.ta6le pretty.ta6le env.ta6le fasl.ta6le reloc.ta6le pdhtml.ta6le strip.ta6le ftype.ta6le back.ta6le))))'
'(apply #%$make-boot-file "../boot/ta6le/scheme.boot" (quote ta6le) (quote ("petite"))'
' (map symbol->string (quote (cpnanopass.ta6le compile.ta6le cback.ta6le))))'
'(when #f (profile-dump-html))'
'(when #f (profile-dump-data "source.pd"))'
'(when #f (profile-dump-data "block.pd"))'
> script.all
../bin/ta6le/scheme -q cmacros.so priminfo.so primvars.so env.so setup.so --script script.all
compiling library.ss with output to library.ta6le
compiling prims.ss with output to prims.ta6le
compiling mathprims.ss with output to mathprims.ta6le
compiling record.ss with output to record.ta6le
compiling 5_1.ss with output to 5_1.ta6le
compiling 5_2.ss with output to 5_2.ta6le
compiling 5_3.ss with output to 5_3.ta6le
compiling strnum.ss with output to strnum.ta6le
compiling bytevector.ss with output to bytevector.ta6le
compiling 5_4.ss with output to 5_4.ta6le
compiling 5_6.ss with output to 5_6.ta6le
compiling 5_7.ss with output to 5_7.ta6le
compiling event.ss with output to event.ta6le
compiling 4.ss with output to 4.ta6le
compiling front.ss with output to front.ta6le
compiling foreign.ss with output to foreign.ta6le
compiling 6.ss with output to 6.ta6le
compiling print.ss with output to print.ta6le
compiling newhash.ss with output to newhash.ta6le
compiling format.ss with output to format.ta6le
compiling date.ss with output to date.ta6le
compiling 7.ss with output to 7.ta6le
compiling cafe.ss with output to cafe.ta6le
compiling trace.ss with output to trace.ta6le
compiling engine.ss with output to engine.ta6le
compiling interpret.ss with output to interpret.ta6le
compiling cprep.ss with output to cprep.ta6le
compiling cpcheck.ss with output to cpcheck.ta6le
compiling cp0.ss with output to cp0.ta6le
compiling cpvalid.ss with output to cpvalid.ta6le
compiling cpcommonize.ss with output to cpcommonize.ta6le
compiling cpletrec.ss with output to cpletrec.ta6le
compiling inspect.ss with output to inspect.ta6le
compiling enum.ss with output to enum.ta6le
compiling io.ss with output to io.ta6le
compiling read.ss with output to read.ta6le
compiling primvars.ss with output to primvars.ta6le
compiling syntax.ss with output to syntax.ta6le
compiling costctr.ss with output to costctr.ta6le
compiling expeditor.ss with output to expeditor.ta6le
compiling exceptions.ss with output to exceptions.ta6le
compiling pretty.ss with output to pretty.ta6le
compiling env.ss with output to env.ta6le
compiling fasl.ss with output to fasl.ta6le
compiling reloc.ss with output to reloc.ta6le
compiling pdhtml.ss with output to pdhtml.ta6le
compiling strip.ss with output to strip.ta6le
compiling ftype.ss with output to ftype.ta6le
compiling back.ss with output to back.ta6le
compiling cpnanopass.ss with output to cpnanopass.ta6le
compiling compile.ss with output to compile.ta6le
compiling cback.ss with output to cback.ta6le
(time (for-each (lambda (...) ...) ...))
495 collections
11.047935650s elapsed cpu time, including 3.792352654s collecting
11.083270001s elapsed real time, including 3.804350500s collecting
7853288048 bytes allocated, including 7850717792 bytes reclaimed
ln -s ../../s/mkheader.ss mkheader.ss
echo '(reset-handler abort)'
'(base-exception-handler (lambda (c) (fresh-line) (display-condition c) (newline) (reset)))'
'(keyboard-interrupt-handler (lambda () (display "interrupted---aborting\n") (reset)))'
'(optimize-level 3)'
'(debug-level 0)'
'(commonization-level (commonization-level))'
'(generate-inspector-information #f)'
'(subset-mode (quote system))'
'(compile-file "mkheader.ss" "mkheader.so")'
| ../bin/ta6le/scheme -q cmacros.so priminfo.so primvars.so env.so
compiling mkheader.ss with output to mkheader.so
(if [ -r ../boot/ta6le/scheme.h ]; then mv -f ../boot/ta6le/scheme.h ../boot/ta6le/scheme.h.bak; fi)
echo '(reset-handler abort)'
'(mkscheme.h "../boot/ta6le/scheme.h" (quote ta6le))' |
../bin/ta6le/scheme -q cmacros.so priminfo.so primvars.so env.so setup.so mkheader.so
(if cmp -s ../boot/ta6le/scheme.h ../boot/ta6le/scheme.h.bak
;
then mv -f ../boot/ta6le/scheme.h.bak ../boot/ta6le/scheme.h;
else rm -f ../boot/ta6le/scheme.h.bak; fi)
(if [ -r ../boot/ta6le/equates.h ]; then mv -f ../boot/ta6le/equates.h ../boot/ta6le/equates.h.bak; fi)
echo '(reset-handler abort)'
'(mkequates.h "../boot/ta6le/equates.h")' |
../bin/ta6le/scheme -q cmacros.so priminfo.so primvars.so env.so setup.so mkheader.so
(if cmp -s ../boot/ta6le/equates.h ../boot/ta6le/equates.h.bak
;
then mv -f ../boot/ta6le/equates.h.bak ../boot/ta6le/equates.h;
else rm -f ../boot/ta6le/equates.h.bak; fi)
if make checkboot > /dev/null 2>&1; then echo fine ; else
make prettyclean saveboot &&
make all &&
if make checkboot > /dev/null 2>&1; then echo fine ; else
make prettyclean saveboot &&
make all &&
make checkboot ;
fi
fi
rm -f *.ta6le xpatch patch *.patch *.so *.asm script.all header.tmp *.html
rm -rf nanopass
cp -p -f ../boot/ta6le/petite.boot ../boot/ta6le/sbb
cp -p -f ../boot/ta6le/scheme.boot ../boot/ta6le/scb
echo '(reset-handler abort)'
'(base-exception-handler (lambda (c) (fresh-line) (display-condition c) (newline) (reset)))'
'(keyboard-interrupt-handler (lambda () (display "interrupted---aborting\n") (reset)))'
'(optimize-level 3)'
'(debug-level 0)'
'(commonization-level (commonization-level))'
'(generate-inspector-information #f)'
'(subset-mode (quote system))'
'(compile-file "cmacros.ss" "cmacros.so")'
| ../bin/ta6le/scheme -q
compiling cmacros.ss with output to cmacros.so
echo '(reset-handler abort)'
'(base-exception-handler (lambda (c) (fresh-line) (display-condition c) (newline) (reset)))'
'(keyboard-interrupt-handler (lambda () (display "interrupted---aborting\n") (reset)))'
'(optimize-level 3)'
'(debug-level 0)'
'(commonization-level (commonization-level))'
'(generate-inspector-information #f)'
'(subset-mode (quote system))'
'(compile-file "priminfo.ss" "priminfo.so")'
| ../bin/ta6le/scheme -q cmacros.so
compiling priminfo.ss with output to priminfo.so
echo '(reset-handler abort)'
'(base-exception-handler (lambda (c) (fresh-line) (display-condition c) (newline) (reset)))'
'(keyboard-interrupt-handler (lambda () (display "interrupted---aborting\n") (reset)))'
'(optimize-level 3)'
'(debug-level 0)'
'(commonization-level (commonization-level))'
'(generate-inspector-information #f)'
'(subset-mode (quote system))'
'(compile-file "primvars.ss" "primvars.so")'
| ../bin/ta6le/scheme -q cmacros.so priminfo.so
compiling primvars.ss with output to primvars.so
echo '(reset-handler abort)'
'(base-exception-handler (lambda (c) (fresh-line) (display-condition c) (newline) (reset)))'
'(keyboard-interrupt-handler (lambda () (display "interrupted---aborting\n") (reset)))'
'(optimize-level 3)'
'(debug-level 0)'
'(commonization-level (commonization-level))'
'(generate-inspector-information #f)'
'(subset-mode (quote system))'
'(compile-file "env.ss" "env.so")'
| ../bin/ta6le/scheme -q cmacros.so priminfo.so
compiling env.ss with output to env.so
echo '(reset-handler abort)'
'(base-exception-handler (lambda (c) (fresh-line) (display-condition c) (newline) (reset)))'
'(keyboard-interrupt-handler (lambda () (display "interrupted---aborting\n") (reset)))'
'(optimize-level 3)'
'(debug-level 0)'
'(commonization-level (commonization-level))'
'(generate-inspector-information #f)'
'(subset-mode (quote system))'
'(compile-file "setup.ss" "setup.so")'
| ../bin/ta6le/scheme -q cmacros.so priminfo.so
compiling setup.ss with output to setup.so
echo '(reset-handler abort)'
'(base-exception-handler (lambda (c) (fresh-line) (display-condition c) (newline) (reset)))'
'(keyboard-interrupt-handler (lambda () (display "interrupted---aborting\n") (reset)))'
'(optimize-level 3)'
'(debug-level 0)'
'(commonization-level (commonization-level))'
'(generate-inspector-information #f)'
'(collect-trip-bytes (expt 2 24))'
'(collect-request-handler (lambda () (collect 0 1)))'
'(collect 1 2)'
'(compile-library "../nanopass/nanopass.ss" "nanopass.so")'
| ../bin/ta6le/scheme -q --libdirs "../nanopass::." --compile-imported-libraries
compiling ../nanopass/nanopass.ss with output to nanopass.so
compiling ../nanopass/nanopass/language.ss with output to nanopass/language.so
compiling ../nanopass/nanopass/helpers.ss with output to nanopass/helpers.so
compiling ../nanopass/nanopass/implementation-helpers.chezscheme.sls with output to nanopass/implementation-helpers.chezscheme.so
compiling ../nanopass/nanopass/language-helpers.ss with output to nanopass/language-helpers.so
compiling ../nanopass/nanopass/records.ss with output to nanopass/records.so
compiling ../nanopass/nanopass/syntaxconvert.ss with output to nanopass/syntaxconvert.so
compiling ../nanopass/nanopass/unparser.ss with output to nanopass/unparser.so
compiling ../nanopass/nanopass/meta-parser.ss with output to nanopass/meta-parser.so
compiling ../nanopass/nanopass/meta-syntax-dispatch.ss with output to nanopass/meta-syntax-dispatch.so
compiling ../nanopass/nanopass/parser.ss with output to nanopass/parser.so
compiling ../nanopass/nanopass/nano-syntax-dispatch.ss with output to nanopass/nano-syntax-dispatch.so
compiling ../nanopass/nanopass/language-node-counter.ss with output to nanopass/language-node-counter.so
compiling ../nanopass/nanopass/pass.ss with output to nanopass/pass.so
echo '(reset-handler abort)'
'(for-each load (command-line-arguments))'
'(optimize-level 3)'
'(debug-level 0)'
'(commonization-level (commonization-level))'
'(when #f (compile-profile (quote source)))'
'(when #f (compile-profile (quote block)))'
'(when #f (profile-load-data "source.pd"))'
'(when #f (profile-load-data "block.pd"))'
'(generate-inspector-information #f)'
'(generate-allocation-counts #f)'
'(generate-instruction-counts #f)'
'(#%$enable-pass-timing #f)'
'(run-cp0 (lambda (cp0 x)'
' (do ([i 2 (fx- i 1)] [x x (cp0 x)])'
' ((fx= i 0) x))))'
'(collect-trip-bytes (expt 2 24))'
'(collect-request-handler (lambda () (collect 0 1)))'
'(time (for-each (lambda (x y)'
' (collect 1 2)'
' (compile-file (symbol->string x)'
' (symbol->string y)'
' (quote ta6le)))'
' (quote (library.ss prims.ss mathprims.ss record.ss 5_1.ss 5_2.ss 5_3.ss strnum.ss bytevector.ss 5_4.ss 5_6.ss 5_7.ss event.ss 4.ss front.ss foreign.ss 6.ss print.ss newhash.ss format.ss date.ss 7.ss cafe.ss trace.ss engine.ss interpret.ss cprep.ss cpcheck.ss cp0.ss cpvalid.ss cpcommonize.ss cpletrec.ss inspect.ss enum.ss io.ss read.ss primvars.ss syntax.ss costctr.ss expeditor.ss exceptions.ss pretty.ss env.ss fasl.ss reloc.ss pdhtml.ss strip.ss ftype.ss back.ss cpnanopass.ss compile.ss cback.ss))'
' (quote (library.ta6le prims.ta6le mathprims.ta6le record.ta6le 5_1.ta6le 5_2.ta6le 5_3.ta6le strnum.ta6le bytevector.ta6le 5_4.ta6le 5_6.ta6le 5_7.ta6le event.ta6le 4.ta6le front.ta6le foreign.ta6le 6.ta6le print.ta6le newhash.ta6le format.ta6le date.ta6le 7.ta6le cafe.ta6le trace.ta6le engine.ta6le interpret.ta6le cprep.ta6le cpcheck.ta6le cp0.ta6le cpvalid.ta6le cpcommonize.ta6le cpletrec.ta6le inspect.ta6le enum.ta6le io.ta6le read.ta6le primvars.ta6le syntax.ta6le costctr.ta6le expeditor.ta6le exceptions.ta6le pretty.ta6le env.ta6le fasl.ta6le reloc.ta6le pdhtml.ta6le strip.ta6le ftype.ta6le back.ta6le cpnanopass.ta6le compile.ta6le cback.ta6le))))'
'(when #f (#%$print-pass-stats))'
'(apply #%$make-boot-file "../boot/ta6le/petite.boot" (quote ta6le) (quote ())'
' (map symbol->string (quote (library.ta6le prims.ta6le mathprims.ta6le record.ta6le 5_1.ta6le 5_2.ta6le 5_3.ta6le strnum.ta6le bytevector.ta6le 5_4.ta6le 5_6.ta6le 5_7.ta6le event.ta6le 4.ta6le front.ta6le foreign.ta6le 6.ta6le print.ta6le newhash.ta6le format.ta6le date.ta6le 7.ta6le cafe.ta6le trace.ta6le engine.ta6le interpret.ta6le cprep.ta6le cpcheck.ta6le cp0.ta6le cpvalid.ta6le cpcommonize.ta6le cpletrec.ta6le inspect.ta6le enum.ta6le io.ta6le read.ta6le primvars.ta6le syntax.ta6le costctr.ta6le expeditor.ta6le exceptions.ta6le pretty.ta6le env.ta6le fasl.ta6le reloc.ta6le pdhtml.ta6le strip.ta6le ftype.ta6le back.ta6le))))'
'(apply #%$make-boot-file "../boot/ta6le/scheme.boot" (quote ta6le) (quote ("petite"))'
' (map symbol->string (quote (cpnanopass.ta6le compile.ta6le cback.ta6le))))'
'(when #f (profile-dump-html))'
'(when #f (profile-dump-data "source.pd"))'
'(when #f (profile-dump-data "block.pd"))'
> script.all
../bin/ta6le/scheme -q cmacros.so priminfo.so primvars.so env.so setup.so --script script.all
compiling library.ss with output to library.ta6le
compiling prims.ss with output to prims.ta6le
compiling mathprims.ss with output to mathprims.ta6le
compiling record.ss with output to record.ta6le
compiling 5_1.ss with output to 5_1.ta6le
compiling 5_2.ss with output to 5_2.ta6le
compiling 5_3.ss with output to 5_3.ta6le
compiling strnum.ss with output to strnum.ta6le
compiling bytevector.ss with output to bytevector.ta6le
compiling 5_4.ss with output to 5_4.ta6le
compiling 5_6.ss with output to 5_6.ta6le
compiling 5_7.ss with output to 5_7.ta6le
compiling event.ss with output to event.ta6le
compiling 4.ss with output to 4.ta6le
compiling front.ss with output to front.ta6le
compiling foreign.ss with output to foreign.ta6le
compiling 6.ss with output to 6.ta6le
compiling print.ss with output to print.ta6le
compiling newhash.ss with output to newhash.ta6le
compiling format.ss with output to format.ta6le
compiling date.ss with output to date.ta6le
compiling 7.ss with output to 7.ta6le
compiling cafe.ss with output to cafe.ta6le
compiling trace.ss with output to trace.ta6le
compiling engine.ss with output to engine.ta6le
compiling interpret.ss with output to interpret.ta6le
compiling cprep.ss with output to cprep.ta6le
compiling cpcheck.ss with output to cpcheck.ta6le
compiling cp0.ss with output to cp0.ta6le
compiling cpvalid.ss with output to cpvalid.ta6le
compiling cpcommonize.ss with output to cpcommonize.ta6le
compiling cpletrec.ss with output to cpletrec.ta6le
compiling inspect.ss with output to inspect.ta6le
compiling enum.ss with output to enum.ta6le
compiling io.ss with output to io.ta6le
compiling read.ss with output to read.ta6le
compiling primvars.ss with output to primvars.ta6le
compiling syntax.ss with output to syntax.ta6le
compiling costctr.ss with output to costctr.ta6le
compiling expeditor.ss with output to expeditor.ta6le
compiling exceptions.ss with output to exceptions.ta6le
compiling pretty.ss with output to pretty.ta6le
compiling env.ss with output to env.ta6le
compiling fasl.ss with output to fasl.ta6le
compiling reloc.ss with output to reloc.ta6le
compiling pdhtml.ss with output to pdhtml.ta6le
compiling strip.ss with output to strip.ta6le
compiling ftype.ss with output to ftype.ta6le
compiling back.ss with output to back.ta6le
compiling cpnanopass.ss with output to cpnanopass.ta6le
compiling compile.ss with output to compile.ta6le
compiling cback.ss with output to cback.ta6le
(time (for-each (lambda (...) ...) ...))
495 collections
10.582096846s elapsed cpu time, including 3.588082467s collecting
10.614484716s elapsed real time, including 3.600718702s collecting
7853539392 bytes allocated, including 7850980912 bytes reclaimed
echo '(reset-handler abort)'
'(base-exception-handler (lambda (c) (fresh-line) (display-condition c) (newline) (reset)))'
'(keyboard-interrupt-handler (lambda () (display "interrupted---aborting\n") (reset)))'
'(optimize-level 3)'
'(debug-level 0)'
'(commonization-level (commonization-level))'
'(generate-inspector-information #f)'
'(subset-mode (quote system))'
'(compile-file "mkheader.ss" "mkheader.so")'
| ../bin/ta6le/scheme -q cmacros.so priminfo.so primvars.so env.so
compiling mkheader.ss with output to mkheader.so
(if [ -r ../boot/ta6le/scheme.h ]; then mv -f ../boot/ta6le/scheme.h ../boot/ta6le/scheme.h.bak; fi)
echo '(reset-handler abort)'
'(mkscheme.h "../boot/ta6le/scheme.h" (quote ta6le))' |
../bin/ta6le/scheme -q cmacros.so priminfo.so primvars.so env.so setup.so mkheader.so
(if cmp -s ../boot/ta6le/scheme.h ../boot/ta6le/scheme.h.bak
;
then mv -f ../boot/ta6le/scheme.h.bak ../boot/ta6le/scheme.h;
else rm -f ../boot/ta6le/scheme.h.bak; fi)
(if [ -r ../boot/ta6le/equates.h ]; then mv -f ../boot/ta6le/equates.h ../boot/ta6le/equates.h.bak; fi)
echo '(reset-handler abort)'
'(mkequates.h "../boot/ta6le/equates.h")' |
../bin/ta6le/scheme -q cmacros.so priminfo.so primvars.so env.so setup.so mkheader.so
(if cmp -s ../boot/ta6le/equates.h ../boot/ta6le/equates.h.bak
;
then mv -f ../boot/ta6le/equates.h.bak ../boot/ta6le/equates.h;
else rm -f ../boot/ta6le/equates.h.bak; fi)
fine
make restoreboot
mv -f ../boot/ta6le/sbb ../boot/ta6le/petite.boot
mv -f ../boot/ta6le/scb ../boot/ta6le/scheme.boot
make resetbootlinks
touch bootstrap
make[1]: Verzeichnis „/data/tomsData/github/shen-scheme/_build/csv9.5.2“ wird verlassen
cc -c -o main.o main.c -D DEFAULT_SHEN_SCHEME_HOME_PATH="/opt/shen-scheme/lib/shen-scheme" -I_build/csv9.5.2/ta6le/boot/ta6le -I./lib -Wall -Wextra -pedantic -m64
main.c: In Funktion »initialize_paths«:
main.c:20:61: Warnung: Format »%s« erwartet Argumenttyp »char *«, aber Argument 4 hat Typ »void « [-Wformat=]
20 | # define strcpy_s(dest, size, src) snprintf(dest, size, "%s", src)
| ^~~~
main.c:65:5: Anmerkung: bei Substitution des Makros »strcpy_s«
65 | strcpy_s(shen_scheme_bootfile_path, PATH_MAX, DEFAULT_SHEN_SCHEME_BOOTFILE_PATH);
| ^~~~~~~~
main.c:20:63: Anmerkung: Formatzeichenkette ist hier definiert
20 | # define strcpy_s(dest, size, src) snprintf(dest, size, "%s", src)
| ~^
| |
| char *
| %p
main.c: In Funktion »main«:
main.c:90:48: Warnung: ISO-C verbietet Konvertierung von Funktionszeigern in Objektzeigertyp [-Wpedantic]
90 | Sforeign_symbol("get_shen_scheme_home_path", (void)get_shen_scheme_home_path);
| ^
main.c: In Funktion »initialize_paths«:
main.c:67:56: Warnung: Ausgabe der »boot«-Direktive könnte abgeschnitten sein, beim Schreiben von 4 Bytes in eine Region der Größe zwischen 0 und 4095 [-Wformat-truncation=]
67 | snprintf(shen_scheme_bootfile_path, PATH_MAX, "%s%sboot%sshen.boot",
| ^~~~
main.c:67:5: Anmerkung: »snprintf« hat zwischen 16 und 4111 Bytes in das Ziel der Größe 4096 ausgegeben
67 | snprintf(shen_scheme_bootfile_path, PATH_MAX, "%s%sboot%sshen.boot",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | shen_scheme_home_path, PATH_SEPARATOR, PATH_SEPARATOR);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -o shen-scheme _build/csv9.5.2/ta6le/boot/ta6le/kernel.o main.o -lm -ldl -lpthread -luuid
make: *** Keine Regel vorhanden, um das Ziel „shen-scheme.scm“,
benötigt von „boot/shen.boot“, zu erstellen. Schluss.
real 1m12,257s
user 0m40,043s
sys 0m3,626s
2nd try in english:
tom1 ~/github/shen-scheme $ LANGUAGE=us; time make prefix=/opt/shen-scheme
make: *** No rule to make target 'shen-scheme.scm', needed by 'boot/shen.boot'. Stop.
real 0m0,018s
user 0m0,013s
sys 0m0,004s
tom1 ~/github/shen-scheme $