compilation problems with ecj.jar
Marco Trudel
mtrudel@gmx.ch
Mon Jan 15 12:01:00 GMT 2007
Andrew Haley wrote:
> Marco Trudel writes:
>> > I get this error while compiling the current GCJ trunk:
> >
> > org/eclipse/jdt/core/compiler/CharOperation.java: In class
> > 'org.eclipse.jdt.core.compiler.CharOperation':
> > org/eclipse/jdt/core/compiler/CharOperation.java: In method
> > 'org.eclipse.jdt.core.compiler.CharOperation.<clinit>()':
> > org/eclipse/jdt/core/compiler/CharOperation.java:0: internal compiler
> > error: Segmentation fault
> >
> > This is a class from the ecj.jar I downloaded. Is that ecj.jar work in
> > progress? Should I update it frequently? Does it work for others?
> >
> > I configure with:
> > configure --prefix=/home/Marco/Desktop/compile-lin-lin/gcc-XYZXYZ-lin
> > --build=`/usr/local/src/gcc/config.guess` --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
>> Please tell us exactly what command is being executed when you get
> this error.
Sorry, I intended to minimize the output but of course I cut too much
away. Here you go with the whole one:
make[3]: Entering directory
`/home/Marco/Desktop/compile-lin-lin/gcc-build/i686-pc-linux-gnu/libjava'
/bin/sh ./libtool --tag=GCJ --mode=link
/home/Marco/Desktop/compile-lin-lin/gcc-build/gcc/gcj
-B/home/Marco/Desktop/compile-lin-lin/gcc-build/i686-pc-linux-gnu/libjava/
-B/home/Marco/Desktop/compile-lin-lin/gcc-build/gcc/
-L/home/Marco/Desktop/compile-lin-lin/gcc-build/i686-pc-linux-gnu/libjava
-ffloat-store -fomit-frame-pointer -g -O2 -o ecjx -findirect-dispatch
--main=org.eclipse.jdt.internal.compiler.batch.GCCMain
/usr/local/src/gcc/libjava/.././libjava/../ecj.jar
-L/home/Marco/Desktop/compile-lin-lin/gcc-build/i686-pc-linux-gnu/libjava/.libs
libgcj.la
/home/Marco/Desktop/compile-lin-lin/gcc-build/gcc/gcj
-B/home/Marco/Desktop/compile-lin-lin/gcc-build/i686-pc-linux-gnu/libjava/
-B/home/Marco/Desktop/compile-lin-lin/gcc-build/gcc/ -ffloat-store
-fomit-frame-pointer -g -O2 -o ecjx -findirect-dispatch
--main=org.eclipse.jdt.internal.compiler.batch.GCCMain
/usr/local/src/gcc/libjava/.././libjava/../ecj.jar
-L/home/Marco/Desktop/compile-lin-lin/gcc-build/i686-pc-linux-gnu/libjava
-L/home/Marco/Desktop/compile-lin-lin/gcc-build/i686-pc-linux-gnu/libjava/.libs
./.libs/libgcj.a
-L/home/Marco/Desktop/compile-lin-lin/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src
-L/home/Marco/Desktop/compile-lin-lin/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-lpthread -lrt -ldl
-L/home/Marco/Desktop/compile-lin-lin/gcc-build/./gcc
-L/home/Marco/Desktop/compile-lin-lin/gcc-XYZXYZ-lin/i686-pc-linux-gnu/bin
-L/home/Marco/Desktop/compile-lin-lin/gcc-XYZXYZ-lin/i686-pc-linux-gnu/lib
-lgcc -lc -lgcc
org/eclipse/jdt/core/compiler/CharOperation.java: In class
'org.eclipse.jdt.core.compiler.CharOperation':
org/eclipse/jdt/core/compiler/CharOperation.java: In method
'org.eclipse.jdt.core.compiler.CharOperation.<clinit>()':
org/eclipse/jdt/core/compiler/CharOperation.java:0: internal compiler
error: Segmentation fault
Btw, this is gcc rev 120769. Just tell me if I should try to manually
add or remove an argument or anything else if I can help.
thanks
Marco
More information about the Java
mailing list