This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Installing libjava fails


Installing libjava fails in current snapshot:

make[3]: Entering directory `/usr/src/packages/BUILD/gcc-3.1-20020223/obj-i486-suse-linux/i486-suse-linux/libjava'
/bin/sh ./libtool  --mode=install /bin/sh /usr/src/packages/BUILD/gcc-3.1-20020223/install-sh -c libgcj.la /usr/lib/libgcj.la
libtool: install: warning: relinking `libgcj.la'
cd /usr/src/packages/BUILD/gcc-3.1-20020223/obj-i486-suse-linux/i486-suse-linux/libjava; /bin/sh ./libtool --mode=relink /usr/src/packages/BUILD/gcc-3.1-20020223/obj-i486-suse-linux/gcc/xgcc -shared-libgcc -B/usr/src/packages/BUILD/gcc-3.1-20020223/obj-i486-suse-linux/gcc/ -nostdinc++ -nostdinc++ -I/usr/src/packages/BUILD/gcc-3.1-20020223/obj-i486-suse-linux/i486-suse-linux/libstdc++-v3/include/i486-suse-linux -I/usr/src/packages/BUILD/gcc-3.1-20020223/obj-i486-suse-linux/i486-suse-linux/libstdc++-v3/include -I/usr/src/packages/BUILD/gcc-3.1-20020223/libstdc++-v3/libsupc++ -I/usr/src/packages/BUILD/gcc-3.1-20020223/libstdc++-v3/libio -I/usr/src/packages/BUILD/gcc-3.1-20020223/libstdc++-v3/include/backward -I/usr/src/packages/BUILD/gcc-3.1-20020223/libstdc++-v3/testsuite -L/usr/src/packages/BUILD/gcc-3.1-20020223/obj-i486-suse-linux/i486-suse-linux/libstdc++-v3/src -L/usr/src/packages/BUILD/gcc-3.1-20020223/obj-i486-suse-linux/i486-suse-linux/libstdc++-v3/src/.libs -B/usr/i486-suse-linux/bin/ -B/usr/i486-suse-linux/lib/ -isystem /usr/i486-suse-linux/include -L/usr/src/packages/BUILD/gcc-3.1-20020223/obj-i486-suse-linux/i486-suse-linux/libjava -ffloat-store -g -O2 -o libgcj.la -objectlist libgcj.objectlist ../libffi/libfficonvenience.la -rpath /usr/lib -rpath /usr/lib -lpthread ./libltdl/libltdlc.la ./../boehm-gc/libgcjgc.la -L/usr/src/packages/BUILD/gcc-3.1-20020223/obj-i486-suse-linux/i486-suse-linux/libjava/../boehm-gc/.libs -lz -version-info 2:0:0
libtool: link: unable to infer tagged configuration
libtool: link: specify a tag with `--tag'
libtool: install: error: relink `libgcj.la' with the above command before installing it

The libtool configuration has the following value for CC with tag CXX:

# A language-specific compiler.
CC="/usr/src/packages/BUILD/gcc-3.1-20020223/obj-i486-suse-linux/gcc/xgcc -shared-libgcc -B/usr/src/packages/BUILD/gcc-3.1-20020223/obj-i486-suse-linux/gcc/ -nostdinc++  -L/usr/src/packages/BUILD/gcc-3.1-20020223/obj-i486-suse-linux/i486-suse-linux/libstdc++-v3/src -L/usr/src/packages/BUILD/gcc-3.1-20020223/obj-i486-suse-linux/i486-suse-linux/libstdc++-v3/src/.libs -B/usr/i486-suse-linux/bin/ -B/usr/i486-suse-linux/lib/ -isystem /usr/i486-suse-linux/include"

The difference is that

-nostdinc++ -I/usr/src/packages/BUILD/gcc-3.1-20020223/obj-i486-suse-linux/i486-suse-linux/libstdc++-v3/include/i486-suse-linux -I/usr/src/packages/BUILD/gcc-3.1-20020223/obj-i486-suse-linux/i486-suse-linux/libstdc++-v3/include -I/usr/src/packages/BUILD/gcc-3.1-20020223/libstdc++-v3/libsupc++ -I/usr/src/packages/BUILD/gcc-3.1-20020223/libstdc++-v3/libio -I/usr/src/packages/BUILD/gcc-3.1-20020223/libstdc++-v3/include/backward -I/usr/src/packages/BUILD/gcc-3.1-20020223/libstdc++-v3/testsuite

has been inserted into the relink command.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]