Re: Regression in 2.6.7 on powerpc: Internal error #10 "Object is of the wrong type." at 0x10c5e4fc
Sergey Fedorov <[email protected]>
| Newsgroups | gmane.lisp.steel-bank.devel |
|---|---|
| Message-ID | <CALYdzy=S=xwvCMo4-ONYz0aXzLKwQw6cHXkMa+guS5JNT3uVVw@mail.gmail.com> |
P. S. And yeah, there are two separate bugs: 1. Regression breaking Big endian archs, fixed on master but not in the current release. 2. Missing os_context_float_register_addr for subset of powerpc systems (perhaps all aside from Linux and FreeBSD). They just happened to coincide in one release. On Wed, Aug 12, 2026 at 1:59 AM Sergey Fedorov <[email protected]> wrote: > If you would look at the log, > > > Missing required foreign symbol 'os_context_float_register_addr' > > Something in the code unconditionally requires a symbol which has not been > implemented. > I have simply shown where it was added for Linux and FreeBSD. > > I don’t know how else to read this aside from this being a bug in the > source. > > On Tue, Aug 11, 2026 at 10:28 PM Stas Boukarev <[email protected]> wrote: > >> What are these commits saying? It has #+linux and #-linux. I guess it >> says that someone can't read code. >> >> On Tue, Aug 11, 2026 at 1:35 PM Sergey Fedorov <[email protected]> >> wrote: >> > >> > I guess someone unconditionally enabled a new feature without ensuring >> it is actually implemented. >> > >> > Linux: >> https://github.com/sbcl/sbcl/commit/ebd5ead14785e14c5c17c4b23a228bff385cb27e >> > FreeBSD: >> https://github.com/sbcl/sbcl/commit/acd0f7e95afd60d0c3241cf8b7c7a02677b30514 >> > >> > Darwin: >> > Other BSD: >> > >> > >> > >> > On Tue, Aug 11, 2026 at 6:19 PM Sergey Fedorov <[email protected]> >> wrote: >> >> >> >> 2.6.7 does not build on powerpc now. 2.6.6 built earlier. >> >> >> >> :info:build obj/from-xc/src/code/target-format.lisp-obj >> >> :info:build obj/from-xc/src/code/late-globaldb.lisp-obj >> >> :info:build ; SB-Loader: (174+5212) methods/other >> >> :info:build SB-XC:*FEATURES* = >> >> :info:build (:PPC :GENCGC :ALIEN-CALLBACKS :ANSI-CL >> :ANSI-COMPLIANT-LOAD-TRUENAME >> >> :info:build :BIG-ENDIAN :BSD :COMMON-LISP :COMPARE-AND-SWAP-VOPS >> :DARWIN :GENERATIONAL >> >> :info:build :IEEE-FLOATING-POINT :MACH-O :OS-PROVIDES-BLKSIZE-T >> :OS-PROVIDES-DLADDR >> >> :info:build :OS-PROVIDES-DLOPEN :OS-PROVIDES-PTHREAD-SETNAME-NP >> :OS-PROVIDES-SUSECONDS-T >> >> :info:build :PACKAGE-LOCAL-NICKNAMES :SB-AFTER-XC-CORE >> :SB-CORE-COMPRESSION :SB-DOC >> >> :info:build :SB-EVAL :SB-LDB :SB-PACKAGE-LOCKS :SB-SOURCE-LOCATIONS >> :SB-THREAD :SB-UNICODE >> >> :info:build :SB-XREF-FOR-INTERNALS :SBCL :UNIX) >> >> :info:build [building initial core file in "output/cold-sbcl.core": >> >> :info:build writing 4096 bytes [1 page] from #<SB-FASL::GSPACE >> @#x4100000 :STATIC> >> >> :info:build writing 28061696 bytes [6851 pages] from #<SB-FASL::GSPACE >> @#x10000000 :DYNAMIC> >> >> :info:build writing 0 bytes [0 pages] from #<SB-FASL::GSPACE >> @#x4000000 :READ-ONLY> >> >> :info:build movable dynamic space: 421 + 3594 + 2836 cons/code/mixed >> pages >> >> :info:build /INITIAL-FUN=#X119A81ED >> >> :info:build done] >> >> :info:build //testing for consistency of first and second GENESIS >> passes >> >> :info:build //header files match between first and second GENESIS -- >> good >> >> :info:build real 9m30.808s >> >> :info:build user 7m19.486s >> >> :info:build sys 1m28.800s >> >> :info:build //entering make-target-2.sh >> >> :info:build //doing warm init - compilation phase >> >> :info:build This is SBCL 2.6.7, an implementation of ANSI Common Lisp. >> >> :info:build More information about SBCL is available at < >> http://www.sbcl.org/>. >> >> :info:build SBCL is free software, provided as is, with absolutely no >> warranty. >> >> :info:build It is mostly in the public domain; some portions are >> provided under >> >> :info:build BSD-style licenses. See the CREDITS and COPYING files in >> the >> >> :info:build distribution for more information. >> >> :info:build Initial page table: >> >> :info:build | Immobile Objects | >> >> :info:build Gen layout symbol code Boxed Cons Raw Code >> SmMix Mixed LgRaw LgCode LgMix Waste% Alloc Trig Dirty >> GCs Mem-age >> >> :info:build 6 0 0 0 0 421 0 3594 >> 243 2593 0 0 0 0.5 27930752 2000000 3594 0 >> 0.0000 >> >> :info:build Tot 0 0 0 0 421 0 3594 >> 243 2593 0 0 0 0.5 27930752 [5.2% of 536870912 max] >> >> :info:build Missing required foreign symbol >> 'os_context_float_register_addr' >> >> :info:build COLD-INIT... Checking symbol printer: T >> >> :info:build (Length(TLFs)= 5212) >> >> :info:build "obj/from-xc/src/code/show.lisp-obj" >> >> :info:build "obj/from-xc/src/compiler/early-constantp.lisp-obj" >> >> :info:build "obj/from-xc/src/compiler/vop-existsp.lisp-obj" >> >> . . . >> >> :info:build "obj/from-xc/src/code/early-defmethod.lisp-obj" >> >> :info:build "obj/from-xc/src/code/format.lisp-obj" >> >> :info:build "obj/from-xc/src/code/target-format.lisp-obj" >> >> :info:build "obj/from-xc/src/code/late-globaldb.lisp-obj" >> >> :info:build Internal error #10 "Object is of the wrong type." at >> 0x10c5e4fc >> >> :info:build SC: 0, Offset: 26 0x00000000: even fixnum: 0 >> >> :info:build SC: 3, Offset: 22 $1= 0x10c37001: instance pointer >> >> :info:build slot 1: 0x201 [raw] >> >> :info:build slot 13: 0xffffff96 [raw] >> >> :info:build slot 14: 0xffffffa3 [raw] >> >> :info:build slot 15: 0x0 [raw] >> >> :info:build slot 16: 0x0 [raw] >> >> :info:build slot 17: 0x0 [raw] >> >> :info:build slot 18: 0x0 [raw] >> >> :info:build slot 19: 0xfffffffe [raw] >> >> :info:build fatal error encountered in SBCL pid 9687 pthread >> 0xa0260620: >> >> :info:build internal error too early in init, can't recover >> >> :info:build Welcome to LDB, a low-level debugger for the Lisp runtime >> environment. >> >> :info:build Command failed: cd >> "/opt/local/var/macports/build/sbcl-0027f3db/work/sbcl-2.6.7" && sh make.sh >> --prefix=/opt/local --xc-host=/opt/local/libexec/sbcl-bootstrap/bin/sbcl >> --arch=ppc --without-sb-simd --fancy >> >> :info:build Exit code: 149 >> > >> > _______________________________________________ >> > Sbcl-devel mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/sbcl-devel >> > _______________________________________________ Sbcl-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sbcl-devel