Menu

#194 problems with clisp reduce

None
closed
Common Lisp (5)
5
2026-07-18
2026-07-15
No

Hi Francis,
when running r7376 ./redclisp I get the following

REDUCE (revision 7376 on GNU CLISP 2.49.95+ (2024-11-03) (built 3941194819) (memory 3941194956)
Software: GNU C Apple LLVM 13.0.0 (clang-1300.0.29.30) 
/usr/bin/clang  -pipe -arch x86_64 -Wl,-no_pie -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -W -Wswitch -Wcomment -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonliteral -Wno-shift-negative-value -O -fwrapv -fno-strict-aliasing -DUNIX_BINARY_DISTRIB -DNO_ASM -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES  -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64  libgnu.a /opt/local/lib/libintl.dylib -Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices /opt/local/lib/libreadline.dylib -lncurses /opt/local/lib/libffcall.dylib /opt/local/lib/libiconv.dylib /opt/local/lib/libsigsegv.dylib /opt/local/lib/libunistring.dylib  
SAFETY=0 TYPECODES WIDE_HARD SPVW_BLOCKS SPVW_PURE SINGLEMAP_MEMORY
libsigsegv 2.14
libiconv 1.17
libreadline 8.2
libffcall 2.5
Features: 
(READLINE REGEXP WILDCARD SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL
 COMMON-LISP LISP=CL INTERPRETER LOGICAL-PATHNAMES SOCKETS GENERIC-STREAMS
 SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER WORD-SIZE=64 UNIX MACOS)
C Modules: (clisp i18n syscalls regexp readline)
Installation directory: /opt/local/lib/clisp-2.49.95+/
User language: ENGLISH
Machine: X86_64 (X86_64) my-macbook-pro-15r.local [192.168.1.224]), build date 
15-Jul-2026 ...

1:

instead of

REDUCE (Free CLISP version, revision 7376), build date 15-Jul-2026 ...

1:

As far as I know, up to r7361 the problem was not present; it starts with r7362.
The problem is only with clisp reduce.

I tested clisp reduce only on macOS, both x86_64 and aarch64, and the result is the same.

Best regards
Marco

Discussion

  • Francis Wright

    Francis Wright - 2026-07-15
    • labels: --> Common Lisp
    • status: open --> accepted
    • assigned_to: Francis Wright
    • Group: -->
     
  • Francis Wright

    Francis Wright - 2026-07-15

    The last version of CLISP REDUCE that I built on Windows displays this header:

    REDUCE (revision 7361 on GNU CLISP 2.49), build date 11-Jun-2026 ...
    

    which is roughly what it should look like on all platforms. In revision 7361 I changed the build code to add the Common Lisp version, which is independent of REDUCE, unlike the case for CSL and PSL. I guess the bash code I use to extract the Lisp version is not working for you on macOS. I'll try doing it a different way.

    Francis

     
  • Francis Wright

    Francis Wright - 2026-07-18
    • status: accepted --> closed
     
  • Francis Wright

    Francis Wright - 2026-07-18

    It turns out that there was also a problem on Linux with some versions of Common Lisp. I have just committed a fix that replaces my previous bash code with a call of sed to extract the Lisp version information that I want to use in the REDUCE header. This seems to be reliable on Windows and Linux. I hope it also works on macOS.

    Francis

     

Log in to post a comment.

Monday.com Logo