public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Biener <richard.guenther@gmail.com>
To: Dave Korn <dave.korn.cygwin@gmail.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>, Jakub Jelinek <jakub@redhat.com>
Subject: Re: [PATCH][4.8][4.7][4.6] Make -shared-libgcc the default on Cygwin.
Date: Tue, 12 Mar 2013 08:59:00 -0000	[thread overview]
Message-ID: <CAFiYyc3MeOpkhwNZoLouny6qbW9PVaTkn6-u-o1PuTKpKkvc=A@mail.gmail.com> (raw)
In-Reply-To: <513E8877.7070606@gmail.com>

On Tue, Mar 12, 2013 at 2:44 AM, Dave Korn <dave.korn.cygwin@gmail.com> 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  <dave.korn.cygwin@....>
>
>         * 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
>
>
>

  reply	other threads:[~2013-03-12  8:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-12  1:42 Dave Korn
2013-03-12  8:59 ` Richard Biener [this message]
2013-03-13 15:27   ` Dave Korn
2013-08-18 12:14     ` Gerald Pfeifer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFiYyc3MeOpkhwNZoLouny6qbW9PVaTkn6-u-o1PuTKpKkvc=A@mail.gmail.com' \
    --to=richard.guenther@gmail.com \
    --cc=dave.korn.cygwin@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jakub@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).