gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] Problems Compiling GCL 2.5.3 on Solaris 9


From: Matthew White
Subject: Re: [Gcl-devel] Problems Compiling GCL 2.5.3 on Solaris 9
Date: 06 Aug 2003 16:22:58 +1000

Hi,

> Your problem is just coming from your bfd library in its attempt to
> relocate one of the binary .o files on loading.  If I remember, I ran
> into this when I setup the solaris autobuilder for the utexas people.
> I don't know what bfd comes with solaris generically, so if memory
> serves I setup the solaris autobuilder to compile gcl's local bfd
> copy.  so I would suggest trying
> 
> --enable-ansi --disable-statsysbfd --enable-locbfd

Yep, I gave that a whirl on a completely clean slate.  Things were going
well, it compiled the local bfd library no problem, and continued
through the compile but it died again at the exact same spot, with the
same error as it had been previously.

I checked the 'makedefs' file and watched the compile to make sure that
when the linking was done for 'saved_gcl' that it was linking against
the local bfd library, and it seemed that this was the case.

I should point out that I did have to make one small modification to the
'makedefs' file. I added the location of 'libncurses.a' to LIBS, as it
didn't seem to be picking it up during compilation.  I had been using
the LD_LIBRARY_PATH environment variable previously to get around
this.....So my LIBS line reads :-

LIBS= -lm  /tmp/gcl-2.5.3/binutils/bfd/libbfd.a
/tmp/gcl-2.5.3/binutils/libiberty/libiberty.a -lsocket -lnsl -lreadline
/usr/local/lib/libncurses.a

> If you compile GCL's copy of gmp3 too, I think you might also need to
> do the following after the main configure:
> 
> cd gmp3
> ./configure --build=sparc-sun-solaris2.8
> cd ..

I have been using GCL's copy of gmp3, and did use that configure option
this time round......

Thanks for your help so far - I'm not fully sure what else I can attach
that would assist, but let me know what extra information would help.

Thanks,

Matthew White.

> Matthew White <address@hidden> writes:
> 
> > Hi,
> > 
> > I've been trying to compile GCL 2.5.3 on Solaris 9 for a few days now,
> > and keep hitting the same problem.  The problem is occuring when
> > compiling PCL, and in particular when compiling with the 'pcl_walk.lisp'
> > file.
> > 
> > Below is my build output from that section of the build:-
> > --
> > 
> > (cd pcl; rm -f *.c; make all)
> > make[1]: Entering directory `/tmp/gcl-2.5.3/pcl'
> > rm -f *.o *gazonk*
> > cp ../h/cmpinclude.h .
> > echo '(load "sys-package.lisp")' '(setq *features* (delete (quote kcl)
> > *features*))' '(load "defsys.lisp")(push (quote kcl) *features*)' '(setq
> > pcl::*default-pathname-extensions* (cons "lisp" "o"))' '(setq
> > pcl::*pathname-extensions* (cons "lisp" "o"))' '(load
> > "sys-proclaim.lisp")' '(setq compiler::*default-h-file* t)' '(setq
> > compiler::*default-c-file* t)' '(setq compiler::*default-data-file* t)'
> > '(setq compiler::*default-system-p* t)' '(setq compiler::*keep-gaz* t)' 
> > '(pcl::compile-pcl)' | ../unixport/saved_gcl ../unixport/
> > GCL (GNU Common Lisp)  (2.5.3) Tue Aug  5 10:49:14 EST 2003
> > Licensed under GNU Library General Public License
> > Dedicated to the memory of W. Schelter
> > 
> > Use (help) to get some basic information on how to use GCL.
> > 
> > >
> > Loading sys-package.lisp
> > Finished loading sys-package.lisp
> > T
> > 
> > >
> > (:COMPILER :NUMLIB :SDEBUG :DEFPACKAGE TRUNCATE_USE_C BSD SPARC SUN SGC
> >     IEEE-FLOATING-POINT UNIX GMP GCL AKCL COMMON)
> > 
> > >
> > Loading defsys.lisp
> > Finished loading defsys.lisp
> > T
> > 
> > >
> > (KCL :COMPILER :NUMLIB :SDEBUG :DEFPACKAGE TRUNCATE_USE_C BSD SPARC SUN
> >      SGC IEEE-FLOATING-POINT UNIX GMP GCL AKCL COMMON)
> > 
> > >
> > ("lisp" . "o")
> > 
> > >
> > Loading sys-proclaim.lisp
> > Finished loading sys-proclaim.lisp
> > T
> > 
> > >
> > T
> > 
> > >
> > T
> > 
> > >
> > T
> > 
> > >
> > T
> > 
> > >
> > T
> > 
> > >
> > Compiling PCL_PKG...
> > Compiling /tmp/gcl-2.5.3/unixport/../pcl/pcl_pkg.lisp.
> > ; (EXPORT (INTERN # ...) ...) is being compiled.
> > ;; Warning: The package operation (EXPORT (INTERN
> >                                            (SYMBOL-NAME :ITERATE)
> >                                            (FIND-PACKAGE :ITERATE))
> >                                           (FIND-PACKAGE :ITERATE)) was
> > in a bad place.
> > ; (IN-PACKAGE :WALKER) is being compiled.
> > ;; Warning: The package operation (IN-PACKAGE :WALKER) was in a bad
> > place.
> > ; (EXPORT '(DEFINE-WALKER-TEMPLATE WALK-FORM ...)) is being compiled.
> > ;; Warning: The package operation (EXPORT '(DEFINE-WALKER-TEMPLATE
> >                                             WALK-FORM
> >                                             WALK-FORM-EXPAND-MACROS-P
> >                                             NESTED-WALK-FORM
> >                                             VARIABLE-LEXICAL-P
> >                                             VARIABLE-SPECIAL-P
> >                                             VARIABLE-GLOBALLY-SPECIAL-P
> >                                             *VARIABLE-DECLARATIONS*
> >                                             VARIABLE-DECLARATION
> >                                             MACROEXPAND-ALL)) was in a
> > bad place.
> > ; (IN-PACKAGE :ITERATE) is being compiled.
> > ;; Warning: The package operation (IN-PACKAGE :ITERATE) was in a bad
> > place.
> > ; (EXPORT '(ITERATE ITERATE* ...)) is being compiled.
> > ;; Warning: The package operation (EXPORT '(ITERATE ITERATE* GATHERING
> >                                             GATHER WITH-GATHERING
> >                                             INTERVAL ELEMENTS
> >                                             LIST-ELEMENTS LIST-TAILS
> > 
> >                                             PLIST-ELEMENTS EACHTIME
> >                                             WHILE UNTIL COLLECTING
> >                                             JOINING MAXIMIZING
> >                                             MINIMIZING SUMMING
> >                                             *ITERATE-WARNINGS*)) was in
> > a bad place.
> > ; (IN-PACKAGE :PCL) is being compiled.
> > ;; Warning: The package operation (IN-PACKAGE :PCL) was in a bad place.
> > ; (IMPORT '(STRUCTUREP STRUCTURE-DEF ...)) is being compiled.
> > ;; Warning: The package operation (IMPORT '(STRUCTUREP STRUCTURE-DEF
> >                                             STRUCTURE-REF)) was in a bad
> > place.
> > ; (SHADOW 'LISP:DOTIMES) is being compiled.
> > ;; Warning: The package operation (SHADOW 'LISP:DOTIMES) was in a bad
> > place.
> > ; (IN-PACKAGE "SI") is being compiled.
> > ;; Warning: The package operation (IN-PACKAGE "SI") was in a bad place.
> > ; (EXPORT '(%STRUCTURE-NAME %COMPILED-FUNCTION-NAME ...)) is being
> > compiled.
> > ;; Warning: The package operation (EXPORT '(%STRUCTURE-NAME
> >                                             %COMPILED-FUNCTION-NAME
> >                                             %SET-COMPILED-FUNCTION-NAME
> >                                             %INSTANCE-REF
> >                                             %SET-INSTANCE-REF)) was in a
> > bad place.
> > ; (IN-PACKAGE 'PCL) is being compiled.
> > ;; Warning: The package operation (IN-PACKAGE 'PCL) was in a bad place.
> > ; (SHADOW 'DOCUMENTATION) is being compiled.
> > ;; Warning: The package operation (SHADOW 'DOCUMENTATION) was in a bad
> > place.
> > End of Pass 1.  
> > End of Pass 2.  
> > OPTIMIZE levels: Safety=1 (No runtime error checking), Space=0, Speed=3
> > Finished compiling /tmp/gcl-2.5.3/unixport/../pcl/pcl_pkg.o.
> > Loading binary of PCL_PKG...
> > Compiling PCL_WALK...
> > Compiling /tmp/gcl-2.5.3/unixport/../pcl/pcl_walk.lisp.
> > End of Pass 1.  
> > 
> > ;; Note: Tail-recursive call of WALK-TEMPLATE was replaced by iteration.
> > ;; Note: Tail-recursive call of WALK-TEMPLATE was replaced by iteration.
> > ;; Note: Tail-recursive call of WALK-TEMPLATE-HANDLE-REPEAT-1 was
> > replaced by iteration.
> > End of Pass 2.  
> > OPTIMIZE levels: Safety=1 (No runtime error checking), Space=0, Speed=3
> > Finished compiling /tmp/gcl-2.5.3/unixport/../pcl/pcl_walk.o.
> > Loading binary of PCL_WALK...
> > 
> > Error: Undefined symbol
> > Error signalled by OR.
> > Broken at SYSTEM::BREAK-LEVEL.  Type :H for Help.
> > >>patch -p0 <pcl_methods.patch
> >   Looks like a unified context diff.
> > File to patch: ^Cmake[1]: *** [pcl_boot.c] Error 3
> > make: *** [unixport/saved_pcl_gcl] Interrupt
> > 
> > --
> > 
> > The only "configure" option that I used was --enable-ansi, but it seems
> > to be occuring with or without it.
> > 
> > The gcc version that I'm using is :-
> >     gcc version 2.95.3 20010315 (release)
> > 
> > I was just wondering whether anyone else had come across the same
> > problem, or had any ideas of what I could look into to try and solve it
> > - any pointers would be appreciated!!
> > 
> > Thanks,
> > 
> > Matthew White.
> > 
> > 
> > 
> > _______________________________________________
> > Gcl-devel mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/gcl-devel
> > 
> > 
> > 





reply via email to

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