From: Simon South <simon@simonsouth.net>
To: 53005@debbugs.gnu.org
Subject: bug#53005: cryptsetup-static aborts opening LUKS2 volume with Argon2i PBKDF
Date: Mon, 10 Jan 2022 18:34:25 -0500 [thread overview]
Message-ID: <cover.1641856285.git.simon@simonsouth.net> (raw)
In-Reply-To: <87v8yz1sae.fsf@simonsouth.net>
Here's a patch that fixes this problem by modifying the glibc package so the
"__pthread_key_create" symbol in its pthread library is preserved, as opposed
to being stripped off as it is today.
This tests fine for me on both AArch64 and x86-64: Stepping through the code
in gdb I can see libgcc's __gthread_active_p() is now returning true, and both
cryptsetup tools now open a LUKS2 volume without issue. So far nothing else
seems to be affected.
This is the smallest and least-intrusive fix I can think of though I expect it
will still result in a large number of packages being rebuilt.
--
Simon South
simon@simonsouth.net
Simon South (1):
gnu: glibc: Preserve "__pthread_key_create" symbol.
gnu/packages/base.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
base-commit: e2d8125a5c6d4338749e6bf8882f220395b25275
--
2.34.0
next prev parent reply other threads:[~2022-01-10 23:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-04 14:36 bug#53005: cryptsetup-static aborts opening LUKS2 volume with Argon2i PBKDF Simon South
2022-01-04 14:44 ` Simon South
2022-01-08 1:52 ` Simon South
2022-01-10 23:34 ` Simon South [this message]
2022-01-10 23:34 ` bug#53005: [PATCH 1/1] gnu: glibc: Preserve "__pthread_key_create" symbol Simon South
2022-01-12 19:21 ` Leo Famulari
2022-01-12 21:22 ` Simon South
2022-05-01 9:49 ` Tom Fitzhenry
2022-08-19 3:31 ` bug#53005: cryptsetup-static aborts opening LUKS2 volume with Argon2i PBKDF angry rectangle
2024-02-07 19:59 ` Simon South
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1641856285.git.simon@simonsouth.net \
--to=simon@simonsouth.net \
--cc=53005@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).