http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46607
--- Comment #8 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-01-25 16:55:18 UTC --- On Tue, 25 Jan 2011, rwild at gcc dot gnu.org wrote: > But there is a good reason to relink on ELF: uninstalled libraries and > executables get DT_RPATH entries against uninstalled libraries they depend on, > so that uninstalled programs can be executed in a test suite before installing > the libraries they depend on. Removing (or replacing) those DT_RPATH entries > is the point of relinking. That GCC takes care of the uninstalled paths in > some other way as well is something libtool cannot know. Of course it can know - it just needs an appropriate way for GCC to inform libtool that the GCC testsuites take care of library paths.