|
[Sbcl-help] 1.0.42 build problem on Solaris Sparc... in
make-target-2.sh
From: Troy Noble <econoplas@gm...> - 2010-09-07 02:11
|
Apologies if I'm on the wrong list. I saw some recent bug fixes on the list for Sparc Solaris build. I manually fixed runtime.c to #include <limits.h> as recommended... I was able to get src/runtime/sbcl to build successfully. I am trying to use 1.0.23 sparc solaris binaries to build 1.0.42 from source on Solaris 8 (sparcv9) with 32-bit GCC 3.4.3 and Sun 'as' assembler. I am getting a "lose" during output/cold-sbcl.core load with message: "can't load .core for different runtime, sorry" I'm not sure where to go from here... Any help would be appreciated. $ sh make.sh --xc-host='/proj-0/apps/sbcl-1.0.23/bin/sbcl --core /proj-0/apps/sbcl-1.0.23/lib/sbcl/sbcl.core --disable-debugger --no-userinit --no-sysinit' --prefix=/net/plaka/proj-0/apps/sbcl-1.0.42 .... beginning GENESIS, creating core "output/cold-sbcl.core" WARNING: ignoring unrecognized line "" in src/runtime/sbcl.nm WARNING: ignoring unrecognized line "" in src/runtime/sbcl.nm WARNING: ignoring unrecognized line "sbcl:" in src/runtime/sbcl.nm WARNING: ignoring unrecognized line "0x0003bc88 s" in src/runtime/sbcl.nm WARNING: ignoring unrecognized line "0x0003bc94 s" in src/runtime/sbcl.nm WARNING: ignoring unrecognized line "0x0003bc98 s" in src/runtime/sbcl.nm ... WARNING: ignoring unrecognized line "0x0003b750 s" in src/runtime/sbcl.nm WARNING: ignoring unrecognized line "0x0003bc80 s" in src/runtime/sbcl.nm WARNING: redefining "force_to_data" from #X3BC7C to #X3B750 obj/from-xc/src/code/show.lisp-obj obj/from-xc/src/code/early-source-location.lisp-obj obj/from-xc/src/code/early-constants.lisp-obj obj/from-xc/src/code/backq.lisp-obj obj/from-xc/src/code/globals.lisp-obj ... obj/from-xc/src/code/late-defbangmethod.lisp-obj obj/from-xc/src/pcl/walk.lisp-obj [building initial core file in "output/cold-sbcl.core": writing 8192 bytes [1 page] from #<SB!FASL::GSPACE :READ-ONLY> writing 8192 bytes [1 page] from #<SB!FASL::GSPACE :STATIC> writing 29908992 bytes [3651 pages] from #<SB!FASL::GSPACE :DYNAMIC> /(DESCRIPTOR-BITS INITIAL-FUN)=#X31B84B6D done] * //testing for consistency of first and second GENESIS passes //header files match between first and second GENESIS -- good real 18:42.4 user 17:14.8 sys 1:18.0 //entering make-target-2.sh //doing warm init - compilation phase This is SBCL 1.0.42, an implementation of ANSI Common Lisp. More information about SBCL is available at <http://www.sbcl.org/>. SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. fatal error encountered in SBCL pid 5601: can't load .core for different runtime, sorry Welcome to LDB, a low-level debugger for the Lisp runtime environment. ldb> <CTRL-D> $ file src/runtime/sbcl src/runtime/sbcl: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped $ file output/cold-sbcl.core output/cold-sbcl.core: data I tried running the command manually with truss to see if it would reveal anything. It appears that it is at least trying to load output/cold-sbcl.core: $ truss ./src/runtime/sbcl --core output/cold-sbcl.core --lose-on-corruption --no-sysinit --no-userinit <make-target-2.lisp ... This is SBCL 1.0.42, an implementation of ANSI Common Lisp. More information about SBCL is available at <http://www.sbcl.org/>. SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. write(1, " T h i s i s S B C L".., 362) = 362 time() = 1283823477 open("/usr/share/lib/zoneinfo/US/Mountain", O_RDONLY) = 3 read(3, " T Z i f\0\0\0\0\0\0\0\0".., 8192) = 877 close(3) = 0 open("output/cold-sbcl.core", O_RDONLY) = 3 lseek(3, 0, SEEK_SET) = 0 brk(0x00040FB0) = 0 brk(0x00042FB0) = 0 read(3, " S B C L\0\00F14\0\0\003".., 8192) = 8192 sigprocmask(SIG_BLOCK, 0x0003CF80, 0x00000000) = 0 fatal error encounteredwrite(2, " f a t a l e r r o r ".., 23) = 23 getpid() = 5611 [5610] in SBCL pid write(2, " i n S B C L p i d".., 13) = 13 5611write(2, " 5 6 1 1", 4) = 4 : write(2, " :\n", 2) = 2 can't load .core for different runtime, sorry write(2, " c a n ' t l o a d .".., 46) = 46 |
| Thread | Author | Date |
|---|---|---|
| [Sbcl-help] 1.0.42 build problem on Solaris Sparc... in make-target-2.sh | Troy Noble <econoplas@gm...> |