public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: gcc@gcc.gnu.org
Subject: Installing libjava fails
Date: Sun, 24 Feb 2002 11:16:00 -0000	[thread overview]
Message-ID: <jeofieww2h.fsf@sykes.suse.de> (raw)

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."

             reply	other threads:[~2002-02-24 18:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-24 11:16 Andreas Schwab [this message]
2002-02-26 11:34 ` Andreas Schwab
2002-02-27 18:51   ` Alexandre Oliva
2002-02-28  1:46     ` Andreas Schwab
2002-02-28  1:54       ` Alexandre Oliva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jeofieww2h.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).