6243 – testsuite fails almost all tests due to no libintl in LD_LIBRARY_PATH during test. (original) (raw)

When the testsuite is run I get numerous failures after the first 2 tests. Each and everyone fails due to loader being unable to mab libintl.so a similar problem is aparent with boehm-gc - but changing the LD_LIBRARY_PATH variable in its makefile means it can complete the test properly. However I cant work out how I can possibly change the way the LD_LIBRARY_PATH is being modified in the libstdc++-v3 testsuite. i found ld_library_path in one of the main .exp files, but modifying that didnt solve the problem.

Release: 3.2-CVS

Environment: alphaev56-dec-osf4.0d

How-To-Repeat: simply run the testsuite? - maybe theres something odd with my configuration... any additional information I can provide just ask.

Comment 1 Benjamin Kosnik 2003-05-23 03:30:37 UTC

You'll need to add bits like Irix. See

libstdc++-v3/testsuite/lib/libstdc++-v3.dg

-benjamin

Comment 2 tilps 2003-05-25 05:06:32 UTC

I dont think this is the case. LD_LIBRARY_PATH is the correct environment variable, unlike on irix. The issue here is really that LD_LIBRARY_PATH is being replaced rather then prepended too. Therefore the LD_LIBRARY_PATH which i have setup is ignored. Without the existing LD_LIBRRARY_PATH, there is no way for things to succeed as the libraries which gcc depends on, may not be found by the loader. libintl is not a standard library on these machines, I compiled it myself - and as a user without root access, i have set up a fairly extensive set of programs living in my home directory. For this reason I think the testsuite should respect existing LD_LIBRARY_PATH.

I am however recompiling a new copy of gcc for the purposes of testing it again.

Comment 3 Drea Pinski 2003-06-28 04:20:24 UTC

There might be other ones like this on too, I just looked in libstdc++-v3/testsuite/lib/ libstdc++-v3-dg.exp on the mainline (20030628) and it replaces LD_LIBRARY_PATH.

Comment 4 Drea Pinski 2003-06-28 04:22:50 UTC

*** Bug 11257 has been marked as a duplicate of this bug. ***

Comment 5 Drea Pinski 2003-06-28 04:29:47 UTC

The same problem also happens in gcc/testsuite/lib{g++,g77,objc}.exp but it is fixed in libjava/testsuite/lib/libjava.exp, the code from there should be copied to the other ones.

Comment 8 Drea Pinski 2003-12-11 01:21:14 UTC

Fixed in 3.3.3.