[Bug libgcj/44341] [4.6 Regression] libjava cross build fails when configured with --with-gmp=

kkojima at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 14 00:12:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44341

--- Comment #10 from Kazumoto Kojima <kkojima at gcc dot gnu.org> 2011-01-14 00:11:39 UTC ---
(In reply to comment #9)
> Another approach to fix the problem

It looks that the patch fixes the issue, though I've got

...
../LOCAL/trunk/configure: line 5232: ${with_target_mpc_*+set}: bad substitution
../LOCAL/trunk/configure: line 5285: ${with_target_mpfr_*+set}: bad
substitution
../LOCAL/trunk/configure: line 5338: ${with_target_gmp_*+set}: bad substitution
checking for the correct version of gmp.h... buggy but acceptable
checking for the correct version of mpfr.h... buggy but acceptable
checking for the correct version of mpc.h... buggy but acceptable
checking for the correct version of the gmp/mpfr/mpc libraries... yes
../LOCAL/trunk/configure: line 5701: ${with_target_ppl_*+set}: bad substitution
../LOCAL/trunk/configure: line 5794: ${with_target_cloog_*+set}: bad
substitution
...

when configuring with

../LOCAL/trunk/configure --host=i686-pc-linux-gnu
--target=sh4-unknown-linux-gnu --enable-lto --enable-shared
--enable-threads=posix --enable-clocale=gnu --enable-libgcj
--with-ld=/usr/local/bin/sh4-unknown-linux-gnu-ld
--with-as=/usr/local/bin/sh4-unknown-linux-gnu-as --with-sysroot=/exp/ldroot
--with-gmp=/opt2/i686-pc-linux-gnu --with-mpfr=/opt2/i686-pc-linux-gnu
--with-mpc=/opt2/i686-pc-linux-gnu --with-libelf=/opt2/i686-pc-linux-gnu
--with-ppl=no --enable-languages=c,c++,fortran,java,objc

on my Fedora 13 box.



More information about the Java-prs mailing list