From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27324 invoked by alias); 30 Sep 2003 15:03:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 27316 invoked by uid 48); 30 Sep 2003 15:03:36 -0000 Date: Tue, 30 Sep 2003 15:43:00 -0000 From: "bs at okyz dot com" To: gcc-bugs@gcc.gnu.org Message-ID: <20030930150333.12462.bs@okyz.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug bootstrap/12462] New: gcc-3.3.1 can't build shared library with libstdc++.a X-Bugzilla-Reason: CC X-SW-Source: 2003-09/txt/msg02343.txt.bz2 List-Id: 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.