From: Tom Zheng
Subject: Compile CLX(X11R5) on SGI4d running IRIX4.0.1 using AKCL-1-605
Date: 
Message-ID: <17993@ector.cs.purdue.edu>
I am using the newest version of akcl(1.605) to compile CLX in X11R5 on
our SGI4d machines which run IRIX4.0.1.

I kept getting errors when it tried to FASLINK the second compiled
lisp file with either the first compiled lisp file or -lc(detail 
compile message dump is attached at the end).

For warning like 

 	Warning: object not compiled with -G 0 will not work linking with -A

I even tried to recompile my akcl with -G 0 or -bestGnum, but none of them
did better.  And the message 

	gp relocation out-of-range errors have occured and bad object file 
	produced (corrective action must be taken)

got me braindead because I couldn't figure out what might cause it. 

Has anyone outthere done this before?  If you do, could you provide me 
some of your experience on how you did it?  Also if you have any 
thought/idea/hint about the problem, I would like to hear it.  
Send your reply to ······@cs.purdue.edu or the newsgroup.  If there
are enough interests, I will post a summary.

Your help is greatly appreciated!


Tom Zheng
--
-- ······@cs.purdue.edu		Staff Programmer	CS, Purdue University
-----------------------------------------------------------------------------


******************************** akcl dump ********************************
AKCL (Austin Kyoto Common Lisp)  Version(1.605) Tue Mar  3 19:21:24 EST 1992
Contains Enhancements by W. Schelter

>(load "defsystem.lsp")
Loading defsystem.lsp
Finished loading defsystem.lsp
T

>(compile-clx)
;;; Default paths: #"" #""
Loading package.lsp
Finished loading package.lsp
Compiling package.lsp.
End of Pass 1.  
End of Pass 2.  
OPTIMIZE levels: Safety=0 (No runtime error checking), Space=0, Speed=3
Finished compiling package.
Loading package.o
start address -T b50000 Finished loading package.o
;;; cc -I/usr/local/X11R5/include -G 0 -c socket.c -I/usr/include/bsd
Loading sockcl.lsp
Finished loading sockcl.lsp
Compiling sockcl.lsp.
End of Pass 1.  
End of Pass 2.  
OPTIMIZE levels: Safety=0 (No runtime error checking), Space=0, Speed=3
Finished compiling sockcl.
Faslinking #sockcl.o with socket.o -lc.
ld:
Warning: object not compiled with -G 0 will not work linking with -A
Warning: object not compiled with -G 0 will not work linking with -A
Warning: object not compiled with -G 0 will not work linking with -A
Warning: object not compiled with -G 0 will not work linking with -A
Warning: object not compiled with -G 0 will not work linking with -A
Warning: object not compiled with -G 0 will not work linking with -A
Warning: object not compiled with -G 0 will not work linking with -A
Warning: object not compiled with -G 0 will not work linking with -A
Warning: object not compiled with -G 0 will not work linking with -A
Warning: object not compiled with -G 0 will not work linking with -A
gp relocation out-of-range errors have occured and bad object file produced (corrective action must be taken)
All data will fit into the global pointer area
Best -G num value to compile all -count'ed objects
creating /tmp/fasltemp17648 with is 1024 (or greater)
Best -G num value calculation reliable only if all
-count'ed objects were compiled with -G num greater or
equal to maximum size of a literal pool item (8).

Error: The linkage editor failed.
Fast links are on: do (use-fast-links nil) for debugging
Error signalled by SYSTEM:FASLINK.
Broken at SYSTEM:FASLINK.  Type :H for Help.
>>