make check broken?
Jeffrey A Law
law@cygnus.com
Fri Sep 26 21:24:00 GMT 1997
In message < u9wwk6lx74.fsf@neal.ctd.comsat.com >you write:
> But the complaint was about /usr/lib/libstdc++. I think what may be
> happening is that make check isn't checking the new libstdc++ in egcs,
> but the old one in /usr/lib - possibly because of the use of shared
> libs.
Yup. Adding the right --rpath for the various systems is on my
TODO list. I'm a little behind due to EOQ stuff for Cygnus -- to
make matters worse I'll be on vacation the tail end of next week.
> Maybe the test programs need to be built with -rpath set to pick up
> the new libraries?
Basically yes, though the details are a little more complex because
different systems need different arguments.
I think the way to go is to put the magic argument into the
board_info structure (see dejagnu/baseboards/*.exp for examples of
how to add stuff to the board_info structure).
We then tweak libg++_link_flags and libstdc++_link_flags
(dejagnu/lib/libgloss.exp) to use the flag & add the dirname as
needed.
I don't think the change would be all that difficult to implement;
I just don't forsee having the time for a few more weeks. If
someone wanted to take the lead on this it would be greatly
appreciated.
jeff
More information about the Gcc
mailing list