From: SourceForge.net <no...@so...> - 2012-05-30 01:45:33
|
Bugs item #3530379, was opened at 2012-05-28 17:49 Message generated for change (Comment added) made by janssen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=3530379&group_id=1355 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: multithreading Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Bill Janssen (janssen) Assigned to: Vladimir Tzankov (vtz) Summary: configure --with-threads hangs on Mac OS Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: Bill Janssen (janssen) Date: 2012-05-29 18:45 Message: 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 % ---------------------------------------------------------------------- Comment By: Vladimir Tzankov (vtz) Date: 2012-05-28 23:35 Message: 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. ---------------------------------------------------------------------- Comment By: Vladimir Tzankov (vtz) Date: 2012-05-28 23:35 Message: 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 <http://clisp.cons.org/clisp.html#bugs> for more information. Thanks. PS. This bug report is now marked "pending" and will auto-close unless you respond (in which case it will auto-re-open). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=3530379&group_id=1355 |