From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52070 invoked by alias); 28 Jun 2017 07:31:29 -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 52054 invoked by uid 89); 28 Jun 2017 07:31:27 -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,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: mail-wr0-f176.google.com Received: from mail-wr0-f176.google.com (HELO mail-wr0-f176.google.com) (209.85.128.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 28 Jun 2017 07:31:26 +0000 Received: by mail-wr0-f176.google.com with SMTP id 77so169873298wrb.1 for ; Wed, 28 Jun 2017 00:31:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=XAMHjlAefSdITo1TCu8hwVP/u6agANXyhWFCAohPi1E=; b=TtkFvG1tdUVCYE8thAvZ9+dN6f9zHAce4NZxcJan5H9D7+pjpRqWWaJEyFKPHl6gj7 jrLqMCiun34iJtlf67/7J6G8z/q+Npxxu63Ie87YDW+iz2kSdjjPTVEsSnx4PeBb2MIZ xN0xeVo1mA331KaVxsJoJOxMducsBBEAe0EyP3jePQVVQegvXsk/jTqYHUzqJG4A1nKB oIYhmIc3eyLJTafDRFw4ycQ6XmGg1KJewIjeLt1l4uxa7Ofnyx9yiZCM2h6o4o54zTLY BUu9GQhWmRDi9JVb5GpZWl+MasBHqS964dWinshWHQqMdD3qyUIrkPt6BFzrUAhS0LrX 6yPA== X-Gm-Message-State: AKS2vOzO5UzThIiJTp2RyPLTUpWo9IqBdQV5ufpB3/dRQIYLue5c51bx UnkIvrl4+A9yaAdYOyEqJPJ4AIkEzg== X-Received: by 10.223.138.167 with SMTP id y36mr19607323wry.93.1498635084704; Wed, 28 Jun 2017 00:31:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.111.196 with HTTP; Wed, 28 Jun 2017 00:31:24 -0700 (PDT) In-Reply-To: References: From: Richard Biener Date: Wed, 28 Jun 2017 07:31:00 -0000 Message-ID: Subject: Re: Use ucontext_t not struct ucontext in linux-unwind.h files To: Joseph Myers Cc: GCC Patches Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg02118.txt.bz2 On Tue, Jun 27, 2017 at 7:54 PM, Joseph Myers wrote: > 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? Ok to commit to trunk. Please wait for a while before backporting to catch non-glibc and ancient glibc issues. Thanks, Richard. > 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