gcc: Add 12.3.0

Add gcc 12.3.0 and regenerate patches against the new version.

https://gcc.gnu.org/pipermail/gcc-announce/2023/000176.html
https://gcc.gnu.org/gcc-12/changes.html

Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
Chris Packham 2023-05-09 20:14:51 +12:00
parent 2282a97e3c
commit 8e55ab0607
14 changed files with 21 additions and 21 deletions

View File

@ -1,8 +0,0 @@
md5 gcc-12.2.0.tar.xz 73bafd0af874439dcdb9fc063b6fb069
sha1 gcc-12.2.0.tar.xz 5dce6dc0091b8049b530d1587513a07201691760
sha256 gcc-12.2.0.tar.xz e549cf9cf3594a00e27b6589d4322d70e0720cdd213f39beb4181e06926230ff
sha512 gcc-12.2.0.tar.xz e9e857bd81bf7a370307d6848c81b2f5403db8c7b5207f54bce3f3faac3bde63445684092c2bc1a2427cddb6f7746496d9fbbef05fbbd77f2810b2998f1f9173
md5 gcc-12.2.0.tar.gz d7644b494246450468464ffc2c2b19c3
sha1 gcc-12.2.0.tar.gz 528e27c3c4a0bb9b13ee2a4c53bb1cf048fc1fe4
sha256 gcc-12.2.0.tar.gz ac6b317eb4d25444d87cf29c0d141dedc1323a1833ec9995211b13e1a851261c
sha512 gcc-12.2.0.tar.gz 36ab2267540f205b148037763b3806558e796d564ca7831799c88abcf03393c6dc2cdc9d53e8f094f6dc1245e47a406e1782604eb9d119410d406032f59c1544

View File

@ -21,7 +21,7 @@ Signed-off-by: Keith Packard <keithp@keithp.com>
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -648,6 +648,8 @@
@@ -652,6 +652,8 @@
# Common C libraries.
tm_defines="$tm_defines LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3 LIBC_MUSL=4"
@ -30,7 +30,7 @@ Signed-off-by: Keith Packard <keithp@keithp.com>
# 32-bit x86 processors supported by --with-arch=. Each processor
# MUST be separated by exactly one space.
x86_archs="athlon athlon-4 athlon-fx athlon-mp athlon-tbird \
@@ -854,16 +856,16 @@
@@ -857,16 +859,16 @@
esac
case $target in
*-*-*android*)
@ -51,7 +51,7 @@ Signed-off-by: Keith Packard <keithp@keithp.com>
;;
esac
# Assume that glibc or uClibc or Bionic are being used and so __cxa_atexit
@@ -956,7 +958,8 @@
@@ -959,7 +961,8 @@
case ${enable_threads} in
"" | yes | posix) thread_file='posix' ;;
esac
@ -61,7 +61,7 @@ Signed-off-by: Keith Packard <keithp@keithp.com>
;;
*-*-rdos*)
use_gcc_stdint=wrap
@@ -1606,13 +1609,13 @@
@@ -1609,13 +1612,13 @@
case ${target} in
csky-*-linux-gnu*)
@ -77,7 +77,7 @@ Signed-off-by: Keith Packard <keithp@keithp.com>
default_use_cxa_atexit=no
;;
*)
@@ -3065,7 +3068,7 @@
@@ -3068,7 +3071,7 @@
tmake_file="${tmake_file} t-linux rs6000/t-linux64 rs6000/t-fprules rs6000/t-ppccomm"
tmake_file="${tmake_file} rs6000/t-vxworks"
@ -86,7 +86,7 @@ Signed-off-by: Keith Packard <keithp@keithp.com>
extra_objs="$extra_objs linux.o rs6000-linux.o"
;;
powerpc-wrs-vxworks*)
@@ -5915,3 +5918,32 @@
@@ -5925,3 +5928,32 @@
fi
;;
esac
@ -121,7 +121,7 @@ Signed-off-by: Keith Packard <keithp@keithp.com>
+esac
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -2481,6 +2481,10 @@
@@ -2476,6 +2476,10 @@
fi
AC_SUBST(inhibit_libc)

View File

@ -40,7 +40,7 @@ Signed-off-by: Keith Packard <keithp@keithp.com>
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -33776,17 +33776,21 @@
@@ -33793,17 +33793,21 @@
@table @code
@item @code{getenv}
@ -71,7 +71,7 @@ Signed-off-by: Keith Packard <keithp@keithp.com>
The @code{if-exists} spec function takes one argument, an absolute
--- a/gcc/gcc.cc
+++ b/gcc/gcc.cc
@@ -10194,12 +10194,20 @@
@@ -10167,12 +10167,20 @@
char *ptr;
size_t len;

View File

@ -10,7 +10,7 @@ Signed-off-by: Keith Packard <keithp@keithp.com>
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -646,7 +646,7 @@
@@ -650,7 +650,7 @@
esac
# Common C libraries.
@ -19,7 +19,7 @@ Signed-off-by: Keith Packard <keithp@keithp.com>
default_libc=""
@@ -5932,6 +5932,15 @@
@@ -5942,6 +5942,15 @@
musl)
default_libc=LIBC_MUSL
;;

View File

@ -13,7 +13,7 @@ Signed-off-by: Keith Packard <keithp@keithp.com>
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1082,6 +1082,17 @@
@@ -1085,6 +1085,17 @@
;;
esac
;;

View File

@ -20,7 +20,7 @@ Signed-off-by: Keith Packard <keithp@keithp.com>
--- a/gcc/cp/Make-lang.in
+++ b/gcc/cp/Make-lang.in
@@ -68,7 +68,12 @@
@@ -77,7 +77,12 @@
endif
# Create the compiler driver for g++.

8
packages/gcc/12.3.0/chksum vendored Normal file
View File

@ -0,0 +1,8 @@
md5 gcc-12.3.0.tar.xz 58a863b2a50e4d42eacc20fec419bc3b
sha1 gcc-12.3.0.tar.xz 85d66f058688db1e18545b6c4cf67ecc83d3b7eb
sha256 gcc-12.3.0.tar.xz 949a5d4f99e786421a93b532b22ffab5578de7321369975b91aec97adfda8c3b
sha512 gcc-12.3.0.tar.xz 8fb799dfa2e5de5284edf8f821e3d40c2781e4c570f5adfdb1ca0671fcae3fb7f794ea783e80f01ec7bfbf912ca508e478bd749b2755c2c14e4055648146c204
md5 gcc-12.3.0.tar.gz 6506e4cea6b9eed3c13cd13e5b4dc7c3
sha1 gcc-12.3.0.tar.gz 9ba0d3b1009ad7a3e1a8f5cc99ad9c6cb4318db9
sha256 gcc-12.3.0.tar.gz 11275aa7bb34cd8ab101d01b341015499f8d9466342a2574ece93f954d92273b
sha512 gcc-12.3.0.tar.gz 3affe905593e8c64a916a59d4410d9bdf718a2b211ae5a6c7c66af9eed11da0869f4c30d12a5ebba1363f2f809d10ae4cb7aeaac27e3f70f8585c6593773d856