This is the mail archive of the java@gcc.gnu.org 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]

Undefined asm labels during bootstrap on Solaris


Hi!
on Solaris 2.7 the cvs version (updated last Friday) gives me this:
(/home/kahlert/GCC/bin contains binutils-2.11.2)

$ prefix=/home/kahlert/GCC
$ PATH=${prefix}/bin:$PATH
$ export PATH
$ ../gcc/configure --prefix=${prefix} --enable-languages=c++,f77,java
   --enable-threads=posix --with-as=/home/kahlert/GCC/bin/as
   --with-ld=/home/kahlert/GCC/bin/ld --with-gnu-as --with-gnu-ld
   --with-dwarf2
$ gmake bootstrap
[...]
/data/lorentz_3/kahlert/obj/gcc/gcj
-B/data/lorentz_3/kahlert/obj/sparc-sun-solaris2.7/sparcv9/libjava/
-B/data/lorentz_3/kahlert/obj/gcc/ --encoding=UTF-8 -fassume-compiled
-fclasspath=/data/lorentz_3/kahlert/obj/sparc-sun-solaris2.7/sparcv9/libjava
-L/data/lorentz_3/kahlert/obj/sparc-sun-solaris2.7/sparcv9/libjava -g -O2 -m64
-MD -MT java/io/BufferedReader.lo -MF java/io/BufferedReader.d -c
../../../../gcc/libjava/java/io/BufferedReader.java -fPIC -o
java/io/.libs/BufferedReader.o
/var/tmp//cc4PB3wy.s: Assembler messages:
/var/tmp//cc4PB3wy.s:739: Error: undefined symbol .LL100 in operation
/var/tmp//cc4PB3wy.s:754: Error: undefined symbol .LL100 in operation
/var/tmp//cc4PB3wy.s:1517: Error: undefined symbol .LL335 in operation
/var/tmp//cc4PB3wy.s:1532: Error: undefined symbol .LL334 in operation
/var/tmp//cc4PB3wy.s:1788: Error: undefined symbol .LL334 in operation
/var/tmp//cc4PB3wy.s:1795: Error: undefined symbol .LL335 in operation
gmake[5]: *** [java/io/BufferedReader.lo] Error 1

The error messages come from lines like this:
.LLM64:
.LLBB41:
        cmp     %l2, 0
        ble,pn  %icc, .LL111
        sethi   %hi(_GLOBAL_OFFSET_TABLE_-(.LL100-.)), %o0   <-- This is line 739

Hope that helps,
Martin.


-- 
The early bird catches the worm. If you want something else for       
breakfast, get up later.


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