Help save net neutrality! Learn more.

#644 configure --with-threads hangs on Mac OS


When I try to build clisp-2.49 with --with-threads=POSIX_THREADS, the build hangs, on both OS X 10.5 and 10.6. The issue seems to be some of the clisp.m4 macros that run clisp into a pipe, e.g.

/tmp/clisp-2.49/src/clisp -K boot -E UTF-8 -Epathname 1:1 -Emisc 1:1 | head -n 1

This works fine if building without threads, but hangs (hard) when threading is specified.


  • Vladimir Tzankov

    Can you check out the source tree and try it? This is supposed to be fixed there and works for me on 10.6 and 10.7.

  • Vladimir Tzankov

    this is the standard request for more information.
    1. what is your platform?
    ("uname -a" on a Unix system)
    compiler version? libc (on Linux)?
    2. where did you get the sources? when?
    (absolute dates are prefered over the relative ones)
    3. how did you build CLISP? (what command, options &c)
    please do a clean build (remove your build directory and
    build CLISP with "./configure --build build" or at least
    do a "make distclean" before "make")
    4. if you are using pre-built binaries, the problem is likely
    to be in the incompatibilities between the platform on which
    the binary was built and yours;
    please try compiling the sources.
    5. what is the output of (lisp-implementation-version)?
    6. what is the value of *features*?
    7. please supply the full output (copy and paste)
    of all the error messages.
    If you cannot build CLISP, you can obviously skip 5 and 6,
    but then you should provide more information in 1.
    please see <>
    for more information.

    PS. This bug report is now marked "pending"
    and will auto-close unless you respond
    (in which case it will auto-re-open).

  • Bill Janssen

    Bill Janssen - 2012-05-30

    I'm on 10.5, but I checked out the source tree, and tried it. That unfortunately fails thusly:

    gcc-4.2 -I/local/PARC-QM/include -I/tmp/clisp/src/gllib -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonliteral -O2 -fexpensive-optimizations -falign-functions=4 -pthread -DUNIX_BINARY_DISTRIB -DENABLE_UNICODE -DMULTITHREAD -DPOSIX_THREADS -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_READLINE -DNO_GETTEXT -L/local/PARC-QM/lib ../utils/comment5.c -o comment5
    In file included from /usr/include/sys/time.h:198,
    from /tmp/clisp/src/gllib/sys/time.h:39,
    from /tmp/clisp/src/gllib/sys/select.h:59,
    from /usr/include/unistd.h:515,
    from /tmp/clisp/src/gllib/unistd.h:44,
    from /tmp/clisp/src/gllib/stdlib.h:90,
    from ../utils/comment5.c:29:
    /tmp/clisp/src/gllib/time.h:469: error: expected ‘;’, ‘,’ or ‘)’ before ‘__timer’
    /tmp/clisp/src/gllib/time.h:491: error: expected ‘;’, ‘,’ or ‘)’ before ‘__timer’
    make: *** [comment5] Error 1
    holmes : /tmp/clisp/src 227 %


Log in to post a comment.