|
From: SourceForge.net <no...@so...> - 2008-03-24 18:46:22
|
Bugs item #1924513, was opened at 2008-03-24 18:03 Message generated for change (Comment added) made by vvv2 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1924513&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: clisp Group: build problems Status: Open Resolution: None Priority: 5 Private: No Submitted By: Vladimir Volovich (vvv2) Assigned to: Bruno Haible (haible) Summary: endianness problem on sparc? Initial Comment: when building clisp-2.44.1 on Sparc Solaris 2.8 using Sun Studio 11 compiler, i get an error: during make, when lisp.run is being run for the first time, it stops with a prompt, and i entered a few statements which seem to indicate that there are endianness problems: ./lisp.run -B . -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc -m 2MW -x "(and (setq custom::*load-paths* (quote (\"/opt/home/vvv/src/clisp/clisp-2.44.1/src/\"))) (load \"/opt/home/vvv/src/clisp/clisp-2.44.1/src/init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" WARNING: locale: no encoding 646, using ISO-8859-1 WARNING: locale: no encoding 646, using ISO-8859-1 *** - Hash table size 16777216 too large 1. Break> (+ 1 0) 1 1. Break> (+ 1 1) 29360130 1. Break> (+ 2 0) 2 1. Break> (+ 2 1) 29360131 1. Break> ^D [/opt/home/vvv/src/clisp/clisp-2.44.1/src/eval.d:527] reset() found no driver frame (sp=0xffbef9a0-0xffbeb4d0) Exiting on signal 6 Bye. make: *** [interpreted.mem] Abort (core dumped) ---------------------------------------------------------------------- >Comment By: Vladimir Volovich (vvv2) Date: 2008-03-24 18:46 Message: Logged In: YES user_id=1804953 Originator: YES i thought it was related to endianness because of weird results for (+ 1 1) and (+ 2 1). maybe it is 32-vs-64-bit problem. please let me know how to help debugging this problem. i have gcc, and i'll try it (i have a binary clisp package from blastwave.org which works, so it is likely that gcc build will work), but hopefully it will be possible to build clisp using Sun Studio as well. ---------------------------------------------------------------------- Comment By: Sam Steingold (sds) Date: 2008-03-24 18:34 Message: Logged In: YES user_id=5735 Originator: NO oops, lispbibl.h requires gcc. so, clisp detects the endianness correctly. why did you think that is the problem? do you have gcc installed? ---------------------------------------------------------------------- Comment By: Vladimir Volovich (vvv2) Date: 2008-03-24 18:28 Message: Logged In: YES user_id=1804953 Originator: YES $ make lispbibl.h make: *** No rule to make target `lispbibl.h'. Stop. $ grep lispbibl.h Makefile -$(RM) lispbibl.h clisp.h *.i *.s *.o *.a lisp.run clisp-link makevars ansi-tests-log $ ./lisp.run -B . -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc -m 2MW -x "(and (setq custom::*load-paths* (quote (\"/opt/home/vvv/src/clisp/clisp-2.44.1/src/\"))) (load \"/opt/home/vvv/src/clisp/clisp-2.44.1/src/init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" WARNING: locale: no encoding 646, using ISO-8859-1 WARNING: locale: no encoding 646, using ISO-8859-1 *** - Hash table size 16777216 too large 1. Break> SYS::*BIG-ENDIAN* T 1. Break> ^D [/opt/home/vvv/src/clisp/clisp-2.44.1/src/eval.d:527] reset() found no driver frame (sp=0xffbef9e8-0xffbeb518) Exiting on signal 6 Bye. Abort (core dumped) Please let me know if you've got an idea of what further tests i should make to clarify the nature of the problem. ---------------------------------------------------------------------- Comment By: Sam Steingold (sds) Date: 2008-03-24 18:17 Message: Logged In: YES user_id=5735 Originator: NO type $ make lispbibl.h $ grep BIG_ENDIAN_P lispbibl.h what is SYS::*BIG-ENDIAN* in lisp? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1924513&group_id=1355 |