I was just poking around with the latest snapshot for fun when I came
across a huge problem: the make would fail without reason. It wouldn't
give any actual reason at all. It would be building the HTML parser
and after a bit would just give up. make gave the error "[error 1]"
about the target file, but that is all I got. GCJ didn't give any
error. After a bit of work with google I found that it might be a
memory problem. Now, I did not get the memory error that is referenced
from some of those posts, but unfortunately my attempts to fix it
garbaged the error output file so I can't show you that, but I am
including other important bits.

All of that to say, I may know part of the problem and a partial
temporary solution, but I may not.

I fear, the problem with this specific line, is that the "-O2" option,
for whatever reason, causes it to fail. Now, I didn't run make or
config with any options that should have forced the "-O2" option so I
assume it is the default. Running the included libtool command
manually without the "-O2" worked perfectly. After that I ran "make"
again and it seems to have finished the build perfectly.

At this point I don't have enough information to be really figure the
issue out. I don't even know if their is a real issue. I thought it
might help others more knowledgeable to "fix" it, so there is it.

Cheers,
Soma

make[3]: Entering directory `/build/gcc/build/i386-pc
-mingw32/libjava'
/bin/sh ./libtool --mode=compile /build/gcc/build/gcc/gcj
-B/build/gcc/build/i386-pc-mingw32/libjava/ -B/build/gcc/build/gcc/
-ffloat-store -fomit-frame-pointer -fno-omit-frame-pointer
-fclasspath= -fbootclasspath=../../../gcc-
4.3-20070323/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated
-fbootstrap-classes -g -O2 -c -o
gnu/javax/swing/text/html/parser/HTML_401F.lo
-fsource-filename=/build/gcc/build/i386-pc-mingw32/libjava/classpath/lib/classes
-MT gnu/javax/swing/text/html/parser/HTML_401F.lo -MD -MP -MF
gnu/javax/swing/text/html/parser/HTML_401F.deps
@gnu/javax/swing/text/html/parser/HTML_401F.list
/build/gcc/build/gcc/gcj -B/build/gcc/build/i386-pc-mingw32/libjava/
-B/build/gcc/build/gcc/ -ffloat-store -fomit-frame-pointer
-fno-omit-frame-pointer -fclasspath=
-fbootclasspath=../../../gcc-4.3-20070323/libjava/classpath/lib
--encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c
-fsource-filename=/build/gcc/build/i386-pc-mingw32/libjava/classpath/lib/classes
-MT gnu/javax/swing/text/html/parser/HTML_401F.lo -MD -MP -MF
gnu/javax/swing/text/html/parser/HTML_401F.deps
@gnu/javax/swing/text/html/parser/HTML_401F.list -o
gnu/javax/swing/text/html/parser/HTML_401F.o
make[3]: Leaving directory `/build/gcc/build/i386-pc-mingw32/libjava'

../gcc-4.3-20070323/configure --with-gcc --with-gnu-as --with-gnu-ld
--with-as=/mingw/bin/as --with-ld=/mingw/bin/ld --host=i386-pc-mingw32
--build=i386-pc-mingw32 --target=i386-pc-mingw32 --prefix=/mingw
--enable-threads=win32 --disable-nls
--enable-languages=ada,c,c++,fortran,java,objc,obj-c++,treelang
--disable-win32-registry --disable-shared --disable-debug
--disable-checking --enable-bootstrap --disable-werror
--without-long-double-128 --enable-libgcj --disable-java-awt
--without-x --disable-libgcj-debug --enable-interpreter
--enable-hash-synchronization --without-newlib
--disable-libstdcxx-debug --enable-libgcj-multifile
--enable-java-gc=boehm --enable-libgcj-mingw-osapi=ansi
--enable-sjlj-exceptions

make bootstrap 1>Make.out.log.txt 2>Make.error.log.txt

Reply via email to