gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] Re: static build and HP TestDrive hp156 console


From: Camm Maguire
Subject: [Gcl-devel] Re: static build and HP TestDrive hp156 console
Date: 23 Oct 2003 14:22:45 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!

You're in luck -- axiom ia64 lives, at least on Debian, which is most
likely exactly the machine you are running.

This is a configure script default error -- just add
--disable-statsysbfd --enable-dlopen to the configure flags.
Currently needed (alas) on mips(el), ia64, hppa, and alpha. 

One additional annoyance remains on ia64 -- the ld.so 'function
descriptors' are dynamically generated, which means that unless the
shared libs at runtime are exactly the same as at build time, you can
lose big.  Emacs had a similar issue, as they like us make images with
unexec, which stores function addresses in the executable's .data
section.  Was the original motivation for the static build option, but
alas again, this does not seem to work with dlopen (naturally).
Probably the shortest way out is to implement
bfd_relocate_section_contents on this machine, but so far there are no
users (I know of), and this is low priority, esp. with the appearance
of amd64, which is fully supported in 64bit mode.

Please let me know if you have probs.

Take care,

Tim Daly  <address@hidden> writes:

> Thanks.
> 
> I just built and tested a non-static version of the system using
> 2.6.1 and it works fine (modulo the fact that the files were renamed).
> The 2.6.1 version is in the CVS and will be the default build.
> The static version failed as mentioned. I'll try a static rebuild 
> (possibly tonight).
> 
> I am doing compiles using HP's TestDrive server farm.
> Just out of wild hope I tried it on one of their 64bit Itanium machines.
> I've attached the console log. It blew up quite early in the build
> because it couldn't recognize the machine type. Under Schelter's 
> regime it used to be the case that you set the machine type by typing
> ./add-defs foo
> Can you tell me how the machine type is decided now?
> 
> Tim
> 
> 
> 
> 
> =====================================================================
> 
> bash-2.05b# telnet hp156
> Trying 192.233.54.156...
> Connected to hp156.
> Escape character is '^]'.
> Debian GNU/Linux 3.0 spe156.testdrive.hp.com
> spe156 login: timdaly
> Password: 
> 
> Last login: Thu Oct 23 12:02:44 2003 from rio.sci.ccny.cuny.edu on pts/1
> Linux spe156 2.4.18-mckinley-smp #1 SMP Thu Jul 11 12:51:02 MDT 2002 ia64 
> unknown
> ---------------------------------------
> The Testdrive program is here to enable you to get direct access via the
> internet to Compaq's high end AlphaServers and Proliant servers.  We thank
> you for your time trying out our equipment and encourage
> suggestions.  Please send all comments and feedback to
> address@hidden
> 
> Rules of the Program
> --------------------
> We do not allow the following:
> 1. Running password crackers, dnetc clients, seti, distrib.net, etc.
> 
> 2. Bringing down our machines, cracking, etc.  We have no doubt that you
> can break into the machines if you really want to, but why.  When you
> bring down a machine you take away a free and valuable resource from the
> open source community.  So please, think before you act.
> 
> 3. Long running, CPU bound processes are not encouraged.  The 
> Testdrive program is not intended as a benchmark nor production
> environment.  
> Programs that consume significant amounts of system resources only make
> other 
> users Testdrive experiences less useful.  Experiencing the power of Compaq 
> systems should be taken in moderation for everyone's benefit! :-)
> 
> 4. Abusive file storage.  Testdrive is not intended as an ISP/ASP
> environment.  
> User areas are not backed up, and cannot be restored.  Users with large 
> amount of disk usage should understand they are simply consuming their 
> fellow testers resources.
> 
> Connections and File Moving
> ---------------------------
> We only allow ftp and telnet in to the testdrive program. No outgoing
> connections are allowed.
> 
> To move a file, ftp into any of our testdrive machines, and use a put to
> place the files in your house directory.  From there they will be
> available on all machines.
> 
> For fast local access from individual machines to your files, use the /tmp
> directory on the local machine.
> 
> Thanks again for Testdriving
> 
> Testdrive Team
> spe156> bash
> bash-2.05a$ pwd
> /house/timdaly
> bash-2.05a$ cd axiom
> bash-2.05a$ echo $AXIOM
> /house/timdaly/axiom/mnt/linux
> bash-2.05a$ make
> 13 making noweb
> patching file modules.c
> mnt.o: In function `emitfile':
> mnt.o(.text+0xc72): the use of `tmpnam' is dangerous, better use `mkstemp'
> make[1]: [install-shell] Error 1 (ignored)
> make[1]: [install-code] Error 1 (ignored)
> /bin/sh: texhash: command not found
> make[1]: [install-elisp] Error 1 (ignored)
> 0 SPAD=/house/timdaly/axiom/mnt/linux SYS=linux SPD=/house/timdaly/axiom 
> LSP=/house/timdaly/axiom/lsp GCLDIR=/house/timdaly/axiom/lsp/gcl-2.5.2 
> SRC=/house/timdaly/axiom/src INT=/house/timdaly/axiom/int 
> OBJ=/house/timdaly/axiom/obj MNT=/house/timdaly/axiom/mnt 
> ZIPS=/house/timdaly/axiom/zips TMP=/house/timdaly/axiom/obj/tmp 
> SPADBIN=/house/timdaly/axiom/mnt/linux/bin 
> INC=/house/timdaly/axiom/src/include 
> CCLBASE=/house/timdaly/axiom/obj/linux/ccl/ccllisp PART=cprogs 
> SUBPART=everything NOISE=-o /house/timdaly/axiom/obj/tmp/trace 
> GCLVERSION=gcl-2.5.2
> 10 copying /house/timdaly/axiom/src/scripts to 
> /house/timdaly/axiom/mnt/linux/bin
> 1 making a linux system, PART=cprogs SUBPART=everything
> 2 Environment SPAD=/house/timdaly/axiom/mnt/linux SYS=linux 
> SPD=/house/timdaly/axiom LSP=/house/timdaly/axiom/lsp 
> GCLDIR=/house/timdaly/axiom/lsp/gcl-2.5.2 SRC=/house/timdaly/axiom/src 
> INT=/house/timdaly/axiom/int OBJ=/house/timdaly/axiom/obj 
> MNT=/house/timdaly/axiom/mnt ZIPS=/house/timdaly/axiom/zips 
> TMP=/house/timdaly/axiom/obj/tmp SPADBIN=/house/timdaly/axiom/mnt/linux/bin 
> INC=/house/timdaly/axiom/src/include 
> CCLBASE=/house/timdaly/axiom/obj/linux/ccl/ccllisp PART=cprogs 
> SUBPART=everything NOISE=-o /house/timdaly/axiom/obj/tmp/trace 
> GCLVERSION=gcl-2.5.2
> make[1]: Entering directory `/house/timdaly/axiom'
> 11 checking directory structure
> 12 Environment: PLF=LINUXplatform CCF=-O2 -fno-strength-reduce -Wall 
> -D_GNU_SOURCE -DLINUXplatform -I/usr/X11/include LDF=-L/usr/X11R6/lib CC=gcc 
> AWK=awk RANLIB=ranlib TOUCH=touch TAR=tar 
> AXIOMXLROOT=/house/timdaly/axiom/mnt/linux/compiler O=o BYE=bye LISP=lsp 
> DAASE=/house/timdaly/axiom/src/share
> 18 making /house/timdaly/axiom/src
> make[2]: Entering directory `/house/timdaly/axiom/src'
> 1 making /house/timdaly/axiom/src/scripts
> make[3]: Entering directory `/house/timdaly/axiom/src/scripts'
> 1 making /house/timdaly/axiom/src/scripts
> make[3]: Leaving directory `/house/timdaly/axiom/src/scripts'
> 5 making /house/timdaly/axiom/src/lib
> make[3]: Entering directory `/house/timdaly/axiom/src/lib'
> 2 making /house/timdaly/axiom/int/lib/bsdsignal.c from 
> /house/timdaly/axiom/src/lib/bsdsignal.c.pamphlet
> 3 making /house/timdaly/axiom/obj/linux/lib/bsdsignal.o from 
> /house/timdaly/axiom/int/lib/bsdsignal.c
> 8 making /house/timdaly/axiom/int/lib/cursor.c from 
> /house/timdaly/axiom/src/lib/cursor.c.pamphlet
> 9 making /house/timdaly/axiom/obj/linux/lib/cursor.o from 
> /house/timdaly/axiom/int/lib/cursor.c
> 11 making /house/timdaly/axiom/int/lib/edin.c from 
> /house/timdaly/axiom/src/lib/edin.c.pamphlet
> 12 making /house/timdaly/axiom/obj/linux/lib/edin.o from 
> /house/timdaly/axiom/int/lib/edin.c
> 14 making /house/timdaly/axiom/int/lib/fnct_key.c from 
> /house/timdaly/axiom/src/lib/fnct_key.c.pamphlet
> 15 making /house/timdaly/axiom/obj/linux/lib/fnct_key.o from 
> /house/timdaly/axiom/int/lib/fnct_key.c
> 17 making /house/timdaly/axiom/int/lib/halloc.c from 
> /house/timdaly/axiom/src/lib/halloc.c.pamphlet
> 18 making /house/timdaly/axiom/obj/linux/lib/halloc.o from 
> /house/timdaly/axiom/int/lib/halloc.c
> 20 making /house/timdaly/axiom/int/lib/openpty.c from 
> /house/timdaly/axiom/src/lib/openpty.c.pamphlet
> 21 making /house/timdaly/axiom/obj/linux/lib/openpty.o from 
> /house/timdaly/axiom/int/lib/openpty.c
> 23 making /house/timdaly/axiom/int/lib/pixmap.c from 
> /house/timdaly/axiom/src/lib/pixmap.c.pamphlet
> 24 making /house/timdaly/axiom/obj/linux/lib/pixmap.o from 
> /house/timdaly/axiom/int/lib/pixmap.c
> 26 making /house/timdaly/axiom/int/lib/prt.c from 
> /house/timdaly/axiom/src/lib/prt.c.pamphlet
> 27 making /house/timdaly/axiom/obj/linux/lib/prt.o from 
> /house/timdaly/axiom/int/lib/prt.c
> 29 making /house/timdaly/axiom/int/lib/sockio-c.c from 
> /house/timdaly/axiom/src/lib/sockio-c.c.pamphlet
> 30 making /house/timdaly/axiom/obj/linux/lib/sockio-c.o from 
> /house/timdaly/axiom/int/lib/sockio-c.c
> 32 making /house/timdaly/axiom/int/lib/spadcolors.c from 
> /house/timdaly/axiom/src/lib/spadcolors.c.pamphlet
> 33 making /house/timdaly/axiom/obj/linux/lib/spadcolors.o from 
> /house/timdaly/axiom/int/lib/spadcolors.c
> 35 making /house/timdaly/axiom/int/lib/util.c from 
> /house/timdaly/axiom/src/lib/util.c.pamphlet
> 36 making /house/timdaly/axiom/obj/linux/lib/util.o from 
> /house/timdaly/axiom/int/lib/util.c
> 38 making /house/timdaly/axiom/int/lib/wct.c from 
> /house/timdaly/axiom/src/lib/wct.c.pamphlet
> 39 making /house/timdaly/axiom/obj/linux/lib/wct.o from 
> /house/timdaly/axiom/int/lib/wct.c
> 41 making /house/timdaly/axiom/int/lib/XDither.c from 
> /house/timdaly/axiom/src/lib/XDither.c.pamphlet
> 42 making /house/timdaly/axiom/obj/linux/lib/XDither.o from 
> /house/timdaly/axiom/int/lib/XDither.c
> 44 making /house/timdaly/axiom/int/lib/XShade.c from 
> /house/timdaly/axiom/src/lib/XShade.c.pamphlet
> 45 making /house/timdaly/axiom/obj/linux/lib/XShade.o from 
> /house/timdaly/axiom/int/lib/XShade.c
> 47 making /house/timdaly/axiom/int/lib/XSpadFill.c from 
> /house/timdaly/axiom/src/lib/XSpadFill.c.pamphlet
> 48 making /house/timdaly/axiom/obj/linux/lib/XSpadFill.o from 
> /house/timdaly/axiom/int/lib/XSpadFill.c
> 5 making /house/timdaly/axiom/int/lib/cfuns-c.c from 
> /house/timdaly/axiom/src/lib/cfuns-c.c.pamphlet
> 6 making /house/timdaly/axiom/obj/linux/lib/cfuns-c.o from 
> /house/timdaly/axiom/int/lib/cfuns-c.c
> 1 making /house/timdaly/axiom/obj/linux/lib/libspad.a
> make[3]: Leaving directory `/house/timdaly/axiom/src/lib'
> make[2]: Leaving directory `/house/timdaly/axiom/src'
> 0 PLF=LINUXplatform CCF=-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE 
> -DLINUXplatform -I/usr/X11/include LDF=-L/usr/X11R6/lib CC=gcc AWK=awk 
> RANLIB=ranlib TOUCH=touch TAR=tar 
> AXIOMXLROOT=/house/timdaly/axiom/mnt/linux/compiler O=o BYE=bye LISP=lsp 
> DAASE=/house/timdaly/axiom/src/share
> 10 copying /house/timdaly/axiom/src/scripts to 
> /house/timdaly/axiom/mnt/linux/bin
> 19 making /house/timdaly/axiom/lsp
> make[2]: Entering directory `/house/timdaly/axiom/lsp'
> 2 building gcl-2.5.2
> 3 applying EXTRAS patch to h/linux.defs
> patching file linux.defs
> 4 setup ini files for EXTRAS patch
> 5 applying HAVE_XDR patch to h/linux.h
> patching file linux.h
> 6 applying libspad.a patch to unixport/makefile
> patching file makefile
> 7 applying toploop patch to unixport/init_gcl.lsp
> patching file init_gcl.lsp.in
> 8 applying object_to_float patch
> patching file cmpaux.c
> 9 applying in-package patch
> patching file package.d
> 10 applying EXIT patch
> 18 applying MAX_STACK_SIZE patch
> patching file main.c
> 11 applying tail-recursive noise patch
> patching file cmpflet.lsp
> 12 applying tail-recursive noise patch
> patching file cmpcall.lsp
> creating cache ./config.cache
> checking host system type... ia64-unknown-linux-gnu
> host=ia64-unknown-linux-gnu
> enable_machine=
> Exactly one loader option must be chosen: dlopen=yes statsysbfd=yes 
> dynsysbfd=no locbfd=no custreloc=no
> make[3]: Entering directory `/house/timdaly/axiom/lsp/gcl-2.5.2'
> rm -f bin/gcl xbin/gcl
> MGCLDIR=`echo /house/timdaly/axiom/lsp/gcl-2.5.2 | sed -e 
> 'sX^\([a-z]\):X/\1Xg'` ; \
> GCLDIR=`echo /house/timdaly/axiom/lsp/gcl-2.5.2` ; \
> make install-command "INSTALL_LIB_DIR=$GCLDIR" "prefix=$GCLDIR" 
> "BINDIR=$MGCLDIR/unixport"
> make[4]: Entering directory `/house/timdaly/axiom/lsp/gcl-2.5.2'
> rm -f /house/timdaly/axiom/lsp/gcl-2.5.2/bin/gcl
> (echo '#!/bin/sh' ; \
> if gcc --version | grep -q -i mingw ; then echo "export C_INCLUDE_PATH=`echo 
> $INSTALL_LIB_DIR`/h"; else echo "export 
> C_INCLUDE_PATH=/house/timdaly/axiom/lsp/gcl-2.5.2/h:\$C_INCLUDE_PATH"; fi ;\
> echo exec /house/timdaly/axiom/lsp/gcl-2.5.2/unixport/ \\ ; \
> echo '   -dir' /house/timdaly/axiom/lsp/gcl-2.5.2/unixport/ \\ ; \
> echo '   -libdir' /house/timdaly/axiom/lsp/gcl-2.5.2/ \\ ; \
> echo '   -eval '\''(setq si::*allow-gzipped-file* t)'\' \\ ;\
> ! [ -d "" ] || echo '   -eval '\''(setq si::*tk-library* '\"\"')'\' \\;\
> [ "" = "" ] || echo '   -eval '\''(si::init-readline)'\' \\;\
> echo '     '\"address@hidden" ) > /house/timdaly/axiom/lsp/gcl-2.5.2/bin/gcl;
> echo '#' other options: -load "/tmp/foo.o" -load "jo.lsp" -eval '"(joe 3)"' 
> >> /house/timdaly/axiom/lsp/gcl-2.5.2/bin/gcl
> chmod a+x /house/timdaly/axiom/lsp/gcl-2.5.2/bin/gcl
> rm -f /house/timdaly/axiom/lsp/gcl-2.5.2/bin/gclm.bat
> if gcc --version | grep -q mingw ; then (echo '@SET cd='; \
>  echo '@SET promp%prompt%'; \
>  echo '@PROMPT SET cd'; \
>  echo '@CALL>%temp%.\setdir.bat'; \
>  echo '@'; \
>  echo '% do not delete this line %'; \
>  echo '@ECHO off'; \
>  echo 'PROMPT %promp'; \
>  echo 'FOR %%c IN (CALL DEL) DO %%c %temp%.\setdir.bat'; \
>  echo 'set cwd=%cd%'; \
>  echo 'set libdir=%cd%\..\lib\gcl-2.5.0'; \
>  echo 'set unixportdir=%libdir%\unixport'; \
>  echo 'path %cd%\..\mingw\bin;%PATH%'; \
>  echo "start %unixportdir%\saved_gcl.exe -dir %unixportdir% -libdir %libdir% 
> -eval \"(setq si::*allow-gzipped-file* t)\" %1 %2 %3 %4 %5 %6 %7 %8 %9" ) > 
> /house/timdaly/axiom/lsp/gcl-2.5.2/bin/gclm.bat ; fi
> rm -f /house/timdaly/axiom/lsp/gcl-2.5.2/bin/gclfinal.bat
> if gcc --version | grep -q -i mingw ; then (echo 'ECHO path 
> %1\mingw\bin;%PATH% > gcli.bat'; \
>  echo "ECHO start %1\lib\gcl-2.5.0\unixport\saved_gcl.exe -dir 
> %1\lib\gcl-2.5.0\unixport -libdir %1\lib\gcl-2.5.0 -eval \"(setq 
> si::*allow-gzipped-file* t)\" %1 %2 %3 %4 %5 %6 %7 %8 %9 >> gcli.bat" ) > 
> /house/timdaly/axiom/lsp/gcl-2.5.2/bin/gclfinal.bat ; fi
> make[4]: Leaving directory `/house/timdaly/axiom/lsp/gcl-2.5.2'
> (cd xbin ; cp ../bin/gcl .)
> cd cmpnew && make collectfn.o
> make[4]: Entering directory `/house/timdaly/axiom/lsp/gcl-2.5.2/cmpnew'
> ../unixport/saved_gcl ../unixport/ -compile collectfn.lsp
> make[4]: ../unixport/saved_gcl: Command not found
> make[4]: *** [collectfn.o] Error 127
> make[4]: Leaving directory `/house/timdaly/axiom/lsp/gcl-2.5.2/cmpnew'
> make[3]: *** [cmpnew/collectfn.o] Error 2
> make[3]: Leaving directory `/house/timdaly/axiom/lsp/gcl-2.5.2'
> cp: cannot stat `unixport/saved_gcl': No such file or directory
> make[2]: *** [gcldir] Error 1
> make[2]: Leaving directory `/house/timdaly/axiom/lsp'
> make[1]: *** [lspdir] Error 2
> make[1]: Leaving directory `/house/timdaly/axiom'
> make: *** [all] Error 2
> bash-2.05a$ uname -a
> uname -a
> Linux spe156 2.4.18-mckinley-smp #1 SMP Thu Jul 11 12:51:02 MDT 2002 ia64 
> unknown
> bash-2.05a$ exit
> exit
> exit
> spe156> exit
> exit
> spe156> logout
> Connection closed by foreign host.
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

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