gcc: Add 14.2.0

https://gcc.gnu.org/pipermail/gcc-announce/2024/000184.html

Add the new version clean up the patches.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
Chris Packham 2024-08-02 12:44:52 +12:00
parent 5a1dc8d95d
commit ed12fa6840
15 changed files with 22 additions and 27 deletions

View File

@ -1,8 +0,0 @@
md5 gcc-14.1.0.tar.gz 195a75ef5205a75b6bee49c8fcfc564b
sha1 gcc-14.1.0.tar.gz 2796a00db55368be593f122df38499742216c9bc
sha256 gcc-14.1.0.tar.gz a0be066c02775002a0fa65ad3c65fb56a8bfd923d072a26ed148c0439ecdb68f
sha512 gcc-14.1.0.tar.gz d1ef7c8ba4134e7c64f715665f41eef5af30662352503442241a73772ce03de804ea4ca667353731b67c9fc66bdc2faec2bec3fd3d5bce1826c8ad545698345b
md5 gcc-14.1.0.tar.xz 24195dca80ded5e0551b533f46a4481d
sha1 gcc-14.1.0.tar.xz 0aec8d432b8473559942a45c12459a5db3a04618
sha256 gcc-14.1.0.tar.xz e283c654987afe3de9d8080bc0bd79534b5ca0d681a73a11ff2b5d3767426840
sha512 gcc-14.1.0.tar.xz e9e224f2b26646fcf038d28dfa08b94c623bc57941f99894a321d01c600f7c68aff6b8837fd25e73e540de1f8de5606e98694a62cdcdfb525ce768b3ef6879ea

View File

@ -21,7 +21,7 @@ Signed-off-by: Keith Packard <keithp@keithp.com>
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -664,6 +664,8 @@
@@ -695,6 +695,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 \
@@ -870,16 +872,16 @@
@@ -911,16 +913,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
@@ -988,7 +990,8 @@
@@ -1035,7 +1037,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
@@ -1652,13 +1655,13 @@
@@ -1721,13 +1724,13 @@
case ${target} in
csky-*-linux-gnu*)
@ -77,7 +77,7 @@ Signed-off-by: Keith Packard <keithp@keithp.com>
default_use_cxa_atexit=no
;;
*)
@@ -3038,7 +3041,7 @@
@@ -3125,7 +3128,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*)
@@ -5879,3 +5882,32 @@
@@ -6079,3 +6082,32 @@
fi
;;
esac
@ -121,7 +121,7 @@ Signed-off-by: Keith Packard <keithp@keithp.com>
+esac
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -2502,6 +2502,10 @@
@@ -2546,6 +2546,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
@@ -34814,17 +34814,21 @@
@@ -36963,17 +36963,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
@@ -10155,12 +10155,20 @@
@@ -10300,12 +10300,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
@@ -662,7 +662,7 @@
@@ -693,7 +693,7 @@
esac
# Common C libraries.
@ -19,7 +19,7 @@ Signed-off-by: Keith Packard <keithp@keithp.com>
default_libc=""
@@ -5896,6 +5896,15 @@
@@ -6096,6 +6096,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
@@ -1116,6 +1116,17 @@
@@ -1168,6 +1168,17 @@
;;
esac
;;

View File

@ -17,11 +17,9 @@ Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
libgcc/gthr-posix.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libgcc/gthr-posix.h b/libgcc/gthr-posix.h
index aebcfdd9f4ca..087a631d308d 100644
--- a/libgcc/gthr-posix.h
+++ b/libgcc/gthr-posix.h
@@ -233,7 +233,7 @@ __gthread_active_p (void)
@@ -246,7 +246,7 @@
library does not provide pthread_cancel, so we do use pthread_create
there (and interceptor libraries lose). */
@ -30,6 +28,3 @@ index aebcfdd9f4ca..087a631d308d 100644
__gthrw2(__gthrw_(__pthread_key_create),
__pthread_key_create,
pthread_key_create)
--
2.42.0

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

@ -0,0 +1,8 @@
md5 gcc-14.2.0.tar.xz 2268420ba02dc01821960e274711bde0
sha1 gcc-14.2.0.tar.xz d91ecc3d20ce6298bd95f9b09cc51dc6d3c73ae3
sha256 gcc-14.2.0.tar.xz a7b39bc69cbf9e25826c5a60ab26477001f7c08d85cec04bc0e29cabed6f3cc9
sha512 gcc-14.2.0.tar.xz 932bdef0cda94bacedf452ab17f103c0cb511ff2cec55e9112fc0328cbf1d803b42595728ea7b200e0a057c03e85626f937012e49a7515bc5dd256b2bf4bc396
md5 gcc-14.2.0.tar.gz b89ddcdaf5c1b6214abad40d9761a6ba
sha1 gcc-14.2.0.tar.gz d4d09500ace1dc9ab69f6c4c791de012da8607ed
sha256 gcc-14.2.0.tar.gz 7d376d445f93126dc545e2c0086d0f647c3094aae081cdb78f42ce2bc25e7293
sha512 gcc-14.2.0.tar.gz d6828a5702ff4b667cc3e1e7e9f180191041b7efb68ffdc54248a42aa1799f41db6743acfe9ab74ea59977ba06f425fcf943a9fe3a77f9db706fc6bdbd657c1a