Shared C++ library bug under HP-UX 11

Alexandre Oliva oliva@lsd.ic.unicamp.br
Wed Dec 8 01:31:00 GMT 1999


On Dec  7, 1999, "David M. Johnson" <davidj@haht.com> wrote:

> I built g++ with --enable-shared and with binutils
> 2.9.1, but when I try to build a shared C++ library
> I get an error message like this:

>    /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/libstdc++.a(iostream.o)
>    - shared library must be position independent.  Use +z or +Z to
> recompile.

Check whether libstdc++.sl was really built and installed; that's the
shared version of libstdc++, that should have been found.  But beware
that HP-UX 11 isn't really supported in gcc 2.95.2

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them



More information about the Gcc-bugs mailing list