From cfbefefeec28f1747b17daf19956dec736c60730 Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Thu, 16 May 2024 08:40:16 +1200 Subject: 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 --- ...drop-protected-attribute-from-__pthread_k.patch | 34 ---------------------- 1 file changed, 34 deletions(-) delete mode 100644 packages/uClibc-ng/1.0.48/0007-libpthread-drop-protected-attribute-from-__pthread_k.patch 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 -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 ---- - 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 - -- cgit v1.2.3