[Pkg-openssl-devel] Bug#649841: Bug#649841:

David Miller davem at davemloft.net
Mon Sep 10 19:33:56 UTC 2012


From: Kurt Roeckx <kurt at roeckx.be>
Date: Mon, 10 Sep 2012 21:30:56 +0200

> On Sun, Sep 09, 2012 at 01:55:38AM +0100, David Miller wrote:
>> 
>> This was fixed incorrectly, and causes regressions.  The sparcv9
>> optimized assembler routines are no longer enabled, amongst other
>> things.  The change should be flat out reverted.
>> 
>> The error message originally reported in the build was due to a
>> bug in Sparc binutils, it wasn't turning on multiply and divide
>> capabilities with v8 was specified.  That bug has been fixed a
>> very long time ago.
> 
> I saw you mailed the openssl list with this:
> --- a/crypto/sha/asm/sha512-sparcv9.pl
> +++ b/crypto/sha/asm/sha512-sparcv9.pl
> @@ -170,7 +170,7 @@ $code.=<<___ if ($i==0);
>         ld      [$inp+16],%l4
>         ld      [$inp+20],%l5
>         ld      [$inp+24],%l6
> -       cmp     0,$tmp31
> +       cmp     $tmp31,0
>         ld      [$inp+28],%l7
> 
> 
> I guess I'll also need to apply this?

Only if you're using CVS development mainline rather than stable
branches.

I'm pretty sure only openssl-1.1.X mainline has that sha512-sparcv9.pl
change which introduced this bug, does the openssl-1.0.X stable branch
have it too?



More information about the Pkg-openssl-devel mailing list