From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 46233 invoked by alias); 27 Jun 2017 17:55:06 -0000 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 Received: (qmail 46206 invoked by uid 89); 27 Jun 2017 17:55:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 27 Jun 2017 17:55:04 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=svr-ies-mbx-01.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1dPuha-0003jg-U7 from joseph_myers@mentor.com for gcc-patches@gcc.gnu.org; Tue, 27 Jun 2017 10:55:02 -0700 Received: from digraph.polyomino.org.uk (137.202.0.87) by svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Tue, 27 Jun 2017 18:55:00 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.86_2) (envelope-from ) id 1dPuhU-0004ZU-Jd for gcc-patches@gcc.gnu.org; Tue, 27 Jun 2017 17:54:56 +0000 Date: Tue, 27 Jun 2017 17:55:00 -0000 From: Joseph Myers To: Subject: Re: Use ucontext_t not struct ucontext in linux-unwind.h files In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-SW-Source: 2017-06/txt/msg02090.txt.bz2 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