gnu: glibc/hurd: Add patch for the 64bit Hurd, fixing "raise".

This fixes findutil's gnulib-tests's test-sigaction's raise call, by working
around an alleged gcc-14.2 optimization bug.  See
<https://lists.gnu.org/archive/html/bug-hurd/2024-11/msg00143.html>.

* gnu/packages/patches/glibc-hurd64-gcc-14.2-tls-bug.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/base.scm (glibc/hurd): Use it.

Change-Id: I11e683f521f34dedeb7f739a2545f5d1d866922a
This commit is contained in:
Janneke Nieuwenhuizen 2024-11-22 15:27:36 +01:00
parent 4d077bba89
commit 5ffbd2015c
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273
3 changed files with 31 additions and 1 deletions

View file

@ -1598,7 +1598,8 @@ command.")
(search-patches "glibc-hurd-pthread_setcancelstate.patch"
"glibc-hurd64-fault.patch"
"glibc-hurd64-intr-msg-clobber.patch"
"glibc-hurd64-sgms-context.patch")))))))
"glibc-hurd64-sgms-context.patch"
"glibc-hurd64-gcc-14.2-tls-bug.patch")))))))
(define-public glibc/hurd-headers
(package/inherit glibc/hurd