From: SourceForge.net <no...@so...> - 2005-09-25 01:05:08
|
Bugs item #1263202, was opened at 2005-08-18 10:31 Message generated for change (Comment added) made by robert_dodier You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1263202&group_id=4933 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: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Rex Dieter (rexdieter) Assigned to: Nobody/Anonymous (nobody) Summary: maxima-5.9.1 + sbcl-0.9.3 build failure Initial Comment: I've been unable to build maxima against sbcl now for quite awhile, going all the way back to sbcl-0.8.15 (0.9.3 is the latest, at the moment). ---------------------------------------------------------------------- >Comment By: Robert Dodier (robert_dodier) Date: 2005-09-24 19:05 Message: Logged In: YES user_id=501686 Hello Rex and Christian, do you have time to retry recompiling against sbcl 0.9.4 ? Without modifying any files, I have successfully recompiled Maxima 5.9.1.9rc1 (cvs tag: version-5919rc1) with sbcl 0.9.4 on Fedora 1, kernel 2.4.22. Some files that might be helpful to you (these are not yet in the SF file manager, sorry): http://maxima.sf.net/tmp-release/maxima-5.9.1.9rc1-2.src.rpm http://maxima.sf.net/tmp-release/maxima-5.9.1.9rc1.tar.gz Let me know how it goes, thanks, Robert Dodier PS. There will be a release candidate 2 in a few days. ---------------------------------------------------------------------- Comment By: Christian Cornelssen (c_corn) Date: 2005-08-21 21:23 Message: Logged In: YES user_id=1332799 Oops, my text mode browser does not offer uploads it seems. So let me inline the patch here. I have been able to build maxima-5.9.1 on linux-i686 with sbcl-0.9.3 using the following patch: --- src/numerical/slatec/xerprn.lisp.orig 2004-06-19 22:32:50.000000000 +0200 +++ src/numerical/slatec/xerprn.lisp 2005-08-22 03:53:55.293706664 +0200 @@ -8,7 +8,7 @@ (in-package "SLATEC") -(let* ((newlin "$$")) +(let* ((newlin (coerce "$$" '(simple-array base-char (2))))) (declare (type (simple-array base-char (2)) newlin)) (defun xerprn (prefix npref messg nwrap) (declare (type f2cl-lib:integer4 nwrap npref) When compiled with sbcl, the original let* assignment leads to an assertion error in the following declare statement. The patch fixes this. However, I haven't practiced Common Lisp so far, and I expect that there exist better ways to introduce simple base string constants (perhaps some #... literal). gcli-2.6.7, cmucl 18e, and clisp-2.34 don't have problems with the unpatched code. ---------------------------------------------------------------------- Comment By: Christian Cornelssen (c_corn) Date: 2005-08-21 21:18 Message: Logged In: YES user_id=1332799 I have been able to build maxima-5.9.1 on linux-i686 with sbcl-0.9.3 using the attached patch. When compiled with sbcl, a let* ((newlin "$$")) in src/numerical/slatec/xerprn.lisp leads to an assertion error in the following declare statement. The patch fixes this. However, I haven't practiced Common Lisp so far, and I expect that there exist better ways to introduce simple base string constants (perhaps some #... literal). gcli-2.6.7, cmucl 18e, and clisp-2.34 don't have problems with the unpatched code. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1263202&group_id=4933 |