Recent changes to irix LD_LIBRARY_PATH for running testsuite

Billinghurst, David (CRTS) David.Billinghurst@riotinto.com
Wed Nov 15 17:14:00 GMT 2000


When I run the g++ testsuite on irix6.5 I test both -n32 and -64 ABIs by
setting the environment variables LD_LIBRARYN32_PATH and LD_LIBRARY64_PATH
to the build directories containing the n32 and 64 shared libraries
respectively

then from the top build directory 
	make  RUNTESTFLAGS='--target_board \"unix{,-mabi=64}\"'  check

or from the gcc subdirectory
	

This worked last week but not this week.  g++ execution tests fail as cannot
find libstdc++.so.  I suspect that the V3 changes have broken it.  

What I see is:
	make check-g++ 							OK
	make  RUNTESTFLAGS='--target_board "unix{-mabi=64}"'  check-g++
OK
	make  RUNTESTFLAGS='--target_board "unix{,-mabi=64}"'  check-g++
-mabi=64 tests fail
	make  RUNTESTFLAGS='--target_board "unix{-mabi=64,}"'  check-g++
-mabi=n32 tests fail

>From these symptoms, it seems that the g++ testsuite is setting
LD_LIBRARY_PATH from one of LD_LIBRARYN32_PATH and LD_LIBRARY64_PATH (the
one that is correct for the first tests run) and then clearing both
LD_LIBRARYN32_PATH and LD_LIBRARY64_PATH.  I can't confirm this as I can't
find where it is done.

(Irix6 will use LD_LIBRARYN32_PATH (for -n32) or  LD_LIBRARY64_PATH (for
-64) before using LD_LIBRARY_PATH)

+++++++++++++++++++++++++++++++++++++++++
(Mr) David Billinghurst
Comalco Research Centre
PO Box 316, Thomastown, Vic, Australia, 3074
Phone:	+61 3 9469 0642
FAX:	+61 3 9462 2700
Email:	David.Billinghurst@riotinto.com









More information about the Gcc-bugs mailing list