From: Joseph Myers <joseph@codesourcery.com>
To: <gcc-patches@gcc.gnu.org>
Subject: Re: Use ucontext_t not struct ucontext in linux-unwind.h files
Date: Tue, 27 Jun 2017 17:55:00 -0000 [thread overview]
Message-ID: <alpine.DEB.2.20.1706271754071.18823@digraph.polyomino.org.uk> (raw)
In-Reply-To: <alpine.DEB.2.20.1706271356170.15648@digraph.polyomino.org.uk>
On Tue, 27 Jun 2017, Joseph Myers wrote:
> Current glibc no longer gives the ucontext_t type the tag struct
> ucontext, to conform with POSIX namespace rules. This requires
> various linux-unwind.h files in libgcc, that were previously using
> struct ucontext, to be fixed to use ucontext_t instead. This is
> similar to the removal of the struct siginfo tag from siginfo_t some
> years ago.
>
> This patch changes those files to use ucontext_t instead. As the
> standard name that should be unconditionally safe, so this is not
> restricted to architectures supported by glibc, or conditioned on the
> glibc version.
>
> Testing compilation together with current glibc with glibc's
> build-many-glibcs.py. OK to commit (mainline and active release
> branches) if that passes?
That compilation testing has now passed (together with a couple of glibc
patches, now committed, to fix the build with -Wmultistatement-macros).
--
Joseph S. Myers
joseph@codesourcery.com
next prev parent reply other threads:[~2017-06-27 17:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-27 13:57 Joseph Myers
2017-06-27 17:55 ` Joseph Myers [this message]
2017-06-28 7:31 ` Richard Biener
2017-07-10 8:42 ` Andreas Schwab
2017-07-10 10:58 ` Joseph Myers
2017-07-10 11:02 ` Andreas Schwab
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=alpine.DEB.2.20.1706271754071.18823@digraph.polyomino.org.uk \
--to=joseph@codesourcery.com \
--cc=gcc-patches@gcc.gnu.org \
/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).