clisp build failure
[email protected] (Don Cohen) Sun, 7 Jun 2026 18:26:04 +0000
| Newsgroups | gmane.lisp.clisp.general |
|---|---|
| Message-ID | <[email protected]> |
thinking this might be related to building on a rather old system,
I tried it on a more recent one, with different arch:
$ uname -a
Linux cmcora1.cmceast.org 5.15.0-319.201.4.2.el9uek.aarch64 #2 SMP Mon Apr =
13 02:03:20 PDT \
2026 aarch64 aarch64 aarch64 GNU/Linux
$ ./configure --with-libsigsegv-prefix=3D/usr/local --disable-maintainer-mo=
de --with-debug --\
with-module=3Drawsock build-dir2
...
To continue building CLISP, the following commands are recommended
(cf. unix/INSTALL step 4 ff):
cd build-dir2
vi config.lisp
make
# CLISP self-test:
make check
# Test non-portable features and modules
make extracheck mod-check
[2026-06-07 14:09:03 don@cmcora1 ~/clisp202607]
$ cd build-dir2
[2026-06-07 14:09:15 don@cmcora1 ~/clisp202607/build-dir2]
$ make
...
gcc -I/home/don/clisp202607/src -I/home/don/clisp202607/build-dir2/gllib -=
I/home/don/clisp\
202607/src/gllib -g -O2 -no-integrated-cpp -W -Wswitch -Wcomment -Wpointer=
-arith -Wreturn-\
type -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonlit=
eral -Wno-shift-\
negative-value -Wno-address -Wno-cast-function-type -Wno-type-limits -Wno-t=
autological-comp\
are -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unuse=
d-variable -Wno-\
unused-but-set-variable -Wno-unused-local-typedefs -fwrapv -fPIC -fno-stric=
t-aliasing -ggdb\
-O0 -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3D3 -DNO_ASM -=
DENABLE_UNICODE -D\
DYNAMIC_FFI -DDYNAMIC_MODULES -I. -c spvw.c
In file included from ../src/spvw.d:23:
../src/lispbibl.d:1261: warning: "alignof" redefined
1261 | #define alignof(type) offsetof(struct { char slot1; type slot2; =
}, slot2)
|
In file included from ../src/lispbibl.d:335,
from ../src/spvw.d:23:
config.h:3310: note: this is the location of the previous definition
3310 | # define alignof _Alignof
|
In file included from ../src/spvw.d:23:
../src/lispbibl.d:9327:37: error: ISO C requires a named argument before =
=E2=80=98...=E2=80=99
9327 | typedef Values (*lisp_function_t)(...);
| ^~~
../src/spvw.d: In function =E2=80=98getSP=E2=80=99:
../src/spvw.d:1185:10: warning: function returns address of local variable =
[-Wreturn-local-\
addr]
1185 | return &dummy;
| ^~~~~~
../src/spvw.d: In function =E2=80=98near_SP_overflow=E2=80=99:
../src/spvw.d:968:3: warning: ignoring return value of =E2=80=98__builtin_a=
lloca=E2=80=99 declared with att\
ribute =E2=80=98warn_unused_result=E2=80=99 [-Wunused-result]
968 | alloca(1); /* Makes this function non-inlinabl=
e. */
| ^~~~~~~~~~~~~~~~~~~
make: *** [Makefile:1108: spvw.o] Error 1
which is not quite the same as before but does agree on the last
line, Makefile:1108: spvw.o
Don Cohen writes:
> =
> git log says Bruno made these changes on May 20.
> Bruno, are you getting this mail? You know what's wrong?
> And how to fix it?
> =
> Don Cohen writes:
> > =
> > My nightly build transcript shows problems below.
> > I hope someone knows how to fix it.
> > =
> > Wed May 20 04:10:10 PDT 2026
> > ... tail tran-cvs-up
> > src/io.d | 3 +-
> > src/lisparit.d | 3 +-
> > src/lispbibl.d | 8 +-
> > src/m4/signal.m4 | 58 +-
> > src/makemake.in | 66 +
> > src/sequence.d | 4 +-
> > src/spvw.d | 1 -
> > src/spvw_language.d | 6 +-
> > src/unix.d | 9 +-
> > 53 files changed, 18249 insertions(+), 15049 deletions(-)
> > Wed May 20 04:10:37 PDT 2026
> > Wed May 20 04:10:41 PDT 2026
> > ... tail cbcstep1.log cbcstep2.log cbcstep3.log cbcstep4.log cbcste=
p5.log
> > =3D=3D> cbcstep1.log <=3D=3D
> > config.status: creating po/Makefile.in
> > config.status: creating gllib/Makefile
> > config.status: creating makemake
> > config.status: creating config.h
> > config.status: executing depfiles commands
> > config.status: executing libtool commands
> > config.status: executing po-directories commands
> > config.status: creating po/POTFILES
> > config.status: creating po/Makefile
> > =3D=3D=3D> /bin/sh ../src/configure --disable-option-checking --dis=
able-maintainer-mode --cache-file=3Dconfig.cache SUCCEEDED
> > =
> > =3D=3D> cbcstep2.log <=3D=3D
> > ../src/lispbibl.d:9327:37: error: ISO C requires a named argument b=
efore =E2=80=98...=E2=80=99
> > typedef Values (*lisp_function_t)(...);
> > ^~~
> > ../src/spvw.d: In function =E2=80=98parse_options=E2=80=99:
> > ../src/spvw.d:2729:35: warning: result of =E2=80=982ll << 63=E2=80=
=99 requires 66 bits to represent, but =E2=80=98long long int=E2=80=99 only=
has 64 bits [-Wshift-overflow=3D]
> > : vbitm(oint_addr_len+addr_shift)-1)))
> > ^~
> > Makefile:1108: recipe for target 'spvw.o' failed
> > make: *** [spvw.o] Error 1
> > =3D=3D=3D> make FAILED
> > =
> > =3D=3D> cbcstep3.log <=3D=3D
> > ../src/lispbibl.d:9327:37: error: ISO C requires a named argument b=
efore =E2=80=98...=E2=80=99
> > typedef Values (*lisp_function_t)(...);
> > ^~~
> > ../src/spvw.d: In function =E2=80=98parse_options=E2=80=99:
> > ../src/spvw.d:2729:35: warning: result of =E2=80=982ll << 63=E2=80=
=99 requires 66 bits to represent, but =E2=80=98long long int=E2=80=99 only=
has 64 bits [-Wshift-overflow=3D]
> > : vbitm(oint_addr_len+addr_shift)-1)))
> > ^~
> > Makefile:1108: recipe for target 'spvw.o' failed
> > make: *** [spvw.o] Error 1
> > =3D=3D=3D> make check FAILED
> > =
> > =3D=3D> cbcstep4.log <=3D=3D
> > ../src/lispbibl.d:9327:37: error: ISO C requires a named argument b=
efore =E2=80=98...=E2=80=99
> > typedef Values (*lisp_function_t)(...);
> > ^~~
> > ../src/spvw.d: In function =E2=80=98parse_options=E2=80=99:
> > ../src/spvw.d:2729:35: warning: result of =E2=80=982ll << 63=E2=80=
=99 requires 66 bits to represent, but =E2=80=98long long int=E2=80=99 only=
has 64 bits [-Wshift-overflow=3D]
> > : vbitm(oint_addr_len+addr_shift)-1)))
> > ^~
> > Makefile:1108: recipe for target 'spvw.o' failed
> > make: *** [spvw.o] Error 1
> > =3D=3D=3D> make extracheck FAILED
> > =
> > =3D=3D> cbcstep5.log <=3D=3D
> > config.h:3310:0: note: this is the location of the previous definit=
ion
> > # define alignof _Alignof
> > =
> > In file included from gen-clispc.c:1:0:
> > ../src/lispbibl.d:9327:37: error: ISO C requires a named argument b=
efore =E2=80=98...=E2=80=99
> > typedef Values (*lisp_function_t)(...);
> > ^~~
> > Makefile:2481: recipe for target 'clisp.c' failed
> > make: *** [clisp.c] Error 1
> > =3D=3D=3D> make base-mod-check FAILED
> > =
> > =
> > ----------------------------------------------------------------------
> > =
> > ----------------------------------------------------------------------
> > _______________________________________________
> > clisp-list mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/clisp-list
> =
> =
> _______________________________________________
> clisp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/clisp-list
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list