This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/36065] New: gcj 4.3.1 fails to compile if system libtool is version 2.x
- From: "bero at arklinux dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 27 Apr 2008 19:13:26 -0000
- Subject: [Bug java/36065] New: gcj 4.3.1 fails to compile if system libtool is version 2.x
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
# libtool --version |head -n1
ltmain.sh (GNU libtool) 2.2.2
# make
[...]
make[5]: Entering directory
`/build-gcc-i586/BUILD/gcc-4.3.1/build/i586-ark-linux/libjava/classpath/native/fdlibm'
if /bin/sh ../../libtool --tag=CC --mode=compile
/build-gcc-i586/BUILD/gcc-4.3.1/build/./gcc/xgcc
-B/build-gcc-i586/BUILD/gcc-4.3.1/build/./gcc/ -B/usr/i586-ark-linux/bin/
-B/usr/i586-ark-linux/lib/ -isystem /usr/i586-ark-linux/include -isystem
/usr/i586-ark-linux/sys-include -DHAVE_CONFIG_H -I.
-I../../../../../../libjava/classpath/native/fdlibm -I../../include -O2 -g
-O2 -march=i586 -mtune=i686 -fweb -frename-registers -fno-strict-aliasing
-MT dtoa.lo -MD -MP -MF ".deps/dtoa.Tpo" -c -o dtoa.lo
../../../../../../libjava/classpath/native/fdlibm/dtoa.c; \
then mv -f ".deps/dtoa.Tpo" ".deps/dtoa.Plo"; else rm -f
".deps/dtoa.Tpo"; exit 1; fi
../../libtool: line 154: CDPATH: command not found
libtool: Version mismatch error. This is libtool 2.1a, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.1a
libtool: and run autoconf again.
make[5]: *** [dtoa.lo] Error 1
make[5]: Leaving directory
`/build-gcc-i586/BUILD/gcc-4.3.1/build/i586-ark-linux/libjava/classpath/native/fdlibm'
make[4]: *** [all-recursive] Error 1
The configure script should probably detect this and fix aclocal.m4...
--
Summary: gcj 4.3.1 fails to compile if system libtool is version
2.x
Product: gcc
Version: 4.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bero at arklinux dot org
GCC build triplet: i586-pc-linux-gnu
GCC host triplet: i586-pc-linux-gnu
GCC target triplet: i586-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36065