Bug#1032221: [pkg-cryptsetup-devel] Bug#1032221: cryptsetup: libgcc_s.so.1 must be installed for pthread_exit to work

2023-03-07 Thread Milan Broz

Just FYI - I think that the whole problem can be avoided by merging this patch
https://github.com/P-H-C/phc-winner-argon2/pull/331

(we have the patch applied in cryptsetup for embedded libargon already).

Just upstream is no longer responding here...

Milan



Bug#1032221: [pkg-cryptsetup-devel] Bug#1032221: cryptsetup: libgcc_s.so.1 must be installed for pthread_exit to work

2023-03-07 Thread Christoph Anton Mitterer
Hey Guilhem.

Is it possible that your fix doesn't work on not-yet-usr-merged
systems?

I get here:
$ env --unset=LD_PRELOAD ldd /sbin/cryptsetup | sed -nr 
'/.*=>\s*(\S+)\/libargon2\.so\..*/ {s//\1/p;q}'
/usr/lib/x86_64-linux-gnu


but:
$ dpkg -L libgcc-s1 
/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu/libgcc_s.so.1


On non-usr-merged systems, copy_libgcc doesn't seem to include it then.

Please don't solve this by depending on usr-merge (not that I'd have
anything against it, but I'd like to migrate my systems only when this
becomes the next stable).


Cheers,
Chris.