This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

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


gcc -DNO_EXECUTE_PERMISSION=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_DEBUGGING=1 -DJAVA_FINALIZATION=1 -I. -I/home/phd/oliva/src/libgcj-2.95/boehm-gc -I././targ-include -I/home/phd/oliva/src/libgcj-2.95/boehm-gc/./libc/include -fno-builtin -g -O2 -I././targ-include -I/home/phd/oliva/src/libgcj-2.95/boehm-gc/./libc/include -fno-builtin -Wp,-P -x assembler-with-cpp -c  -DPIC /home/phd/oliva/src/libgcj-2.95/boehm-gc/mips_sgi_mach_dep.s -o .libs/mips_sgi_mach_dep.lo
In file included from /home/phd/oliva/src/libgcj-2.95/boehm-gc/mips_sgi_mach_dep.s:2:
/usr/include/sys/asm.h:620: unterminated string or character constant

oliva@escher% sed -n 620p /usr/include/sys/asm.h
        # Now we're executing in Kernel Physical (KP) space
                ^ the culprit

Should we arrange that fixincludes removes it, or should the
preprocessor ignore non-matching single quotes in assembly code (or
maybe ignore text after `#' when preprocessing assembly)?


Oh well!  Anyway, even after manually preprocessing the file and
assembling it manually, it still loses :-(

gcc -shared  allchblk.o alloc.o blacklst.o checksums.o dbg_mlc.o dyn_load.o finalize.o headers.o irix_threads.o linux_threads.o malloc.o mallocx.o mark.o mark_rts.o misc.o new_hblk.o obj_map.o os_dep.o pcr_interface.o ptr_chck.o quick_threads.o real_malloc.o reclaim.o solaris_pthreads.o solaris_threads.o stubborn.o typd_mlc.o mips_sgi_mach_dep.o   -lc  -Wl,-soname -Wl,libgcjgc.so `test -n "sgi1.0" && echo -Wl,-set_version -Wl,sgi1.0` -o .libs/libgcjgc.so1.0
/usr/bin/ld:
Object file format error in: mips_sgi_mach_dep.o: non-shared Elf object "mips_sgi_mach_dep.o" cannot be linked shared.
collect2: ld returned 1 exit status

Any ideas?

-- 
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]