From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11963 invoked by alias); 21 May 2014 21:09:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 11914 invoked by uid 48); 21 May 2014 21:08:56 -0000 From: "skunk at iskunk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/58638] libstdc++ builds as non-PIC when --with-pic is specified Date: Wed, 21 May 2014 21:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: skunk at iskunk dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-05/txt/msg01896.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58638 --- Comment #6 from Daniel Richard G. --- (In reply to Jonathan Wakely from comment #4) > > Instead of building GCC with --disable-shared, why not just use > -static-libstdc++ when linking? It was a long time ago that I last tried that, so I can't say for sure, but it was probably that executables were being produced that still had some-or-other GCC shared-runtime dependency. (This GCC instance is being used for production builds, so it's release-engineering considerations uber alles)