Fix for building md5-x86_64.pl with recent gcc and binutils (as first discovered on my Fedora 13 machine). Patch taken from upstream bug tracker: http://rt.openssl.org/Ticket/Display.html?id=2094&user=guest&pass=guest This issue is marked as resolved upstream (on 13/11/2009) so we should be able to remove this patch when we update openssl. JL - 07/05/2010 Index: openssl-0.9.8g/crypto/md5/asm/md5-x86_64.pl =================================================================== --- openssl-0.9.8g.orig/crypto/md5/asm/md5-x86_64.pl 2010-05-07 00:24:16.000000000 +0100 +++ openssl-0.9.8g/crypto/md5/asm/md5-x86_64.pl 2010-05-07 00:26:25.639809341 +0100 @@ -19,6 +19,7 @@ sub round1_step { my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_; + $T_i = unpack("l",pack("l", hex($T_i))); # convert to 32-bit signed decimal $code .= " mov 0*4(%rsi), %r10d /* (NEXT STEP) X[0] */\n" if ($pos == -1); $code .= " mov %edx, %r11d /* (NEXT STEP) z' = %edx */\n" if ($pos == -1); $code .= <