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]
Other format: [Raw text]

Re: compilation problems with ecj.jar


Tom Tromey wrote:
"Marco" == Marco Trudel <mtrudel@gmx.ch> writes:

Marco> Yes, that makes sense. But it only fixes (not tested) the wrong Marco> extension. The main problem, that the compilation of ecj.jar itself Marco> fails, remains.

This is very odd.

Marco> i686-pc-linux-gnu-gcj -o ecj-out -findirect-dispatch
Marco> --main=org.eclipse.jdt.int ernal.compiler.batch.GCCMain ecj.jar

Please run this with '-v' and send the output.

Using built-in specs.
Reading specs from /home/Marco/Desktop/compile-lin-lin/gcc-XYZXYZ-lin/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../libgcj.spec
rename spec startfile to startfileorig
rename spec lib to liborig
Target: i686-pc-linux-gnu
Configured with: /usr/local/src/gcc/configure --prefix=/home/Marco/Desktop/compile-lin-lin/gcc-XYZXYZ-lin --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --enable-languages=c,c++,java --enable-libgcj --with-gnu-as --with-gnu-ld --disable-nls --disable-debug --disable-shared --disable-checking --enable-threads=posix --disable-win32-registry --with-gmp=/home/Marco/Desktop/compile-lin-lin/gmp-out --with-mpfr=/home/Marco/Desktop/compile-lin-lin/mpfr-out
Thread model: posix
gcc version 4.3.0 20070118 (experimental)


/home/Marco/Desktop/compile-lin-lin/gcc-XYZXYZ-lin/libexec/gcc/i686-pc-linux-gnu/4.3.0/jc1 ecj.jar -fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions -fkeep-inline-functions -quiet -dumpbase ecj.jar -mtune=generic -auxbase ecj -g1 -version -findirect-dispatch -fbootclasspath=./:/home/Marco/Desktop/compile-lin-lin/gcc-XYZXYZ-lin/share/java/libgcj-4.3.0.jar -o /tmp/ccsy1dWN.s
GNU Java version 4.3.0 20070118 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 4.3.0 20070118 (experimental).
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64455
Class path starts here:
./
./ (system)


/home/Marco/Desktop/compile-lin-lin/gcc-XYZXYZ-lin/share/java/libgcj-4.3.0.jar/ (system) (zip)

/home/Marco/Desktop/compile-lin-lin/gcc-XYZXYZ-lin/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../i686-pc-linux-gnu/bin/as -V -Qy -o /tmp/ccDeJRip.o /tmp/ccsy1dWN.s
GNU assembler version 2.16.91 (i686-pc-linux-gnu) using BFD version 2.16.91 20060119


/home/Marco/Desktop/compile-lin-lin/gcc-XYZXYZ-lin/libexec/gcc/i686-pc-linux-gnu/4.3.0/jvgenmain -findirect-dispatch org.eclipse.jdt.internal.compiler.batch.GCCMainmain /tmp/ccropneY.i

/home/Marco/Desktop/compile-lin-lin/gcc-XYZXYZ-lin/libexec/gcc/i686-pc-linux-gnu/4.3.0/cc1 /tmp/ccropneY.i -quiet -dumpbase org.eclipse.jdt.internal.compiler.batch.GCCMainmain.c -mtune=generic -g1 -version -fdollars-in-identifiers -o /tmp/ccsy1dWN.s
GNU C version 4.3.0 20070118 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 4.3.0 20070118 (experimental).
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64455
Compiler executable checksum: ecc19ad134152b62adbdca54d7b9631a


/home/Marco/Desktop/compile-lin-lin/gcc-XYZXYZ-lin/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../i686-pc-linux-gnu/bin/as -V -Qy -o /tmp/cc37yDhG.o /tmp/ccsy1dWN.s
GNU assembler version 2.16.91 (i686-pc-linux-gnu) using BFD version 2.16.91 20060119


/home/Marco/Desktop/compile-lin-lin/gcc-XYZXYZ-lin/libexec/gcc/i686-pc-linux-gnu/4.3.0/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o ecj-out /usr/lib/crt1.o /usr/lib/crti.o /home/Marco/Desktop/compile-lin-lin/gcc-XYZXYZ-lin/lib/gcc/i686-pc-linux-gnu/4.3.0/crtbegin.o -L/home/Marco/Desktop/compile-lin-lin/gcc-XYZXYZ-lin/lib/gcc/i686-pc-linux-gnu/4.3.0 -L/home/Marco/Desktop/compile-lin-lin/gcc-XYZXYZ-lin/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../i686-pc-linux-gnu/lib -L/home/Marco/Desktop/compile-lin-lin/gcc-XYZXYZ-lin/lib/gcc/i686-pc-linux-gnu/4.3.0/../../.. /tmp/cc37yDhG.o /tmp/ccDeJRip.o -lgcc -lgcj_bc -lm -lpthread -lrt -ldl -lgcc -lc -lgcc /home/Marco/Desktop/compile-lin-lin/gcc-XYZXYZ-lin/lib/gcc/i686-pc-linux-gnu/4.3.0/crtend.o /usr/lib/crtn.o
/tmp/cc37yDhG.o: In function `main':ccropneY.i:(.text+0x30): undefined reference to `JvRunMainName'
/tmp/ccDeJRip.o: In function `void org::eclipse::jdt::internal::compiler::classfmt::ClassFormatException::printStackTrace(java::io::PrintStream*)':ecj.jar:(.text+0x155dfc): undefined reference to `_Jv_MonitorExit'
:ecj.jar:(.text+0x155e4c): undefined reference to `_Jv_MonitorExit'
/tmp/ccDeJRip.o: In function `void org::eclipse::jdt::internal::compiler::classfmt::ClassFormatException::printStackTrace(java::io::PrintWriter*)':ecj.jar:(.text+0x1561ec): undefined reference to `_Jv_MonitorExit'
:ecj.jar:(.text+0x15623c): undefined reference to `_Jv_MonitorExit'
/tmp/ccDeJRip.o: In function `java::lang::Object* org::eclipse::jdt::internal::compiler::util::Messages$MessagesProperties::put(java::lang::Object*, java::lang::Object*)':ecj.jar:(.text+0x6643cd): undefined reference to `_Jv_MonitorExit'
/tmp/ccDeJRip.o:ecj.jar:(.text+0x6643ec): more undefined references to `_Jv_MonitorExit' follow
/tmp/ccDeJRip.o: In function `global constructors keyed to 0__ZN3org7eclipse3jdt4core8compiler13CharOperation18__U3c_clinit__U3e_EJvv':ecj.jar:(.text+0x803e80): undefined reference to `_Jv_RegisterResource'
:ecj.jar:(.text+0x803e8c): undefined reference to `_Jv_RegisterResource'
:ecj.jar:(.text+0x803e98): undefined reference to `_Jv_RegisterResource'
:ecj.jar:(.text+0x803ea4): undefined reference to `_Jv_RegisterResource'
:ecj.jar:(.text+0x803eb0): undefined reference to `_Jv_RegisterResource'
/tmp/ccDeJRip.o:ecj.jar:(.text+0x803ebc): more undefined references to `_Jv_RegisterResource' follow
collect2: ld returned 1 exit status



Hope it helps...


thanks
Marco


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