From: SourceForge.net <no...@so...> - 2008-07-25 17:53:23
|
Bugs item #2017830, was opened at 2008-07-14 05:43 Message generated for change (Comment added) made by sds You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=2017830&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: None Priority: 5 Private: No Submitted By: Luca Capello (lucacapello) Assigned to: Sam Steingold (sds) Summary: [sparc] ALLOCATE-METAOBJECT-INSTANCE: length 0 should be... Initial Comment: This was submitted in the Debian BTS for version 2.44: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478000 ===== ./lisp.run -B . -N locale -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc -m 2MW -x "(and (setq custom::*load-paths* (quote (\"/home/bzed/clisp-2.44/src/\"))) (load \"/ho me/bzed/clisp-2.44/src/init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" [...] Welcome to GNU CLISP 2.44 (2008-02-02) <http://clisp.cons.org/> [...] ;; Loading file /home/bzed/clisp-2.44/src/clos-class1.lisp ... ;; Loaded file /home/bzed/clisp-2.44/src/clos-class1.lisp ;; Loading file /home/bzed/clisp-2.44/src/clos-class2.lisp ... ;; Loaded file /home/bzed/clisp-2.44/src/clos-class2.lisp ;; Loading file /home/bzed/clisp-2.44/src/clos-class3.lisp ... *** - ALLOCATE-METAOBJECT-INSTANCE: length 0 should be of type (INTEGER (0) (0000)) Bye. make[1]: *** [interpreted.mem] Error 1 make[1]: Leaving directory `/home/bzed/clisp-2.44/debian/build' make: *** [build-stamp] Error 2 dpkg-buildpackage: failure: debian/rules build gave error exit status 2 ===== FWIW it was already present in version 2.39: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386075 ---------------------------------------------------------------------- >Comment By: Sam Steingold (sds) Date: 2008-07-25 13:53 Message: Logged In: YES user_id=5735 Originator: NO >Breakpoint 1, 0x000dff50 in error_record_length () >Current language: auto; currently asm looks like there are no debugging symbols. please make sure that there is no "-O" in the CFLAGS, and there is a "-g" instead. > (gdb) xout STACK[-1] > Undefined command: "xout". Try "help". this command is defined in src/.gdbinit which is copied into the build directory. please do "make .gdbinit" in the build directory. > (gdb) backtrace > #0 0x000dff50 in error_record_length () > #1 0x000e1e58 in C_allocate_metaobject_instance () > #2 0x00043fcc in eval1 () > #3 0x00044c30 in eval () > #4 0x0005cc24 in C_let () > #5 0x00044670 in eval1 () ... > (gdb) out STACK[-1] > cannot subscript something of type `<data variable, no debug info>' yep, no debugging symbols. please check your CFLAGS. ---------------------------------------------------------------------- Comment By: Axel Beckert (xtaran) Date: 2008-07-25 13:22 Message: Logged In: YES user_id=298058 Originator: NO Hi, gismo has little time at the moment, so I'll answer that for him. > 3. build clisp with "./configure --debug build-g" Used --with-debug instead of --debug since that was not known and --with-debug in the FAQ. > [do you observe the same error?] Yes. Here's the rest: (gdb) run -B . -N locale -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc -m 2MW -x "(and (setq custom::*load-paths* (quote (\"/home/abe/debian/clisp-2.44.1/src/\"))) (load \"/home/abe/debian/clisp-2.44.1/src/init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" Starting program: /home/abe/debian/clisp-2.44.1/debian/build/lisp.run -B . -N locale -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc -m 2MW -x "(and (setq custom::*load-paths* (quote (\"/home/abe/debian/clisp-2.44.1/src/\"))) (load \"/home/abe/debian/clisp-2.44.1/src/init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Welcome to GNU CLISP 2.44.1 (2008-02-23) <http://clisp.cons.org/> Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2008 Type :h and hit Enter for context help. ;; Loading file /home/abe/debian/clisp-2.44.1/src/defseq.lisp ... ;; Loaded file /home/abe/debian/clisp-2.44.1/src/defseq.lisp ;; Loading file /home/abe/debian/clisp-2.44.1/src/backquote.lisp ... ;; Loaded file /home/abe/debian/clisp-2.44.1/src/backquote.lisp ;; Loading file /home/abe/debian/clisp-2.44.1/src/defmacro.lisp ... ;; Loaded file /home/abe/debian/clisp-2.44.1/src/defmacro.lisp ;; Loading file /home/abe/debian/clisp-2.44.1/src/macros1.lisp ... ;; Loaded file /home/abe/debian/clisp-2.44.1/src/macros1.lisp ;; Loading file /home/abe/debian/clisp-2.44.1/src/macros2.lisp ... ;; Loaded file /home/abe/debian/clisp-2.44.1/src/macros2.lisp ;; Loading file /home/abe/debian/clisp-2.44.1/src/defs1.lisp ... ;; Loaded file /home/abe/debian/clisp-2.44.1/src/defs1.lisp ;; Loading file /home/abe/debian/clisp-2.44.1/src/lambdalist.lisp ... ;; Loaded file /home/abe/debian/clisp-2.44.1/src/lambdalist.lisp ;; Loading file /home/abe/debian/clisp-2.44.1/src/places.lisp ... ;; Loaded file /home/abe/debian/clisp-2.44.1/src/places.lisp ;; Loading file /home/abe/debian/clisp-2.44.1/src/floatprint.lisp ... ;; Loaded file /home/abe/debian/clisp-2.44.1/src/floatprint.lisp ;; Loading file /home/abe/debian/clisp-2.44.1/src/defpackage.lisp ... ;; Loaded file /home/abe/debian/clisp-2.44.1/src/defpackage.lisp ;; Loading file /home/abe/debian/clisp-2.44.1/src/type.lisp ... ;; Loading file /home/abe/debian/clisp-2.44.1/src/subtypep.lisp ... ;; Loaded file /home/abe/debian/clisp-2.44.1/src/subtypep.lisp ;; Loaded file /home/abe/debian/clisp-2.44.1/src/type.lisp ;; Loading file /home/abe/debian/clisp-2.44.1/src/clos-package.lisp ... ;; Loaded file /home/abe/debian/clisp-2.44.1/src/clos-package.lisp ;; Loading file /home/abe/debian/clisp-2.44.1/src/clos-macros.lisp ... ;; Loaded file /home/abe/debian/clisp-2.44.1/src/clos-macros.lisp ;; Loading file /home/abe/debian/clisp-2.44.1/src/clos-class0.lisp ... ;; Loaded file /home/abe/debian/clisp-2.44.1/src/clos-class0.lisp ;; Loading file /home/abe/debian/clisp-2.44.1/src/clos-metaobject1.lisp ... ;; Loaded file /home/abe/debian/clisp-2.44.1/src/clos-metaobject1.lisp ;; Loading file /home/abe/debian/clisp-2.44.1/src/clos-slotdef1.lisp ... ;; Loaded file /home/abe/debian/clisp-2.44.1/src/clos-slotdef1.lisp ;; Loading file /home/abe/debian/clisp-2.44.1/src/clos-stablehash1.lisp ... ;; Loaded file /home/abe/debian/clisp-2.44.1/src/clos-stablehash1.lisp ;; Loading file /home/abe/debian/clisp-2.44.1/src/clos-specializer1.lisp ... ;; Loaded file /home/abe/debian/clisp-2.44.1/src/clos-specializer1.lisp ;; Loading file /home/abe/debian/clisp-2.44.1/src/clos-class1.lisp ... ;; Loaded file /home/abe/debian/clisp-2.44.1/src/clos-class1.lisp ;; Loading file /home/abe/debian/clisp-2.44.1/src/clos-class2.lisp ... ;; Loaded file /home/abe/debian/clisp-2.44.1/src/clos-class2.lisp ;; Loading file /home/abe/debian/clisp-2.44.1/src/clos-class3.lisp ... Breakpoint 1, 0x000dff50 in error_record_length () Current language: auto; currently asm (gdb) xout STACK[-1] Undefined command: "xout". Try "help". (gdb) x out STACK[-1] No symbol "out" in current context. (gdb) out STACK[-1] cannot subscript something of type `<data variable, no debug info>' (gdb) up #1 0x000e1e58 in C_allocate_metaobject_instance () (gdb) p length No symbol "length" in current context. (gdb) call gdb_show_stack() No symbol "gdb_show_stack" in current context. (gdb) zbacktrace Undefined command: "zbacktrace". Try "help". (gdb) backtrace #0 0x000dff50 in error_record_length () #1 0x000e1e58 in C_allocate_metaobject_instance () #2 0x00043fcc in eval1 () #3 0x00044c30 in eval () #4 0x0005cc24 in C_let () #5 0x00044670 in eval1 () #6 0x00044c30 in eval () #7 0x00045f0c in funcall_iclosure () #8 0x00051c30 in eval_closure () #9 0x00044128 in eval1 () #10 0x00044c30 in eval () #11 0x0005d3b8 in C_setq () #12 0x00044670 in eval1 () #13 0x00044c30 in eval () #14 0x000562d4 in C_progn () #15 0x00044670 in eval1 () #16 0x00044c30 in eval () #17 0x00044de8 in eval_5env () #18 0x00044e44 in eval_noenv () #19 0x00057c78 in C_eval () #20 0x00043fcc in eval1 () #21 0x00044c30 in eval () #22 0x00056848 in C_cond () #23 0x00044670 in eval1 () #24 0x00044c30 in eval () #25 0x0005801c in C_multiple_value_list () #26 0x00044670 in eval1 () #27 0x00044c30 in eval () #28 0x00045f0c in funcall_iclosure () #29 0x00051c30 in eval_closure () #30 0x00044128 in eval1 () #31 0x00044c30 in eval () #32 0x00045f0c in funcall_iclosure () #33 0x00051c30 in eval_closure () #34 0x00044128 in eval1 () #35 0x00044c30 in eval () #36 0x0005d3b8 in C_setq () #37 0x00044670 in eval1 () #38 0x00044c30 in eval () #39 0x00059e54 in C_case () #40 0x00044670 in eval1 () #41 0x00044c30 in eval () #42 0x0005ccd8 in C_let () #43 0x00044670 in eval1 () #44 0x00044c30 in eval () #45 0x00059b8c in C_tagbody () #46 0x00044670 in eval1 () #47 0x00044c30 in eval () #48 0x00059488 in C_unwind_protect () #49 0x00044670 in eval1 () #50 0x00044c30 in eval () #51 0x0005b1b0 in C_progv () #52 0x00044670 in eval1 () #53 0x00044c30 in eval () #54 0x0005cb10 in C_letstern () #55 0x00044670 in eval1 () #56 0x00044c30 in eval () #57 0x000560b4 in C_if () #58 0x00044670 in eval1 () #59 0x00044c30 in eval () #60 0x00045f0c in funcall_iclosure () #61 0x00051c30 in eval_closure () #62 0x00044128 in eval1 () #63 0x00044c30 in eval () #64 0x00044de8 in eval_5env () #65 0x00044e44 in eval_noenv () #66 0x00106570 in C_load () #67 0x00043fcc in eval1 () #68 0x00044c30 in eval () #69 0x00055dc8 in C_and () #70 0x00044670 in eval1 () #71 0x00044c30 in eval () #72 0x001080ec in C_read_eval_print () #73 0x0003f8c4 in funcall_subr () #74 0x00052d64 in funcall () #75 0x00106dec in driver () #76 0x0003b3e4 in main_actions () #77 0x0003caf0 in main () (gdb) We are also already looking for an appropriate Sparc running Debian GNU/Linux to which you can get access. ---------------------------------------------------------------------- Comment By: Sam Steingold (sds) Date: 2008-07-15 10:06 Message: Logged In: YES user_id=5735 Originator: NO OK, so let us try "debugging by remote control". 1. read <http://clisp.podval.org/impnotes/faq.html#faq-debug> 2. yes, please, really do read <http://clisp.podval.org/impnotes/faq.html#faq-debug> 3. build clisp with "./configure --debug build-g" [do you observe the same error?] 4. cd build-g 5. gdb lisp.run (gdb) br error_record_length (gdb) run -B . -N locale -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc -m 2MW -x "(and (setq custom::*load-paths* (quote (\"/home/bzed/clisp-2.44/src/\"))) (load \"/ho me/bzed/clisp-2.44/src/init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" (gdb) xout STACK[-1] (gdb) up (gdb) p length (gdb) call gdb_show_stack() (gdb) zbacktrace ---------------------------------------------------------------------- Comment By: Luca Capello (lucacapello) Date: 2008-07-15 05:29 Message: Logged In: YES user_id=927572 Originator: YES > this is _linux_ on sparc, right? Yes. > did you try the latest release? Not yet, since this is low priority for me (other bugs, not only in CLISP, take precedence). My plan is the following: package ASAP the latest 2.46 for Debian and then trying that one on sparc. FWIW, I'll have more time during the DebCamp: http://lists.alioth.debian.org/pipermail/pkg-common-lisp-devel/2008-March/000263.html > is there a box where I could try to debug this? Unfortunately, the two Debian sparc machines are not available for non-Debian developers: http://db.debian.org/machines.cgi This means that I can access sperger.d.o to test patches & Co. :-) ---------------------------------------------------------------------- Comment By: Sam Steingold (sds) Date: 2008-07-14 10:04 Message: Logged In: YES user_id=5735 Originator: NO this is _linux_ on sparc, right? did you try the latest release? is there a box where I could try to debug this? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=2017830&group_id=1355 |