From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3ED7B138334 for ; Sat, 15 Sep 2018 18:46:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3049CE0BB7; Sat, 15 Sep 2018 18:46:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E1C04E0BB7 for ; Sat, 15 Sep 2018 18:46:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E6FDA335CD7 for ; Sat, 15 Sep 2018 18:46:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 14C883A1 for ; Sat, 15 Sep 2018 18:46:37 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1537037148.57827a2dbb31f225eaeb61a296fdbf0d49c88dc5.slyfox@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: 3.3.6/gentoo/ X-VCS-Repository: proj/gcc-patches X-VCS-Files: 3.3.6/gentoo/89_all_gcc-3.3.x-ucontext.patch 3.3.6/gentoo/README.history X-VCS-Directories: 3.3.6/gentoo/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 57827a2dbb31f225eaeb61a296fdbf0d49c88dc5 X-VCS-Branch: master Date: Sat, 15 Sep 2018 18:46:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4b7cc439-c763-4968-96c1-1f898f8af2fb X-Archives-Hash: d226d8bc06474dbf1579cce5ae9efae9 commit: 57827a2dbb31f225eaeb61a296fdbf0d49c88dc5 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Sep 15 18:45:48 2018 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Sep 15 18:45:48 2018 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=57827a2d 3.3.6: Fix for removal of struct ucontext in glibc 2.26 Fix by Christian Schmidt. Bug: https://bugs.gentoo.org/664486 Signed-off-by: Sergei Trofimovich gentoo.org> 3.3.6/gentoo/89_all_gcc-3.3.x-ucontext.patch | 58 ++++++++++++++++++++++++++++ 3.3.6/gentoo/README.history | 2 + 2 files changed, 60 insertions(+) diff --git a/3.3.6/gentoo/89_all_gcc-3.3.x-ucontext.patch b/3.3.6/gentoo/89_all_gcc-3.3.x-ucontext.patch new file mode 100644 index 0000000..dd5bfe9 --- /dev/null +++ b/3.3.6/gentoo/89_all_gcc-3.3.x-ucontext.patch @@ -0,0 +1,58 @@ +Fix for removal of struct ucontext in glibc 2.26 + +Fix by Christian Schmidt. + +Bug: https://bugs.gentoo.org/664486 +--- a/gcc/config/alpha/linux.h ++++ b/gcc/config/alpha/linux.h +@@ -89,7 +89,7 @@ Boston, MA 02111-1307, USA. */ + { \ + struct rt_sigframe { \ + siginfo_t info; \ +- struct ucontext uc; \ ++ ucontext_t uc; \ + } *rt_ = (CONTEXT)->cfa; \ + sc_ = &rt_->uc.uc_mcontext; \ + } \ +--- a/gcc/config/i386/linux.h ++++ b/gcc/config/i386/linux.h +@@ -260,7 +260,7 @@ Boston, MA 02111-1307, USA. */ + siginfo_t *pinfo; \ + void *puc; \ + siginfo_t info; \ +- struct ucontext uc; \ ++ ucontext_t uc; \ + } *rt_ = (CONTEXT)->cfa; \ + sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \ + } \ +--- a/gcc/config/i386/linux64.h ++++ b/gcc/config/i386/linux64.h +@@ -112,7 +112,7 @@ Boston, MA 02111-1307, USA. */ + if (*(unsigned char *)(pc_+0) == 0x48 \ + && *(unsigned long *)(pc_+1) == 0x050f0000000fc0c7) \ + { \ +- struct ucontext *uc_ = (CONTEXT)->cfa; \ ++ ucontext_t *uc_ = (CONTEXT)->cfa; \ + sc_ = (struct sigcontext *) &uc_->uc_mcontext; \ + } \ + else \ +@@ -182,7 +182,7 @@ Boston, MA 02111-1307, USA. */ + siginfo_t *pinfo; \ + void *puc; \ + siginfo_t info; \ +- struct ucontext uc; \ ++ ucontext_t uc; \ + } *rt_ = (CONTEXT)->cfa; \ + sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \ + } \ +--- a/gcc/config/rs6000/linux.h ++++ b/gcc/config/rs6000/linux.h +@@ -101,7 +101,7 @@ Boston, MA 02111-1307, USA. */ + + struct kernel_old_ucontext { + unsigned long uc_flags; +- struct ucontext *uc_link; ++ ucontext_t *uc_link; + stack_t uc_stack; + struct sigcontext_struct uc_mcontext; + sigset_t uc_sigmask; diff --git a/3.3.6/gentoo/README.history b/3.3.6/gentoo/README.history index a2b5ae8..bc906b3 100644 --- a/3.3.6/gentoo/README.history +++ b/3.3.6/gentoo/README.history @@ -1,3 +1,5 @@ +1.10 TODO + + 89_all_gcc-3.3.x-ucontext.patch 1.9 06 Apr 2015 R 05_all_gcc-4.3.x-siginfo.patch -> 05_all_gcc-3.3.x-siginfo.patch + 10_all_gcc-3.4.6-c-parse-bison-3.patch