This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: misp-sgi-irix5.2 assembler-preprocessor error building libgcj


On Jul 20, 1999, Alexandre Oliva <oliva@dcc.unicamp.br> wrote:

> Object file format error in: mips_sgi_mach_dep.o: non-shared Elf object "mips_sgi_mach_dep.o" cannot be linked shared.

Here's a patch:

Index: boehm-gc/ChangeLog
from  Alexandre Oliva  <oliva@dcc.unicamp.br>
	
	* mips_sgi_mach_dep.s: Enable PIC option.
	
Index: boehm-gc/mips_sgi_mach_dep.s
===================================================================
RCS file: /cvs/java/libgcj/boehm-gc/mips_sgi_mach_dep.s,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 mips_sgi_mach_dep.s
--- boehm-gc/mips_sgi_mach_dep.s	1999/04/07 14:56:06	1.1.1.1
+++ boehm-gc/mips_sgi_mach_dep.s	1999/07/20 19:15:01
@@ -3,6 +3,7 @@
 
 # define call_push(x)     move    $4,x;    jal     GC_push_one
 
+    .option pic2
     .text
 /* Mark from machine registers that are saved by C compiler */
 #   define FRAMESZ 32

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]