This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: check of 971105 on solaris 2.4, --enable-shared
- To: pkoning at xedia dot com (Paul Koning)
- Subject: Re: check of 971105 on solaris 2.4, --enable-shared
- From: Joe Buck <jbuck at synopsys dot com>
- Date: Mon, 10 Nov 97 17:38:44 PST
- Cc: egcs at cygnus dot com
> I did three builds on the latest snapshot, with various combinations
> of --enable-haifa and --enable-shared. --enable-haifa did not affect
> the results of "make check" at all, but --enable-shared changed them
> dramatically. For one thing, there were many failures; in addition,
> it no longer hangs in the g++ tests (perhaps because the hanging test
> fails instead).
The failures are because the shared library is not found. This is
arguably a bug in "make check" -- it hasn't been fixed so far because
multilibs makes it complex.
You need to put the directory that has the just-built libstdc++.so first
on your LD_LIBRARY_PATH before running the tests. This is
$srcdir/libraries/libstdc++
where srcdir is the directory where you unpacked the distribution.
Jeff, if you're working on a FAQ, this is an item for it.