This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
v3 testsuite failures under hpux--setlocale dependency on libdld.sl
- To: libstdc++ at gcc dot gnu dot org
- Subject: v3 testsuite failures under hpux--setlocale dependency on libdld.sl
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Sat, 19 May 2001 00:52:36 -0400 (EDT)
I am experiencing many v3 testsuite failures with `-static'. I believe
that this is due to the dependency of setlocale on libdld.sl (shl_load,
etc).
Executing on host: /xxx/gnu/gcc-3.0/objdir/gcc/g++ -B/xxx/gnu/gcc-3.0/objdir/gcc/ -nostdinc++ -L/xxx/gnu/gcc-3.0/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/src -L/xxx/gnu/gcc-3.0/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/src/.libs -B/usr/local/hppa1.1-hp-hpux10.20/bin/ -B/usr/local/hppa1.1-hp-hpux10.20/lib/ -isystem /usr/local/hppa1.1-hp-hpux10.20/include -ggdb3 -DDEBUG_ASSERT -nostdinc++ -I/xxx/gnu/gcc-3.0/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/include -I/xxx/gnu/gcc-3.0/libstdc++-v3/include -I/xxx/gnu/gcc-3.0/libstdc++-v3/include/std -I/xxx/gnu/gcc-3.0/libstdc++-v3/include/c_std -I/xxx/gnu/gcc-3.0/libstdc++-v3/libsupc++ -I/xxx/gnu/gcc-3.0/libstdc++-v3/libio -I/xxx/gnu/gcc-3.0/libstdc++-v3/testsuite -I/xxx/gnu/gcc-3.0/libstdc++-v3/include/backwards -I/xxx/gnu/gcc-3.0/libstdc++-v3/include/ext -static /xxx/gnu/gcc-3.0/libstdc++-v3/testsuite/17_intro/header_iostream.cc -DDEBUG_ASSERT -lm -fPIC -o ./header_iostream (timeout = 300)
/usr/ccs/bin/ld: Unsatisfied symbols:
shl_findsym (code)
shl_load (code)
shl_unload (code)
collect2: ld returned 1 exit status
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.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)