From: SourceForge.net <no...@so...> - 2008-04-30 21:21:17
|
Bugs item #1924513, was opened at 2008-03-24 14:03 Message generated for change (Settings changed) made by sds 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: Pending >Resolution: Works For Me Priority: 5 Private: No Submitted By: Vladimir Volovich (vvv2) >Assigned to: Sam Steingold (sds) 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: Sam Steingold (sds) Date: 2008-04-30 17:21 Message: Logged In: YES user_id=5735 Originator: NO This bug report is now marked as "pending"/"works for me". This means that we think that we cannot reproduce the problem and cannot do anything about it. Unless you - the reporter - act within 2 weeks (e.g., by submitting a self-contained test case or answering our other recent requests), the bug will be permanently closed. Sorry about the inconvenience - we hope your silence means that you are no longer observing the problem either. ---------------------------------------------------------------------- Comment By: Sam Steingold (sds) Date: 2008-04-04 14:55 Message: Logged In: YES user_id=5735 Originator: NO BTW, this message: [/opt/home/vvv/src/clisp/clisp-2.44.1/src/eval.d:527] reset() found no driver frame (sp=0xffbef9a0-0xffbeb4d0) indicates that your memory settings are likely to be incorrect. you might want to examine your oint_type_shift oint_type_len oint_type_mask oint_addr_shift oint_addr_len oint_addr_mask also, you can read the "porting" section in unix/PLATFORMS and try WIDE which should always work. ---------------------------------------------------------------------- Comment By: Sam Steingold (sds) Date: 2008-03-24 15:12 Message: Logged In: YES user_id=5735 Originator: NO you, as an assembly expert, you should not have a problem debugging this :-) the function is intplus.d:I_I_plus_I() ---------------------------------------------------------------------- Comment By: Vladimir Volovich (vvv2) Date: 2008-03-24 14: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 14: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 14: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 14: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 |