* [Buildroot] [PATCH 1/1] package/prelink-cross: bump to version 440c0059a21f06b5577499a80b55482cb99d6d1c
@ 2024-07-01 16:56 James Hilliard
2024-07-12 15:06 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: James Hilliard @ 2024-07-01 16:56 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard
Drop no longer relevant patch.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
...c-Fix-TLS-offsets-computation-for-s3.patch | 43 -------------------
package/prelink-cross/prelink-cross.hash | 2 +-
package/prelink-cross/prelink-cross.mk | 2 +-
3 files changed, 2 insertions(+), 45 deletions(-)
delete mode 100644 package/prelink-cross/0001-src-rtld-dl-tls.c-Fix-TLS-offsets-computation-for-s3.patch
diff --git a/package/prelink-cross/0001-src-rtld-dl-tls.c-Fix-TLS-offsets-computation-for-s3.patch b/package/prelink-cross/0001-src-rtld-dl-tls.c-Fix-TLS-offsets-computation-for-s3.patch
deleted file mode 100644
index cea1357d1d..0000000000
--- a/package/prelink-cross/0001-src-rtld-dl-tls.c-Fix-TLS-offsets-computation-for-s3.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 4064f77d2f550762cbf220fec7c26a8ce4219ea4 Mon Sep 17 00:00:00 2001
-From: Alexander Egorenkov <egorenar@linux.ibm.com>
-Date: Sun, 8 Aug 2021 11:19:52 +0200
-Subject: [PATCH] src/rtld/dl-tls.c: Fix TLS offsets computation for s390 arch
-
-rtld_determine_tlsoffsets() didn't handle s390 arch properly by falling
-back to the default case. If TLS_TCB_AT_TP is 1, then set offset to -1.
-
-From glibc's sysdeps/s390/nptl/tls.h:
--------------------------------------
-/* The TCB can have any size and the memory following the address the
- thread pointer points to is unspecified. Allocate the TCB there. */
-define TLS_TCB_AT_TP 1
-define TLS_DTV_AT_TP 0
-
-This lead to the following error:
----------------------------------
-prelink-rtld: error while loading shared libraries: /lib64/libc.so.6: cannot handle TLS data
-
-Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
----
- src/rtld/dl-tls.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/src/rtld/dl-tls.c b/src/rtld/dl-tls.c
-index 280cee45f950..29422dcfd25e 100644
---- a/src/rtld/dl-tls.c
-+++ b/src/rtld/dl-tls.c
-@@ -143,6 +143,11 @@ rtld_determine_tlsoffsets (int e_machine, struct r_scope_elem *search_list)
- tls_tcb_size = 0;
- break;
-
-+ case EM_S390:
-+ tls_tcb_at_tp = 1;
-+ tls_tcb_size = -1;
-+ break;
-+
- default:
- /* Hope there's no TLS! */
- for (i = 0; i < search_list->r_nlist; i++)
---
-2.31.1
-
diff --git a/package/prelink-cross/prelink-cross.hash b/package/prelink-cross/prelink-cross.hash
index 6776d407b8..4aa3a86c45 100644
--- a/package/prelink-cross/prelink-cross.hash
+++ b/package/prelink-cross/prelink-cross.hash
@@ -1,3 +1,3 @@
# Locally computed
-sha256 555fd65c1b907f9b78d6d41ec04cb6e242d2ecb0667867e39cdd517b3f182dd3 prelink-cross-a853a5d715d84eec93aa68e8f2df26b7d860f5b2-git4.tar.gz
+sha256 ce0d58b7c60a441fd61c52329e2c767f7888056c491f55627a5304b13fda743f prelink-cross-440c0059a21f06b5577499a80b55482cb99d6d1c-git4.tar.gz
sha256 b8a2f73f743dc1a51aff23f1aacbca4b868564db52496fa3c0caba755bfd1eaf COPYING
diff --git a/package/prelink-cross/prelink-cross.mk b/package/prelink-cross/prelink-cross.mk
index 2312ee53e6..c32ea74afd 100644
--- a/package/prelink-cross/prelink-cross.mk
+++ b/package/prelink-cross/prelink-cross.mk
@@ -4,7 +4,7 @@
#
################################################################################
-PRELINK_CROSS_VERSION = a853a5d715d84eec93aa68e8f2df26b7d860f5b2
+PRELINK_CROSS_VERSION = 440c0059a21f06b5577499a80b55482cb99d6d1c
PRELINK_CROSS_SITE = https://git.yoctoproject.org/git/prelink-cross
PRELINK_CROSS_SITE_METHOD = git
PRELINK_CROSS_LICENSE = GPL-2.0+
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/prelink-cross: bump to version 440c0059a21f06b5577499a80b55482cb99d6d1c
2024-07-01 16:56 [Buildroot] [PATCH 1/1] package/prelink-cross: bump to version 440c0059a21f06b5577499a80b55482cb99d6d1c James Hilliard
@ 2024-07-12 15:06 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-12 15:06 UTC (permalink / raw)
To: James Hilliard; +Cc: buildroot
On Mon, 1 Jul 2024 10:56:16 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:
> Drop no longer relevant patch.
>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
> ...c-Fix-TLS-offsets-computation-for-s3.patch | 43 -------------------
> package/prelink-cross/prelink-cross.hash | 2 +-
> package/prelink-cross/prelink-cross.mk | 2 +-
> 3 files changed, 2 insertions(+), 45 deletions(-)
> delete mode 100644 package/prelink-cross/0001-src-rtld-dl-tls.c-Fix-TLS-offsets-computation-for-s3.patch
Thanks for the patch. It was missing an update in .checkpackageignore,
as you removed a patch that was missing an Upstream tag, so it removes
a warning. I fixed that up and applied. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-12 15:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-01 16:56 [Buildroot] [PATCH 1/1] package/prelink-cross: bump to version 440c0059a21f06b5577499a80b55482cb99d6d1c James Hilliard
2024-07-12 15:06 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.