From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17620 invoked by alias); 12 Mar 2013 08:59:52 -0000 Received: (qmail 17611 invoked by uid 22791); 12 Mar 2013 08:59:51 -0000 X-SWARE-Spam-Status: No, hits=-5.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-wg0-f43.google.com (HELO mail-wg0-f43.google.com) (74.125.82.43) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 Mar 2013 08:59:37 +0000 Received: by mail-wg0-f43.google.com with SMTP id e12so5704819wge.34 for ; Tue, 12 Mar 2013 01:59:36 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.194.178.9 with SMTP id cu9mr24856039wjc.39.1363078776647; Tue, 12 Mar 2013 01:59:36 -0700 (PDT) Received: by 10.194.56.100 with HTTP; Tue, 12 Mar 2013 01:59:36 -0700 (PDT) In-Reply-To: <513E8877.7070606@gmail.com> References: <513E8877.7070606@gmail.com> Date: Tue, 12 Mar 2013 08:59:00 -0000 Message-ID: Subject: Re: [PATCH][4.8][4.7][4.6] Make -shared-libgcc the default on Cygwin. From: Richard Biener To: Dave Korn Cc: GCC Patches , Jakub Jelinek Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2013-03/txt/msg00427.txt.bz2 On Tue, Mar 12, 2013 at 2:44 AM, Dave Korn wrote: > > Hello list, > > The attached patch makes -shared-libgcc the default for Cygwin. This is > something that I should have done some time ago, as shared libgcc on Cygwin is > more than mature. What's more, it is vital for reliable compilation of > applications that throw exceptions or share TLS variables from DLLs into the > main executable; at present these compile incorrectly without an explicit > -shared-libgcc. For instance, the just-released MPFR-3.1.2 doesn't work > without it. > > Given that it's a very simple tweak to the compiler specs on a single > platform only, I would like to use my target maintainer's discretion to apply > it even at this late stage, but I figure it's so close to RC1 that I should > ask the RM's permission anyway. > > I'd also like to backport it to all the currently-open branches. > > gcc/ChangeLog > > 2013-03-12 Dave Korn > > * config/i386/cygwin.h (SHARED_LIBGCC_SPEC): Make shared libgcc the > default setting. > > Is this OK by everyone? Ok for trunk (4.8). Please add a documentation entry to gcc-4.8/changes.html. I'm not sure whether this kind of stuff should change on a release branch, I'll defer to others for this. Still, if you backport it, add a gcc-4.x/changes.html item to the sub-release sections. Richard. > cheers, > DaveK > > >