On Fri, Mar 16, 2012 at 11:04:45AM +0100, Bernhard Reutner-Fischer wrote: >The underlying problem is that dejagnu's runtest.exp only allows for a >single "libdir" where it searches for includes -- see comment in >libgomp.exp and libitm.exp > >While just adding more and more load_gcc_lib calls to users outside of >gcc/ is the easy way out, it is (IMHO) error prone (i ran make check >just in gcc and not in toplevel, fixed my script now). > >It would be desirable if dejagnu would just find all the currently >load_gcc_lib'ed files on its own, via load_lib. >One could >- teach dejagnu to treat libdir as a list of paths The attached works for me for a toplevel make -k check (double-checked with individual make check in lib{gomp,itm}). I do not intend to pursue this any further.