On 4/12/24 9:11 AM, Jan Katins wrote:
I snooped around in the source code a bit and found that libgcc_s seems to be dlopened and is special cased: https://salsa.debian.org/kernel-team/initramfs-tools/-/blob/master/hook-functions?ref_type=heads#L248-249 (original bugreport: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950254). So my guess is that nothing depends on libpthread anymore,
Just FYI (for upstream code): if cryptsetup/libcryptsetup is linked with OpenSSL >= 3.2, it does not need libphtread (as threads are implemented in OpenSSL for Argon2 internally). Ditto for libargon2 and possible dependences of above (libgcc_s). So if the reason is cryptsetup, all these dependences should be removed, we do not need it anymore. Milan