This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/12462] New: gcc-3.3.1 can't build shared library with libstdc++.a
- From: "bs at okyz dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Sep 2003 15:03:36 -0000
- Subject: [Bug bootstrap/12462] New: gcc-3.3.1 can't build shared library with libstdc++.a
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12462
Summary: gcc-3.3.1 can't build shared library with libstdc++.a
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bs at okyz dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: hpux11
gcc -shared doesn't work
i want to make a shared library, and i link with the static library libstdc++.a
ld answer me that libstdc++.a isn't position independant code (PIC).
I built gcc.3.3.1 passing with-pic and disable-shared to configure, but the HP
linker still doesn't want to link with libstdc++.a, which isn't a PIC library
for him. (try to compile with +Z)
i have installed the latest ld linker HP patch.