axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-developer] Building Axiom 11/15/2004 on Solaris 9 Sparc


From: Kostas Oikonomou
Subject: [Axiom-developer] Building Axiom 11/15/2004 on Solaris 9 Sparc
Date: Thu, 25 Nov 2004 12:09:12 -0500
User-agent: Opera M2/7.54 (SunOS, build 751)


Hello,

I am trying to compile the Axiom sources dated 11/15/2004 on a Sun Solaris 9 
system.
The build ends with lisp dumping core:

--------------------------------------------------------------------------------------------------
Loading /home/build/axiom/int/boot/npextras.lisp
Finished loading /home/build/axiom/int/boot/npextras.lisp
Compiling tytree1.lisp.
; (DEFUN |bfMDef| ...) is being compiled.
;; Warning: The variable |defOp| is not used.
End of Pass 1.
End of Pass 2.
OPTIMIZE levels: Safety=0 (No runtime error checking), Space=0, Speed=3
Finished compiling /home/build/axiom/obj/solaris/boot/tytree1.o.
618a making /home/build/axiom/mnt/solaris/doc/src/boot/axiom.sty from 
/home/build/axiom/src/doc/axiom.sty.pamphlet
3 making /home/build/axiom/mnt/solaris/doc/src/boot/boothdr.lisp.dvi from 
/home/build/axiom/src/boot/boothdr.lisp.pamphlet
6 making /home/build/axiom/mnt/solaris/doc/src/boot/btincl2.lisp.dvi from 
/home/build/axiom/src/boot/btincl2.boot.pamphlet
10 making /home/build/axiom/mnt/solaris/doc/src/boot/btpile2.boot.dvi from 
/home/build/axiom/src/boot/btpile2.boot.pamphlet
14 making /home/build/axiom/mnt/solaris/doc/src/boot/btscan2.boot.dvi from 
/home/build/axiom/src/boot/btscan2.boot.pamphlet
18 making /home/build/axiom/mnt/solaris/doc/src/boot/exports.lisp.dvi from 
/home/build/axiom/src/boot/exports.lisp.pamphlet
21 making /home/build/axiom/mnt/solaris/doc/src/boot/npextras.lisp.dvi from 
/home/build/axiom/src/boot/npextras.lisp.pamphlet
24 making /home/build/axiom/mnt/solaris/doc/src/boot/ptyout.boot.dvi from 
/home/build/axiom/src/boot/ptyout.boot.pamphlet
28 making /home/build/axiom/mnt/solaris/doc/src/boot/tyextra.boot.dvi from 
/home/build/axiom/src/boot/tyextra.boot.pamphlet
32 making /home/build/axiom/mnt/solaris/doc/src/boot/typars.boot.dvi from 
/home/build/axiom/src/boot/typars.boot.pamphlet
36 making /home/build/axiom/mnt/solaris/doc/src/boot/typrops.boot.dvi from 
/home/build/axiom/src/boot/typrops.boot.pamphlet
40 making /home/build/axiom/mnt/solaris/doc/src/boot/tytree1.boot.dvi from 
/home/build/axiom/src/boot/tytree1.boot.pamphlet
44 invoking make in /home/build/axiom/src/boot with parms:
SYS= solaris
LSP= /home/build/axiom/lsp
PART= cprogs
SPAD= /home/build/axiom/mnt/solaris
SRC= /home/build/axiom/src
INT= /home/build/axiom/int
OBJ= /home/build/axiom/obj
MNT= /home/build/axiom/mnt
Illegal Instruction - core dumped
make[3]: *** [/home/build/axiom/obj/solaris/bin/bootsys] Error 132
make[3]: Leaving directory `/home/build/axiom/src/boot'
make[2]: *** [bootdir] Error 2
make[2]: Leaving directory `/home/build/axiom/src'
make[1]: *** [srcdir] Error 2
make[1]: Leaving directory `/home/build/axiom'
make: *** [
bash-2.05$
bash-2.05$ cd ../../obj/solaris/bin
bash-2.05$ gdb -c core
GNU gdb 6.1
Copyright 2004 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 "sparc-sun-solaris2.8".
Core was generated by `/home/build/axiom/obj/solaris/bin/lisp'.
Program terminated with signal 4, Illegal instruction.
#0  0x007affd0 in ?? ()
(gdb) q
bash-2.05$

--------------------------------------------------------------------------------------------------

I would appreciate any advice on how to deal with the problem.

Here is a detailed file showing what I had to do to build Axiom.  Note that I 
had to
tweak GCL a bit, as mentioned at the end of the file.

Thanks very much for your help.

                                        Kostas





Sources of November 15, 2004
============================

Preliminaries:

export AXIOM=/home/build/axiom/mnt/solaris
export PATH=$AXIOM/bin:$PATH

Edit Makefile:
     tar -> gtar

make noweb

Edit the shell script "mnt/solaris/bin/document" to set

weave="$AXIOM/bin/lib/noweave -delay -x"


-------------------------------------------------------------------

1. Edit Makefile.pamphlet to add [11pt] and

\usepackage[hypertex,colorlinks=true,linkcolor=blue,filecolor=webgreen,extension=dvi]{hyperref}

to get hyperlinks.

2. Study Makefile.dvi, edit Makefile.pamphlet:

(a) Check the GCL version of GCL:

GCLVERSION=gcl-2.6.5

Then rm lsp/Makefile

NOTE: Axiom contains its own distribution of GCL!

(b)
<<environment>>=
SPD=$(shell pwd)
SYS=$(notdir $(AXIOM))
SPAD=${SPD}/mnt/${SYS}
LSP=${SPD}/lsp
<<GCLVERSION>>
AWK=gawk
GCLDIR=${LSP}/${GCLVERSION}
SRC=${SPD}/src
INT=${SPD}/int
OBJ=${SPD}/obj
MNT=${SPD}/mnt
ZIPS=${SPD}/zips
TMP=${OBJ}/tmp
SPADBIN=${MNT}/${SYS}/bin
INC=${SPD}/src/include
CCLBASE=${OBJ}/${SYS}/ccl/ccllisp
INSTALL=/opt/axiom
COMMAND=/opt/axiom/bin/axiom
TANGLE=${SPADBIN}/lib/notangle

(c) Add a <<Makefile.solaris>> chunk in section 2.  Should have really been
    "solaris9g".

(d) Edit lsp/Makefile.pamphlet and globaly change @tar to @$(TAR).


2. Building the GCL within Axiom (or outside of it, for that matter) is a mess!

 - I had to edit the patch
        zips/gcl-2.6.5.cmpnew.gcl_cmpflet.lsp.patch
   supplied by Axiom so that it would match, and to put "patch -l" in the
   Makefile, so that this patch would ignore blanks.
 - Do alias awk=gawk in the shell.
 - Do export CFLAGS=-I/opt/csw/include in the shell, otherwise BFD won't
   compile.  Why doesn't GCL use its own binutils subdirectory?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]