From: Michiel B. <m.a...@pl...> - 2007-10-12 11:36:00
|
When compiling CL-BLAPACK with SBCL 1.0.10 on Mac OS X with Intel processors, SBCL enters LDB after an unhandled SIGILL. I use the veclib framework. I downloaded CL-BLAPACK and FOREIGN-NUMERIC-VECTOR from http://middleangle.com/rif/derifatives/Home/21/cl-blapack-alpha-release And adapted load-blapack-libs.lisp in order to load the veclib framework. The file blas-cffi.lisp compiled correctly. The problem occurred while compiling lapack-cffi.lisp. SBCL was using of the order of 800 to 900 MB of actual RAM at the time. I started SBCL with a dynamic space size of 2500 and the ASDF, ASDF-INSTALL, CFFI, and ITERATION packages loaded. Is there anything more I can do to either help solve this problem or work around it? Cheers, Michiel Brentjens Output of SBCL while compiling lapack-cffi.lisp: ... ... ... ; compiling (DEFCFUN ("cgges_" %CGGES) ...) ; compiling (EXPORT (QUOTE %CGGES) ...) ; compiling (DEFCFUN ("cggesx_" %CGGESX) ...)fatal error encountered in SBCL pid 524: Unhandled SIGILL LDB monitor ldb> backtrace Backtrace: 0: Foreign function ldb_monitor, fp = 0x21ef3c8, ra = 0x7423 1: Foreign function lose, fp = 0x21ef3f8, ra = 0x5b1e 2: Foreign function arch_install_interrupt_handlers, fp = 0x21ef418, ra = 0xb826 3: Foreign function signal_emulation_wrapper, fp = 0x21ef438, ra = 0xbf9d 4: Foreign function os_get_runtime_executable_path, fp = 0x21ef468, ra = 0xbc77 5: Foreign function os_get_runtime_executable_path, fp = 0x21ef700, ra = 0xbc77 6: Foreign fp = 0x21ef768, ra = 0x8fe12f94 ldb> regs CSP = 0x021ef8d8 CFP = 0x00000000 ALLOC = 0x6f592000 --------------------------------------- Contents of load-blapack-libs.lisp: ;; Copyright rif 2006. ;; Modified BSD License (see LICENSE file in this directory). (defpackage :org.middleangle.load-blapack-libs (:use :common-lisp :cffi) (:export *blapack-libs-loaded*)) (in-package :org.middleangle.load-blapack-libs) ;; EDIT THESE VARIABLES TO POINT TO YOUR LIBRARIES! (eval-when (:compile-toplevel :load-toplevel) (defvar *blapack-libs-loaded* nil) (unless *blapack-libs-loaded* (progn (define-foreign-library veclib (:darwin (:framework "veclib"))) (use-foreign-library veclib) (setf *blapack-libs-loaded* t)))) |