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

Alexandre Oliva oliva@dcc.unicamp.br
Tue Jul 20 11:22:00 GMT 1999


On Jul 20, 1999, Alexandre Oliva <oliva@dcc.unicamp.br> wrote:
> Oh well! Anyway, even after manually preprocessing the file and
> assembling it manually, it still loses :-(

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

The work-around here was to add -Wa,-KPIC to the flags passed to gcc
when called to assemble it, or to add `.options pic2' to the assembly
source (which is what gcc does in the assembly code it produces). At
least when the assembler is GNU as, which is what I'm using.
-- 
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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /