This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add --with-static-standard-libraries to the top level
- From: Jeff Law <law at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Jonathan Wakley <jwakely at redhat dot com>
- Date: Thu, 8 Aug 2019 14:53:44 -0600
- Subject: Re: [PATCH] Add --with-static-standard-libraries to the top level
- References: <87y307bidk.fsf@tromey.com>
On 8/5/19 12:02 PM, Tom Tromey wrote:
> gdb should normally not be linked with -static-libstdc++. Currently
> this has not caused problems, but it's incompatible with catching an
> exception thrown from a shared library -- and a subsequent patch
> changes gdb to do just this.
>
> This patch adds a new --with-static-standard-libraries flag to the
> top-level configure. It defaults to "auto", which means enabled if
> gcc is being built, and disabled otherwise.
>
> Tom
>
> 2019-07-27 Tom Tromey <tom@tromey.com>
>
> * configure: Rebuild.
> * configure.ac: Add --with-static-standard-libraries.
Deferring to Jon.
It might be worth reviewing:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56750
And this thread:
> https://gcc.gnu.org/ml/gcc-patches/2018-02/msg00403.html
While I NAK'd Aldy's patch in the email thread, if Jon thinks we should
have this capability I won't object.
jeff