This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [patch] fix bootstrap in libjava
>>>>> "Matthias" == Matthias Klose <doko@cs.tu-berlin.de> writes:
>> What platform is this? This is a strange failure... I don't see it,
>> and the code is valid (though weird).
Matthias> i486-linux-gnu, binutils-2.16.1, glibc-2.3.2, current Debian
Matthias> unstable.
I backed out this change, update all of gcc, and did a clean build,
and I still don't see the bug :-(
Could you post the command line used to compile java.awt.im to
bytecode? And to native? I see:
/home/tromey/gnu/Trunk/build/gcc/gcj -B/home/tromey/gnu/Trunk/build/i686-pc-linux-gnu/libjava/ -B/home/tromey/gnu/Trunk/build/gcc/ -Wno-deprecated --encoding=UTF-8 --bootclasspath '' --classpath ..:/home/tromey/gnu/Trunk/gcc/libjava:/home/tromey/gnu/Trunk/build/i686-pc-linux-gnu/libjava:../../../../../gcc/libjava/classpath:../../../../../gcc/libjava/classpath/external/w3c_dom:../../../../../gcc/libjava/classpath/external/sax:.: -C -d . -MD -MF lists/java-awt-im.deps -MT lists/java-awt-im.stamp @lists/java-awt-im.list
/home/tromey/gnu/Trunk/build/gcc/gcj -B/home/tromey/gnu/Trunk/build/i686-pc-linux-gnu/libjava/ -B/home/tromey/gnu/Trunk/build/gcc/ -ffloat-store -fclasspath= -fbootclasspath=/home/tromey/gnu/Trunk/build/i686-pc-linux-gnu/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -c -MT java/awt/im.lo -MD -MP -MF java/awt/im.deps @java/awt/im.list -fPIC -o java/awt/.libs/im.o
I tried running the latter with '-O2' as well, and that also worked
fine.
Tom