Subject: [clisp-list] RE: Problem compiling on hp-ux 11.11

From: Nuzzo Art-CINT116 <[email-masked]>
Date: Mon May 24 08:18:01 2004

I did what you suggested.  It appears to run until I get a CLISP prompt and I can (quit) and the program exits normally.

I included the output below.  

Thanks for any help,

Art

artn@bs713> cd build-g
artn@bs713> gdb lisp.run
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "hppa2.0w-hp-hpux11.11"...
Breakpoint 1 at 0x5a758: file eval.d, line 4799.
Breakpoint 2 at 0x562f4: file eval.d, line 3900.
Breakpoint 3 at 0x4fd74: file eval.d, line 2788.
Breakpoint 4 at 0x5db64: file eval.d, line 5754.
Breakpoint 5 at 0x2e640: file spvw_garcol.d, line 2657.
warning: can't do that without a running program; try "break main", "run" first
No breakpoint number 6.
Breakpoint 6 at 0x331f8: file spvw.d, line 641.
Breakpoint 7 at 0x27cf0: file spvw.d, line 485.
Breakpoint 8 at 0x27db0: file spvw.d, line 496.
Num Type           Disp Enb Address    What
1   breakpoint     keep n   0x0005a758 in funcall at eval.d:4799
        xout fun
2   breakpoint     keep n   0x000562f4 in apply at eval.d:3900
        xout fun
3   breakpoint     keep n   0x0004fd74 in eval at eval.d:2788
        xout form
4   breakpoint     keep n   0x0005db64 in interpret_bytecode_ at eval.d:5754
---Type <return> to continue, or q <return> to quit---
        xout closure
5   breakpoint     keep n   0x0002e640 in gar_col at spvw_garcol.d:2657
        zbacktrace
        continue
6   breakpoint     keep y   0x000331f8 in fehler_notreached at spvw.d:641
7   breakpoint     keep y   0x00027cf0 in SP_ueber at spvw.d:485
8   breakpoint     keep y   0x00027db0 in STACK_ueber at spvw.d:496
.gdbinit:139: Error in sourced command file:
Function "sigsegv_handler_failed" not defined.
(gdb) run -B . -E utf-8 -i init.lisp
Starting program: /users/artn/clisp-2.33/build-g/lisp.run -B . -E utf-8 -i init.lisp
STACK depth: 16367
WARNING: locale: no encoding ROMAN8, using UTF-8
WARNING: *FOREIGN-ENCODING*: reset to ASCII
WARNING: locale: no encoding ROMAN8, using UTF-8
WARNING: *FOREIGN-ENCODING*: reset to ASCII
  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

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-2004

WARNING: No initialization file specified.
Please try: /users/artn/clisp-2.33/build-g/lisp.run -M lispinit.mem
;; Loading file defseq.lisp ...
;; Loaded file defseq.lisp
;; Loading file backquote.lisp ...
;; Loaded file backquote.lisp
;; Loading file defmacro.lisp ...
;; Loaded file defmacro.lisp
;; Loading file macros1.lisp ...
;; Loaded file macros1.lisp
;; Loading file macros2.lisp ...
;; Loaded file macros2.lisp
;; Loading file defs1.lisp ...
;; Loaded file defs1.lisp
;; Loading file places.lisp ...
;; Loaded file places.lisp
;; Loading file floatprint.lisp ...
;; Loaded file floatprint.lisp
;; Loading file type.lisp ...
;; Loaded file type.lisp
;; Loading file defstruct.lisp ...
;; Loaded file defstruct.lisp
;; Loading file format.lisp ...
(WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function" FORMAT #P"/users/artn/clisp-2.33/src/format.lisp" "top-level") 
;; Loaded file format.lisp
;; Loading file international.lisp ...
;; Loaded file international.lisp
;; Loading file /users/artn/clisp-2.33/build-g/room.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/room.lisp
;; Loading file /users/artn/clisp-2.33/build-g/savemem.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/savemem.lisp
;; Loading file /users/artn/clisp-2.33/build-g/trace.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/trace.lisp
;; Loading file /users/artn/clisp-2.33/build-g/cmacros.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/cmacros.lisp
;; Loading file /users/artn/clisp-2.33/build-g/compiler.lisp ...
(WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function" GLOBAL-IN-FENV-P #P"/users/artn/clisp-2.33/src/compiler.lisp" "top-level") 
(WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "macro" EVAL-WHEN-COMPILE #P"/users/artn/clisp-2.33/src/compiler.lisp" "top-level") 
;; Loaded file /users/artn/clisp-2.33/build-g/compiler.lisp
;; Loading file /users/artn/clisp-2.33/build-g/defs2.lisp ...
WARNING in COMPILED-FORM-1 :
Function DISPATCH-READER is not defined
WARNING in COMPILED-FORM-1 :
Function DISPATCH-READER is not defined
;; Loaded file /users/artn/clisp-2.33/build-g/defs2.lisp
;; Loading file /users/artn/clisp-2.33/build-g/loop.lisp ...
(WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "macro" LOOP #P"/users/artn/clisp-2.33/src/loop.lisp" #P"/users/artn/clisp-2.33/src/macros1.lisp") 
;; Loaded file /users/artn/clisp-2.33/build-g/loop.lisp
;; Loading file /users/artn/clisp-2.33/build-g/clos.lisp ...
(WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function" DEFINE-STRUCTURE-CLASS #P"/users/artn/clisp-2.33/src/clos.lisp" #P"/users/artn/clisp-2.33/src/defstruct.lisp") 
(WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function" DEFSTRUCT-REMOVE-PRINT-OBJECT-METHOD #P"/users/artn/clisp-2.33/src/clos.lisp" #P"/users/artn/clisp-2.33/src/defstruct.lisp") 
(WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function" BUILT-IN-CLASS-P #P"/users/artn/clisp-2.33/src/clos.lisp" #P"/users/artn/clisp-2.33/src/type.lisp") 
WARNING in MAKE-INSTANCE-STANDARD-CLASS :
Function INITIALIZE-INSTANCE-STANDARD-CLASS is not defined
WARNING in MAKE-INSTANCE-STANDARD-CLASS :
Function INITIALIZE-INSTANCE-STANDARD-CLASS is not defined
WARNING in FINALIZE-INSTANCE-STANDARD-CLASS :
Function CLASS-NAME is not defined
WARNING in FINALIZE-INSTANCE-STANDARD-CLASS :
Function STD-COMPUTE-CPL is not defined
WARNING in FINALIZE-INSTANCE-STANDARD-CLASS :
Function STD-COMPUTE-SUPERCLASSES is not defined
WARNING in FINALIZE-INSTANCE-STANDARD-CLASS :
Function STD-COMPUTE-SLOTS is not defined
WARNING in FINALIZE-INSTANCE-STANDARD-CLASS :
Function STD-LAYOUT-SLOTS is not defined
WARNING in FINALIZE-INSTANCE-STANDARD-CLASS :
Function PLIST-TO-ALIST is not defined
(WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function" SUBCLASSP #P"/users/artn/clisp-2.33/src/clos.lisp" #P"/users/artn/clisp-2.33/src/type.lisp") 
;; Loaded file /users/artn/clisp-2.33/build-g/clos.lisp
;; Loading file /users/artn/clisp-2.33/build-g/disassem.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/disassem.lisp
;; Loading file /users/artn/clisp-2.33/build-g/condition.lisp ...
(WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "macro" CHECK-TYPE #P"/users/artn/clisp-2.33/src/condition.lisp" #P"/users/artn/clisp-2.33/src/macros2.lisp") 
(WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "macro" ASSERT #P"/users/artn/clisp-2.33/src/condition.lisp" #P"/users/artn/clisp-2.33/src/macros2.lisp") 
(WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "macro" ETYPECASE #P"/users/artn/clisp-2.33/src/condition.lisp" #P"/users/artn/clisp-2.33/src/macros2.lisp") 
(WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "macro" CTYPECASE #P"/users/artn/clisp-2.33/src/condition.lisp" #P"/users/artn/clisp-2.33/src/macros2.lisp") 
(WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "macro" ECASE #P"/users/artn/clisp-2.33/src/condition.lisp" #P"/users/artn/clisp-2.33/src/macros2.lisp") 
(WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "macro" CCASE #P"/users/artn/clisp-2.33/src/condition.lisp" #P"/users/artn/clisp-2.33/src/macros2.lisp") 
(WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function" CERROR #P"/users/artn/clisp-2.33/src/condition.lisp" "top-level") 
(WARN "~a: redefining ~a ~s in ~a, was defined in ~a" "DEFUN/DEFMACRO" "function" WARN #P"/users/artn/clisp-2.33/src/condition.lisp" "top-level") 
;; Loaded file /users/artn/clisp-2.33/build-g/condition.lisp
;; Loading file /users/artn/clisp-2.33/build-g/loadform.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/loadform.lisp
;; Loading file /users/artn/clisp-2.33/build-g/gray.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/gray.lisp
;; Loading file /users/artn/clisp-2.33/build-g/gstream.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/gstream.lisp
;; Loading file /users/artn/clisp-2.33/build-g/xcharin.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/xcharin.lisp
;; Loading file /users/artn/clisp-2.33/build-g/keyboard.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/keyboard.lisp
;; Loading file /users/artn/clisp-2.33/build-g/screen.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/screen.lisp
;; Loading file /users/artn/clisp-2.33/build-g/runprog.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/runprog.lisp
;; Loading file /users/artn/clisp-2.33/build-g/query.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/query.lisp
;; Loading file /users/artn/clisp-2.33/build-g/reploop.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/reploop.lisp
;; Loading file /users/artn/clisp-2.33/build-g/dribble.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/dribble.lisp
;; Loading file /users/artn/clisp-2.33/build-g/complete.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/complete.lisp
;; Loading file /users/artn/clisp-2.33/build-g/pprint.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/pprint.lisp
;; Loading file /users/artn/clisp-2.33/build-g/describe.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/describe.lisp
;; Loading file /users/artn/clisp-2.33/build-g/edit.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/edit.lisp
;; Loading file /users/artn/clisp-2.33/build-g/clhs.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/clhs.lisp
;; Loading file /users/artn/clisp-2.33/build-g/inspect.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/inspect.lisp
;; Loading file /users/artn/clisp-2.33/build-g/macros3.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/macros3.lisp
;; Loading file /users/artn/clisp-2.33/build-g/foreign1.lisp ...
WARNING:
DEFUN/DEFMACRO: redefining function FINALIZE-COUTPUT-FILE in /users/artn/clisp-2.33/src/foreign1.lisp, was defined in /users/artn/clisp-2.33/src/compiler.lisp
;; Loaded file /users/artn/clisp-2.33/build-g/foreign1.lisp
;; Loading file /users/artn/clisp-2.33/build-g/deprecated.lisp ...
;; Loaded file /users/artn/clisp-2.33/build-g/deprecated.lisp
;; Loading file /users/artn/clisp-2.33/build-g/config.lisp ...
WARNING:
DEFUN/DEFMACRO: redefining function EDITOR-NAME in /users/artn/clisp-2.33/build-g/config.lisp, was defined in /users/artn/clisp-2.33/src/edit.lisp
WARNING:
DEFUN/DEFMACRO: redefining function EDIT-FILE in /users/artn/clisp-2.33/build-g/config.lisp, was defined in /users/artn/clisp-2.33/src/edit.lisp
WARNING:
DEFUN/DEFMACRO: redefining function EDITOR-TEMPFILE in /users/artn/clisp-2.33/build-g/config.lisp, was defined in /users/artn/clisp-2.33/src/edit.lisp
;; Loaded file /users/artn/clisp-2.33/build-g/config.lisp
[1]> 

> -----Original Message-----
> From: Sam Steingold [mailto:[email-masked]] 
> Sent: Monday, May 24, 2004 9:30 AM
> To: [email-masked]; Nuzzo Art-CINT116
> Cc: Bruno Haible
> Subject: Re: Problem compiling on hp-ux 11.11
> 
> 
> > * Nuzzo Art-CINT116 <[email-masked]> [2004-05-24 07:29:33 
> > -0500]:
> >
> > I am having a problem compliling clisp-2.33 on hp-ux 11.11.
> >  
> > It will get all the way to the point where it tries to run lisp.run 
> > and then coredumps:
> >  
> > chmod +w config.lisp
> > echo '(setq *clhs-root-default* " <http://www.lisp.org/HyperSpec/> 
> > http://www.lisp.org/HyperSpec/")' >> config.lisp ./lisp.run -B . 
> > -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load 
> \"init.lisp\") (sys::%saveinitmem) (ext::exit))"
> > make: *** [interpreted.mem] Bus error (core dumped)
> >  
> > I am using gcc version 3.2.
> 
<http://clisp.cons.org/faq.html#bugs>
<http://clisp.cons.org/clisp.html#bugs>

please try

$ ./configure --with-debug --build build-g
$ cd build-g
$ gdb lisp.run
(gdb) run -B . -E utf-8 -i init.lisp

and report the backtrace.

thanks.

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/> <http://www.mideasttruth.com/> <http://www.honestreporting.com> Bus error -- please leave by the rear door.

---

From: Sam Steingold <[email-masked]>
Date: Mon May 24 09:14:00 2004

> * Nuzzo Art-CINT116 <[email-masked]> [2004-05-24 10:16:08 -0500]:
>
> I did what you suggested.  It appears to run until I get a CLISP
> prompt and I can (quit) and the program exits normally.

it appears that the "build-g" directory contains a complete successful
build of CLISP.  You can use it for now.

Now, you reported that the normal non-debug build failed.

Let us figure out what went wrong there.

Please do

$ ./configure --build build-O
what error do you get?

$ cd build-O
$ gdb
(gdb) run <the command the failed during build>

send us the backtrace.

then edit build-O/Makefile and replace "-O2" in CFLAGS with -O1 (and if
it also fails, with -O0).  If that doesn't work either, add
-DNO_GENERATIONAL_GC to CFLAGS.

(remember to do "make clean" after you change CFLAGS)

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Winword 6.0 UNinstall: Not enough disk space to uninstall WinWord