This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [libstdc++] Use LD_RUN_PATH when linking abi_check


Phil Edwards writes:

> I was hoping to find a solution that would continue to permit easy execution
> of the abi_check binary by hand, where "easy" == "as little command-line
> fiddling as possible".  Oh well.

Certainly reasonable: I had to fiddle with LD_LIBRARY_PATH myself when
trying to manually run abi_check.

> Changing the Makefile to use LD_LIBRARY_PATH is easy enough.  The patch
> below works on a typical x86/linux setup.  What would need to change to
> support the N32/N64 stuff?

Have a look at libstdc++-v3/testsuite/lib/libstdc++-v3-dg.exp
(libstdc++-v3-init): setting LD_LIBRARYN32_PATH and LD_LIBRARY64_PATH to
the same value (and probably SHLIB_PATH for HP-UX) should be enough.

Speaking of LD_LIBRARY64_PATH: make check-abi currently doesn't cater for
multilibbed systems like Solaris 8 and IRIX 6.  I suggest placing
baseline_symbols.txt in the corresponding subdirs of config/abi (like
sparc-sun-solaris2.8/sparcv9 and mips-sgi-irix6.5/mabi=64) and running
abi_check for every multilib.  I'm low on time for gcc hacking lately, so I
haven't yet figured out how to do so.

	Rainer


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