This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CDC build for PPC-linux


Ganesh.Tawde@relianceinfo.com wrote:

Hi,

I think this is not the right group to post this query, but I am taking a
chance if somebody can help me out.

I am trying to build the CDC for the linux-powerpc. I have successfully
generated the PPC 405 cross compiler. During the build, I am getting the
following error:


=================================================================


Checking for test classes to compile ...
Compiling test classes...
... ../../build/classes.jcc/GenOpcodes.class
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
export CLASSPATH; \
CLASSPATH=../../build/classes.jcc; \
/root/rpm/j2sdk1.4.2_08/bin/java GenOpcodes
../../src/share/javavm/include/opcodes.list \
   -h ../../build/linux-powerpc/generated/javavm/include/opcodes.h \
   -c ../../build/linux-powerpc/generated/javavm/runtime/opcodes.c \
   -bcAttr ../../build/linux-powerpc/generated/javavm/runtime/bcattr.c \
   -opcodeLengths
../../build/linux-powerpc/generated/javavm/runtime/opcodelen.c \
    \
   -label
../../build/linux-powerpc/generated/javavm/include/opcodeLabels.h \
   -javaConst
../../build/linux-powerpc/generated/javavm/runtime/opcodeconsts/OpcodeConst.java
\
   -simplification
../../build/linux-powerpc/generated/javavm/include/opcodeSimplification.h
... ../../build/classes.jcc/JavaCodeCompact.class
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
... romjava.c files
       727 Total Classes
               ... of which 140 classes have static initializers
                   (6379/10340 quickening sites)
               6697 method blocks
               ... of which 147 blocks are writable
               ... for 4 classes
               ... of which 1972 have checkinit opcodes in the code
               325877 bytes of Java code
               1265 catch frames
               2972 field blocks
               581 inner class attribute entries
               16896 constant pool entries
               3142 Java strings
... testclasses.zip
(cd ../../build/linux-powerpc/testclasses; zip -r -0 -q - * ) \
       > .classes.tmp
... generating jni class headers
... ../../build/linux-powerpc/obj/gen_semispace.o
powerpc-405-linux-gnu-gcc-3.4.4: /opt/crosstool/gcc-3.4.4-glibc-2.3.5
/powerpc-405-linux-gnu/include: linker input file unused because linking
not done
cc1: /opt/crosstool/gcc-3.4.4-glibc-2.3.5/powerpc-405-linux-gnu/include: No
such file or directory
make: *** [../../build/linux-powerpc/obj/gen_semispace.o] Error 1

=================================================================


I am not aware as to what could be causing this error. Any comments?


I'm assuming your cross toolchain has prefix=/opt/crosstool/gcc-3.4.4-glibc-2.3.5/powerpc-405-linux-gnu set by the crosstool, so your cross-gcc is at


/opt/crosstool/gcc-3.4.4-glibc-2.3.5/powerpc-405-linux-gnu/bin ... this would also, I think, make your compiler look in /opt/crosstool/gcc-3.4.4-glibc-2.3.5/powerpc-405-linux-gnu/include for headers, not /usr/include... in short, try to make sure you still have the headers form your toolchain build present when you do your compile of java code.

Maybe.

I'm kinda guessing, throwing out ideas.

Allan



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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