diff options
author | Chris Packham <judge.packham@gmail.com> | 2025-05-25 10:28:35 +1200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2025-05-27 09:08:17 +1200 |
commit | 9a4a376bfb34e542003ca87008fc13f92fd9ead8 (patch) | |
tree | 30e6d5fc33125a724a2a37490100f0c9c23232b9 /packages/gcc/14.2.0/0010-libgcc-Exclude-UCLIBC-from-GLIBC-thread-check.patch | |
parent | d46ae2bc929fe8da2c26f8444c5f8aeb4f466e62 (diff) | |
download | crosstool-ng-9a4a376bfb34e542003ca87008fc13f92fd9ead8.tar.gz crosstool-ng-9a4a376bfb34e542003ca87008fc13f92fd9ead8.tar.bz2 crosstool-ng-9a4a376bfb34e542003ca87008fc13f92fd9ead8.zip |
gcc: Update GCC 14.2.0 -> 14.3.0
https://gcc.gnu.org/pipermail/gcc-announce/2025/000186.html
Add the new version. Drop the patches that have been added upstream and
regenerate the rest.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/gcc/14.2.0/0010-libgcc-Exclude-UCLIBC-from-GLIBC-thread-check.patch')
-rw-r--r-- | packages/gcc/14.2.0/0010-libgcc-Exclude-UCLIBC-from-GLIBC-thread-check.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/packages/gcc/14.2.0/0010-libgcc-Exclude-UCLIBC-from-GLIBC-thread-check.patch b/packages/gcc/14.2.0/0010-libgcc-Exclude-UCLIBC-from-GLIBC-thread-check.patch deleted file mode 100644 index c0a32648..00000000 --- a/packages/gcc/14.2.0/0010-libgcc-Exclude-UCLIBC-from-GLIBC-thread-check.patch +++ /dev/null @@ -1,30 +0,0 @@ -From d901175d36221fbf79a0eb8305823b88243b829c Mon Sep 17 00:00:00 2001 -From: Chris Packham <chris.packham@alliedtelesis.co.nz> -Date: Thu, 7 Sep 2023 19:26:49 +1200 -Subject: [PATCH] libgcc: Exclude UCLIBC from GLIBC thread check - -UBLIBC defines __GLIBC__ but also marks __pthread_key_create() as -protected. Leading to link errors with newer binutils such as: - - ld.bfd: isl_test_cpp17.o: non-canonical reference to canonical protected function `__pthread_key_create' in x86_64-multilib-linux-uclibc/sysroot/lib64/libc.so.1 - ld.bfd: failed to set dynamic section sizes: bad value - -Add a condition on !__UCLIBC__ when selecting a symbol to detect pthread -usage so it picks the intended pthread_cancel(). - -Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> ---- - libgcc/gthr-posix.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/libgcc/gthr-posix.h -+++ b/libgcc/gthr-posix.h -@@ -246,7 +246,7 @@ - library does not provide pthread_cancel, so we do use pthread_create - there (and interceptor libraries lose). */ - --#ifdef __GLIBC__ -+#if defined(__GLIBC__) && !defined(__UCLIBC__) - __gthrw2(__gthrw_(__pthread_key_create), - __pthread_key_create, - pthread_key_create) |