build problem...
Thomas Fitzsimmons
fitzsim@redhat.com
Thu Jun 15 19:59:00 GMT 2006
Andrew MacLeod wrote:
> On Thu, 2006年06月15日 at 14:14 -0400, Andrew MacLeod wrote:
>> I assume I'm not the only one seeing this build failure:
>>>>>> make[5]: Entering directory `/build/gcc/2006-06-15/i686-pc-linux-gnu/libjava/classpath/tools'
>> /bin/sh ../libtool --mode=link /build/gcc/2006-06-15/./gcc/xgcc -B/build/gcc/2006-06-15/./gcc/ -B/install/gcc/i686-pc-linux-gnu/bin/ -B/install/gcc/i686-pc-linux-gnu/lib/ -isystem /install/gcc/i686-pc-linux-gnu/include -isystem /install/gcc/i686-pc-linux-gnu/sys-include -O2 -g -O2 -o gappletviewer -L/install/gcc/lib -lgcj gappletviewer-toolwrapper.o
>> /build/gcc/2006-06-15/./gcc/xgcc -B/build/gcc/2006-06-15/./gcc/ -B/install/gcc/i686-pc-linux-gnu/bin/ -B/install/gcc/i686-pc-linux-gnu/lib/ -isystem /install/gcc/i686-pc-linux-gnu/include -isystem /install/gcc/i686-pc-linux-gnu/sys-include -O2 -g -O2 -o gappletviewer gappletviewer-toolwrapper.o -L/install/gcc/lib -lgcj
>> /usr/bin/ld: cannot find -lgcj
>> collect2: ld returned 1 exit status
>> make[5]: *** [gappletviewer] Error 1
>> Thank you Tom.. :-)
:-(
This patch of mine:
2006年06月13日 Thomas Fitzsimmons <fitzsim@redhat.com>
* configure: Regenerate.
* Makefile.in: Regenerate.
* configure.ac (--enable-plugin): New option.
(ac_configure_args): Add --enable-tool-wrappers.
(ac_configure_args): Add --disable-plugin unless --enable-plugin
was specified.
* gcj/Makefile.in: Regenerate.
* sources.am (gnu_java_net_source_files): Add
classpath/gnu/java/net/IndexListParser.java.
(property_files): Remove
...
caused a bootstrap failure on multilib architectures. A clean bootstrap did
work for me on my x86 workstation, but I hadn't cleared out $prefix. I have a
suspicion that the libjava configury reaches into $prefix during the bootstrap.
In the future I'll be sure to clear $prefix before bootstrapping, and I'll
also bootstrap on a multilib architecture (x86-64).
Sorry for the inconvenience. For now I've reverted the part of the patch that
was causing the failure.
Tom
More information about the Java
mailing list