https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118537
--- Comment #20 from Julian Andres Klode <j...@jak-linux.org> --- OK sorry folks, further debugging on that hunch on d15 from the minimized code led me to build libcrypto without assembler code and now apt works correctly; so my guess here really is that the hand-written OpenSSL asm code is wrong, and the gcc change really just makes it use the registers that they forgot to save and restore.