public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@redhat.com>
To: Richard Henderson <rth@redhat.com>
Cc: "H.J. Lu" <hjl.tools@gmail.com>,
	Ian Lance Taylor <iant@google.com>,
	       Ulrich Weigand <uweigand@de.ibm.com>,
	       Andrew Pinski <pinskia@gmail.com>,
	       GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: PATCH: PR other/48007: Unwind library doesn't work with UNITS_PER_WORD > sizeof (void *)
Date: Wed, 23 Mar 2011 19:17:00 -0000	[thread overview]
Message-ID: <20110323191737.GR18914@tyan-ft48-01.lab.bos.redhat.com> (raw)
In-Reply-To: <4D8A4391.9000400@redhat.com>

On Wed, Mar 23, 2011 at 12:01:37PM -0700, Richard Henderson wrote:
> Guh.  The entire point of making _Unwind_Context opaque, and inventing libgcc_s,
> was so that we didn't have to think about these things.  There's one and only one
> copy of the unwind library and all uses of the structure are through accessors.
> I hate hate hate that I got the export thing wrong at the very beginning.

I think the situation now is much better than it used to be when
libgcc_s/libgcc_eh was added, at that point there was no --as-needed support
and we wanted to avoid linking -lgcc_s into every program when it didn't
actually need it.  So currently that is mostly compatibility with very old
stuff or with people doing weird things (e.g. linking -lgcc_eh in), or
with people on less capable targets, or if we were to add new _Unwind_*
entrypoints (e.g. _Unwind_GETIPInfo was problematic, as older unwinder
implementations didn't have that symbol and thus it could be picked from
a different unwinder that had it).

	Jakub

  reply	other threads:[~2011-03-23 19:17 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-06 17:18 H.J. Lu
2011-03-06 21:15 ` Andrew Pinski
2011-03-06 21:28   ` H.J. Lu
2011-03-06 23:23     ` Richard Guenther
2011-03-06 23:40       ` H.J. Lu
2011-03-07  0:15         ` H.J. Lu
2011-03-14 17:49           ` H.J. Lu
2011-03-21 21:56 ` Ian Lance Taylor
2011-03-22  4:19   ` H.J. Lu
2011-03-22  6:32     ` Ian Lance Taylor
2011-03-22 15:19       ` Ulrich Weigand
2011-03-22 15:41         ` Jakub Jelinek
2011-03-22 16:42           ` Ian Lance Taylor
2011-03-22 16:52             ` Andrew Pinski
2011-03-22 18:58               ` Ian Lance Taylor
2011-03-22 19:30                 ` Ulrich Weigand
2011-03-22 22:18                   ` Ian Lance Taylor
2011-03-23  3:25                     ` H.J. Lu
2011-03-23  4:53                       ` Ian Lance Taylor
2011-03-23  5:01                         ` H.J. Lu
2011-03-23 13:58                           ` Ian Lance Taylor
2011-03-23 17:50                           ` Richard Henderson
2011-03-23 18:04                             ` Jakub Jelinek
2011-03-23 18:20                               ` Richard Henderson
2011-03-23 18:24                                 ` H.J. Lu
2011-03-23 18:27                                   ` Richard Henderson
2011-03-23 18:37                                 ` Jakub Jelinek
2011-03-23 19:01                                   ` Richard Henderson
2011-03-23 19:17                                     ` Jakub Jelinek [this message]
2011-03-23 19:22                                     ` Ulrich Weigand
2011-03-24  7:15                                       ` H.J. Lu
2011-04-10  1:52                                         ` H.J. Lu

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=20110323191737.GR18914@tyan-ft48-01.lab.bos.redhat.com \
    --to=jakub@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=hjl.tools@gmail.com \
    --cc=iant@google.com \
    --cc=pinskia@gmail.com \
    --cc=rth@redhat.com \
    --cc=uweigand@de.ibm.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).