summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorTreeve Jelbert2022-08-19 12:38:43 +0200
committerTreeve Jelbert2022-08-19 12:38:43 +0200
commitb11aa321f784f9f6b953d4da56c315501d3efad3 (patch)
tree20258b1e17f3c4e69e4a443e3c737b9680451418 /gnu
parentbbe4e6c10319193d53c8b7a941e70f5eca74f83b (diff)
gcc: => 12.2.0
Diffstat (limited to 'gnu')
-rwxr-xr-xgnu/gcc/DETAILS2
-rw-r--r--gnu/gcc/HISTORY4
-rw-r--r--gnu/gcc/patches/0042-Fix-attempt-to-use-poisoned-calloc-error-in-libgccji.patch101
3 files changed, 5 insertions, 102 deletions
diff --git a/gnu/gcc/DETAILS b/gnu/gcc/DETAILS
index 82bb12f252..5b4bffd71b 100755
--- a/gnu/gcc/DETAILS
+++ b/gnu/gcc/DETAILS
@@ -1,5 +1,5 @@
SPELL=gcc
- VERSION=12.1.0
+ VERSION=12.2.0
ISL_VERSION=0.24
BASE_SOURCE_URL="https://ftp.gnu.org/pub/gnu/gcc/gcc-$VERSION"
SOURCE=gcc-$VERSION.tar.xz
diff --git a/gnu/gcc/HISTORY b/gnu/gcc/HISTORY
index 4264981ed7..32bfb1a471 100644
--- a/gnu/gcc/HISTORY
+++ b/gnu/gcc/HISTORY
@@ -1,3 +1,7 @@
+2022-08-19 Treeve Jelbert <treeve@sourcemage.org>
+ * DETAILS: version 12.2.0
+ * 0042-Fix-attempt-to-use-poisoned-calloc-error-in-libgccji.patch: deleted
+
2022-06-02 Ismael Luceno <ismael@sourcemage.org>
* BUILD, PRE_BUILD,
0001-musl-always-use--lib--directory-for-all-x86_64-ABIs.patch,
diff --git a/gnu/gcc/patches/0042-Fix-attempt-to-use-poisoned-calloc-error-in-libgccji.patch b/gnu/gcc/patches/0042-Fix-attempt-to-use-poisoned-calloc-error-in-libgccji.patch
deleted file mode 100644
index 83a62f2888..0000000000
--- a/gnu/gcc/patches/0042-Fix-attempt-to-use-poisoned-calloc-error-in-libgccji.patch
+++ /dev/null
@@ -1,101 +0,0 @@
-From 72f32e3383129ad139df76d9a063fac9b03079b1 Mon Sep 17 00:00:00 2001
-From: Alex McGrath <amk@amk.ie>
-Date: Wed, 13 Oct 2021 23:24:27 +0100
-Subject: [PATCH] Fix attempt to use poisoned calloc error in libgccjit
-
-This moves usages of pthread.h to above any usage of system.h as it
-included #pragma GCC poison calloc
-
-Origin: Alpine Linux
-Ref: https://git.alpinelinux.org/aports/plain/main/gcc/0042-Fix-attempt-to-use-poisoned-calloc-error-in-libgccji.patch
-Ref: https://bugs.gentoo.org/828580
-Ref: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104799
-Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
-
----
- gcc/jit/jit-playback.cc | 4 ++--
- gcc/jit/jit-recording.cc | 4 ++--
- gcc/jit/libgccjit.cc | 3 ++-
- libcc1/libcc1plugin.cc | 1 +
- libcc1/libcp1plugin.cc | 1 +
- 5 files changed, 8 insertions(+), 5 deletions(-)
-
---- a/gcc/jit/jit-playback.cc
-+++ b/gcc/jit/jit-playback.cc
-@@ -18,6 +18,8 @@ You should have received a copy of the GNU General Public License
- along with GCC; see the file COPYING3. If not see
- <http://www.gnu.org/licenses/>. */
-
-+#include <pthread.h>
-+
- #include "config.h"
- #include "system.h"
- #include "coretypes.h"
-@@ -41,8 +43,6 @@ along with GCC; see the file COPYING3. If not see
- #include "diagnostic.h"
- #include "stmt.h"
-
--#include <pthread.h>
--
- #include "jit-playback.h"
- #include "jit-result.h"
- #include "jit-builtins.h"
---- a/gcc/jit/jit-recording.cc
-+++ b/gcc/jit/jit-recording.cc
-@@ -18,6 +18,8 @@ You should have received a copy of the GNU General Public License
- along with GCC; see the file COPYING3. If not see
- <http://www.gnu.org/licenses/>. */
-
-+#include <pthread.h>
-+
- #include "config.h"
- #include "system.h"
- #include "coretypes.h"
-@@ -25,8 +27,6 @@ along with GCC; see the file COPYING3. If not see
- #include "pretty-print.h"
- #include "toplev.h"
-
--#include <pthread.h>
--
- #include "jit-builtins.h"
- #include "jit-recording.h"
- #include "jit-playback.h"
---- a/gcc/jit/libgccjit.cc
-+++ b/gcc/jit/libgccjit.cc
-@@ -18,13 +18,14 @@ You should have received a copy of the GNU General Public License
- along with GCC; see the file COPYING3. If not see
- <http://www.gnu.org/licenses/>. */
-
-+#include <pthread.h>
-+
- #include "config.h"
- #include "system.h"
- #include "coretypes.h"
- #include "timevar.h"
- #include "typed-splay-tree.h"
- #include "cppbuiltin.h"
--#include <pthread.h>
-
- #include "libgccjit.h"
- #include "jit-recording.h"
---- a/libcc1/libcc1plugin.cc
-+++ b/libcc1/libcc1plugin.cc
-@@ -17,6 +17,7 @@
- along with GCC; see the file COPYING3. If not see
- <http://www.gnu.org/licenses/>. */
-
-+#include <pthread.h>
- #include <cc1plugin-config.h>
-
- #undef PACKAGE_NAME
---- a/libcc1/libcp1plugin.cc
-+++ b/libcc1/libcp1plugin.cc
-@@ -18,6 +18,7 @@
- along with GCC; see the file COPYING3. If not see
- <http://www.gnu.org/licenses/>. */
-
-+#include <pthread.h>
- #include <cc1plugin-config.h>
-
- #undef PACKAGE_NAME
-