aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2024-08-02 12:44:52 +1200
committerChris Packham <judge.packham@gmail.com>2024-08-05 20:33:15 +1200
commited12fa68402f58e171a6f79500f73f4781fdc9e5 (patch)
tree0cf54e95d2f1617d2fbc5ce8df2b634e038d3210
parent5a1dc8d95d29f23f346625dec690ae0eb229d560 (diff)
downloadcrosstool-ng-ed12fa68402f58e171a6f79500f73f4781fdc9e5.tar.gz
crosstool-ng-ed12fa68402f58e171a6f79500f73f4781fdc9e5.tar.bz2
crosstool-ng-ed12fa68402f58e171a6f79500f73f4781fdc9e5.zip
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>
-rw-r--r--packages/gcc/14.1.0/chksum8
-rw-r--r--packages/gcc/14.2.0/0000-libtool-leave-framework-alone.patch (renamed from packages/gcc/14.1.0/0000-libtool-leave-framework-alone.patch)0
-rw-r--r--packages/gcc/14.2.0/0001-gcc-plugin-POSIX-include-sys-select-h.patch (renamed from packages/gcc/14.1.0/0001-gcc-plugin-POSIX-include-sys-select-h.patch)0
-rw-r--r--packages/gcc/14.2.0/0002-arm-softfloat-libgcc.patch (renamed from packages/gcc/14.1.0/0002-arm-softfloat-libgcc.patch)0
-rw-r--r--packages/gcc/14.2.0/0003-libgcc-disable-split-stack-nothreads.patch (renamed from packages/gcc/14.1.0/0003-libgcc-disable-split-stack-nothreads.patch)0
-rw-r--r--packages/gcc/14.2.0/0004-Remove-use-of-include_next-from-c-headers.patch (renamed from packages/gcc/14.1.0/0004-Remove-use-of-include_next-from-c-headers.patch)0
-rw-r--r--packages/gcc/14.2.0/0005-Allow-default-libc-to-be-specified-to-configure.patch (renamed from packages/gcc/14.1.0/0005-Allow-default-libc-to-be-specified-to-configure.patch)14
-rw-r--r--packages/gcc/14.2.0/0006-driver-Extend-getenv-function-to-allow-default-value.patch (renamed from packages/gcc/14.1.0/0006-driver-Extend-getenv-function-to-allow-default-value.patch)4
-rw-r--r--packages/gcc/14.2.0/0007-Add-newlib-and-picolibc-as-default-C-library-choices.patch (renamed from packages/gcc/14.1.0/0007-Add-newlib-and-picolibc-as-default-C-library-choices.patch)4
-rw-r--r--packages/gcc/14.2.0/0008-Support-picolibc-targets.patch (renamed from packages/gcc/14.1.0/0008-Support-picolibc-targets.patch)2
-rw-r--r--packages/gcc/14.2.0/0009-gcc-Allow-g-to-work-differently-from-gcc.patch (renamed from packages/gcc/14.1.0/0009-gcc-Allow-g-to-work-differently-from-gcc.patch)0
-rw-r--r--packages/gcc/14.2.0/0010-libgcc-Exclude-UCLIBC-from-GLIBC-thread-check.patch (renamed from packages/gcc/14.1.0/0013-libgcc-Exclude-UCLIBC-from-GLIBC-thread-check.patch)9
-rw-r--r--packages/gcc/14.2.0/chksum8
-rw-r--r--packages/gcc/14.2.0/experimental/0001-picolibc-Add-custom-spec-file-fragments-for-using-pi.patch (renamed from packages/gcc/14.1.0/experimental/0001-picolibc-Add-custom-spec-file-fragments-for-using-pi.patch)0
-rw-r--r--packages/gcc/14.2.0/version.desc (renamed from packages/gcc/14.1.0/version.desc)0
15 files changed, 22 insertions, 27 deletions
diff --git a/packages/gcc/14.1.0/chksum b/packages/gcc/14.1.0/chksum
deleted file mode 100644
index 7adcc215..00000000
--- a/packages/gcc/14.1.0/chksum
+++ /dev/null
@@ -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
diff --git a/packages/gcc/14.1.0/0000-libtool-leave-framework-alone.patch b/packages/gcc/14.2.0/0000-libtool-leave-framework-alone.patch
index 1a86e415..1a86e415 100644
--- a/packages/gcc/14.1.0/0000-libtool-leave-framework-alone.patch
+++ b/packages/gcc/14.2.0/0000-libtool-leave-framework-alone.patch
diff --git a/packages/gcc/14.1.0/0001-gcc-plugin-POSIX-include-sys-select-h.patch b/packages/gcc/14.2.0/0001-gcc-plugin-POSIX-include-sys-select-h.patch
index 5f9a07a2..5f9a07a2 100644
--- a/packages/gcc/14.1.0/0001-gcc-plugin-POSIX-include-sys-select-h.patch
+++ b/packages/gcc/14.2.0/0001-gcc-plugin-POSIX-include-sys-select-h.patch
diff --git a/packages/gcc/14.1.0/0002-arm-softfloat-libgcc.patch b/packages/gcc/14.2.0/0002-arm-softfloat-libgcc.patch
index d9800365..d9800365 100644
--- a/packages/gcc/14.1.0/0002-arm-softfloat-libgcc.patch
+++ b/packages/gcc/14.2.0/0002-arm-softfloat-libgcc.patch
diff --git a/packages/gcc/14.1.0/0003-libgcc-disable-split-stack-nothreads.patch b/packages/gcc/14.2.0/0003-libgcc-disable-split-stack-nothreads.patch
index df91a9ff..df91a9ff 100644
--- a/packages/gcc/14.1.0/0003-libgcc-disable-split-stack-nothreads.patch
+++ b/packages/gcc/14.2.0/0003-libgcc-disable-split-stack-nothreads.patch
diff --git a/packages/gcc/14.1.0/0004-Remove-use-of-include_next-from-c-headers.patch b/packages/gcc/14.2.0/0004-Remove-use-of-include_next-from-c-headers.patch
index 429d3bd3..429d3bd3 100644
--- a/packages/gcc/14.1.0/0004-Remove-use-of-include_next-from-c-headers.patch
+++ b/packages/gcc/14.2.0/0004-Remove-use-of-include_next-from-c-headers.patch
diff --git a/packages/gcc/14.1.0/0005-Allow-default-libc-to-be-specified-to-configure.patch b/packages/gcc/14.2.0/0005-Allow-default-libc-to-be-specified-to-configure.patch
index 47f56953..9a7a2a85 100644
--- a/packages/gcc/14.1.0/0005-Allow-default-libc-to-be-specified-to-configure.patch
+++ b/packages/gcc/14.2.0/0005-Allow-default-libc-to-be-specified-to-configure.patch
@@ -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)
diff --git a/packages/gcc/14.1.0/0006-driver-Extend-getenv-function-to-allow-default-value.patch b/packages/gcc/14.2.0/0006-driver-Extend-getenv-function-to-allow-default-value.patch
index 4c73bd6f..955ff3ca 100644
--- a/packages/gcc/14.1.0/0006-driver-Extend-getenv-function-to-allow-default-value.patch
+++ b/packages/gcc/14.2.0/0006-driver-Extend-getenv-function-to-allow-default-value.patch
@@ -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;
diff --git a/packages/gcc/14.1.0/0007-Add-newlib-and-picolibc-as-default-C-library-choices.patch b/packages/gcc/14.2.0/0007-Add-newlib-and-picolibc-as-default-C-library-choices.patch
index 3a36594d..5443630b 100644
--- a/packages/gcc/14.1.0/0007-Add-newlib-and-picolibc-as-default-C-library-choices.patch
+++ b/packages/gcc/14.2.0/0007-Add-newlib-and-picolibc-as-default-C-library-choices.patch
@@ -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
;;
diff --git a/packages/gcc/14.1.0/0008-Support-picolibc-targets.patch b/packages/gcc/14.2.0/0008-Support-picolibc-targets.patch
index 0f8cc2f9..987baf39 100644
--- a/packages/gcc/14.1.0/0008-Support-picolibc-targets.patch
+++ b/packages/gcc/14.2.0/0008-Support-picolibc-targets.patch
@@ -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
;;
diff --git a/packages/gcc/14.1.0/0009-gcc-Allow-g-to-work-differently-from-gcc.patch b/packages/gcc/14.2.0/0009-gcc-Allow-g-to-work-differently-from-gcc.patch
index 57a22f98..57a22f98 100644
--- a/packages/gcc/14.1.0/0009-gcc-Allow-g-to-work-differently-from-gcc.patch
+++ b/packages/gcc/14.2.0/0009-gcc-Allow-g-to-work-differently-from-gcc.patch
diff --git a/packages/gcc/14.1.0/0013-libgcc-Exclude-UCLIBC-from-GLIBC-thread-check.patch b/packages/gcc/14.2.0/0010-libgcc-Exclude-UCLIBC-from-GLIBC-thread-check.patch
index 349f280a..c0a32648 100644
--- a/packages/gcc/14.1.0/0013-libgcc-Exclude-UCLIBC-from-GLIBC-thread-check.patch
+++ b/packages/gcc/14.2.0/0010-libgcc-Exclude-UCLIBC-from-GLIBC-thread-check.patch
@@ -14,14 +14,12 @@ usage so it picks the intended pthread_cancel().
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
---
- libgcc/gthr-posix.h | 2 +-
+ 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
-
diff --git a/packages/gcc/14.2.0/chksum b/packages/gcc/14.2.0/chksum
new file mode 100644
index 00000000..40000f5c
--- /dev/null
+++ b/packages/gcc/14.2.0/chksum
@@ -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
diff --git a/packages/gcc/14.1.0/experimental/0001-picolibc-Add-custom-spec-file-fragments-for-using-pi.patch b/packages/gcc/14.2.0/experimental/0001-picolibc-Add-custom-spec-file-fragments-for-using-pi.patch
index 487a28c3..487a28c3 100644
--- a/packages/gcc/14.1.0/experimental/0001-picolibc-Add-custom-spec-file-fragments-for-using-pi.patch
+++ b/packages/gcc/14.2.0/experimental/0001-picolibc-Add-custom-spec-file-fragments-for-using-pi.patch
diff --git a/packages/gcc/14.1.0/version.desc b/packages/gcc/14.2.0/version.desc
index e69de29b..e69de29b 100644
--- a/packages/gcc/14.1.0/version.desc
+++ b/packages/gcc/14.2.0/version.desc