Trying to make chibi.js fails with the following error:
chibi-scheme$ make js/chibi.js
emmake make PLATFORM=emscripten CHIBI_DEPENDENCIES= CHIBI=./chibi-scheme-emscripten PREFIX= CFLAGS=-O2 SEXP_USE_DL=0 EXE=.bc SO=.bc CPPFLAGS="-DSEXP_USE_STRICT_TOPLEVEL_BINDINGS=1 -DSEXP_USE_ALIGNED_BYTECODE=1 -DSEXP_USE_STATIC_LIBS=1 -DSEXP_USE_STATIC_LIBS_NO_INCLUDE=0" clibs.c chibi-scheme-static.bc
cache:INFO: generating system asset: is_vanilla.txt... (this will be cached in "/home/amirouche/.emscripten_cache/is_vanilla.txt" for subsequent builds)
cache:INFO: - ok
make: ['make', 'PLATFORM=emscripten', 'CHIBI_DEPENDENCIES=', 'CHIBI=./chibi-scheme-emscripten', 'PREFIX=', 'CFLAGS=-O2', 'SEXP_USE_DL=0', 'EXE=.bc', 'SO=.bc', 'CPPFLAGS=-DSEXP_USE_STRICT_TOPLEVEL_BINDINGS=1 -DSEXP_USE_ALIGNED_BYTECODE=1 -DSEXP_USE_STATIC_LIBS=1 -DSEXP_USE_STATIC_LIBS_NO_INCLUDE=0', 'clibs.c', 'chibi-scheme-static.bc']
make[1]: Entering directory '/home/amirouche/src/scheme/chibi/scheme-comparator/chibi-scheme'
Makefile:180: warning: overriding recipe for target 'chibi-scheme-static.bc'
Makefile:128: warning: ignoring old recipe for target 'chibi-scheme-static.bc'
git ls-files lib | grep .sld | ./chibi-scheme-emscripten -q ./tools/chibi-genstatic > clibs.c
/home/amirouche/src/scheme/chibi/scheme-comparator/emsdk/upstream/emscripten/emcc -Wall -DSEXP_USE_DL=0 -g -g3 -O3 -O2 -static -DSEXP_USE_DL=0 -o chibi-scheme-static.bc main.o gc.o sexp.o bignum.o gc_heap.o opcodes.o vm.o eval.o simplify.o -lm
emcc:WARNING: main.o is not a valid input file
emcc:WARNING: gc.o is not a valid input file
emcc:WARNING: sexp.o is not a valid input file
emcc:WARNING: bignum.o is not a valid input file
emcc:WARNING: gc_heap.o is not a valid input file
emcc:WARNING: opcodes.o is not a valid input file
emcc:WARNING: vm.o is not a valid input file
emcc:WARNING: eval.o is not a valid input file
emcc:WARNING: simplify.o is not a valid input file
shared:ERROR: no input files
note that input files without a known suffix are ignored, make sure your input files end with one of: ('.c', '.C', '.i', '.cpp', '.cxx', '.cc', '.c++', '.CPP', '.CXX', '.CC', '.C++', '.ii', '.m', '.mi', '.mm', '.mii', '/dev/null', '.bc', '.o', '.obj', '.lo', '.dylib', '.so', '.a', '.ll', '.h', '.hxx', '.hpp', '.hh', '.H', '.HXX', '.HPP', '.HH')
make[1]: *** [Makefile:180: chibi-scheme-static.bc] Error 1
make[1]: Leaving directory '/home/amirouche/src/scheme/chibi/scheme-comparator/chibi-scheme'
make: *** [Makefile:128: chibi-scheme-static.bc] Error 2