check of 971105 on solaris 2.4, --enable-shared
Joe Buck
jbuck@synopsys.com
Mon Nov 10 17:38:00 GMT 1997
> 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.
More information about the Gcc
mailing list