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]

Re: check of 971105 on solaris 2.4, --enable-shared



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


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