v3 testsuite failures under hpux--setlocale dependency on libdld.sl
Benjamin Kosnik
bkoz@redhat.com
Tue May 22 12:24:00 GMT 2001
> HP recommends linking with the following linker options in this situation:
>
> -Wl,-E -Wl,+n -l:libdld.sl
>
> I think this probably has to follow `-lc'. I need a suggestion on how
> to implement this in the testsuite.
Specifying LIB dependencies in the libstdc++ testsuite is a rats nest of
problems involving linking order, libraries to link, and special flags.
The current approach is to specify the libstdc++ '-L' flags only: ie
where the new libraries are located. This, plus using g++ instead of gcc,
means that linkage will happen in whatever way that an installed
compiler would find libraries.
So, perhaps you'll have to make g++ on HPUX link in this special library
for all C++ linkage.
-benjamin
More information about the Libstdc++
mailing list