diff options
author | Chris Packham <judge.packham@gmail.com> | 2024-05-16 08:40:16 +1200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2024-05-17 19:54:07 +1200 |
commit | cfbefefeec28f1747b17daf19956dec736c60730 (patch) | |
tree | 8d71051f88f11e3ffd84c3e98b073d8dcd27c4de | |
parent | 81084c55dd7a86441beaa125d307e7ba2d456caf (diff) | |
download | crosstool-ng-cfbefefeec28f1747b17daf19956dec736c60730.tar.gz crosstool-ng-cfbefefeec28f1747b17daf19956dec736c60730.tar.bz2 crosstool-ng-cfbefefeec28f1747b17daf19956dec736c60730.zip |
uClibc-ng: Remove unnecessary patch
The libpthread-drop-protected-attribute patch was added in error because
I had it applied locally when grabbing the upstream changes. Remove it
now.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
-rw-r--r-- | packages/uClibc-ng/1.0.48/0007-libpthread-drop-protected-attribute-from-__pthread_k.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/packages/uClibc-ng/1.0.48/0007-libpthread-drop-protected-attribute-from-__pthread_k.patch b/packages/uClibc-ng/1.0.48/0007-libpthread-drop-protected-attribute-from-__pthread_k.patch deleted file mode 100644 index 4d541d33..00000000 --- a/packages/uClibc-ng/1.0.48/0007-libpthread-drop-protected-attribute-from-__pthread_k.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 55840f6209cf1169b1332d262fc8a9d2108e753d Mon Sep 17 00:00:00 2001 -From: Chris Packham <chris.packham@alliedtelesis.co.nz> -Date: Tue, 5 Sep 2023 21:14:32 +1200 -Subject: [PATCH 7/7] libpthread: drop protected attribute from - __pthread_key_create - -Building some C++ code with uclibc-ng, binutils-2.40 and gcc-13.2.0 we -get the following error - - ld.bfd: isl_test2.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 - -Drop the protected attribute to avoid the error. - -Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> ---- - libpthread/nptl/pthread_key_create.c | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/libpthread/nptl/pthread_key_create.c b/libpthread/nptl/pthread_key_create.c -index 6e11bbeae..87999764e 100644 ---- a/libpthread/nptl/pthread_key_create.c -+++ b/libpthread/nptl/pthread_key_create.c -@@ -22,7 +22,6 @@ - - - int --attribute_protected - __pthread_key_create ( - pthread_key_t *key, - void (*destr) (void *)) --- -2.43.2 - |