Error building 1.9.0 on CentOS-7

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Error building 1.9.0 on CentOS-7

GnuPG - Libgcrypt - Dev mailing list
Hello:

I checked the known bugs for 1.9.0, but there doesn't appear to be a match for
the one I'm seeing building gnupg-2.2.27 on CentOS-7:

        gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S: Assembler messages:
        gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S:217: Error: junk `()' after expression
        gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S:218: Error: junk `()' after expression
        gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S:220: Error: junk `()' after expression
        gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S:221: Error: junk `()' after expression
        gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S:267: Error: junk `()' after expression
        gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S:268: Error: junk `()' after expression
        make[4]: *** [blake2b-amd64-avx2.lo] Error 1

        $ gcc --version
        gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)

Best regards,
-K

_______________________________________________
Gcrypt-devel mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error building 1.9.0 on CentOS-7

Jussi Kivilinna-2
On 25.1.2021 18.39, Konstantin Ryabitsev via Gcrypt-devel wrote:

> Hello:
>
> I checked the known bugs for 1.9.0, but there doesn't appear to be a match for
> the one I'm seeing building gnupg-2.2.27 on CentOS-7:
>
> gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S: Assembler messages:
> gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S:217: Error: junk `()' after expression
> gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S:218: Error: junk `()' after expression
> gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S:220: Error: junk `()' after expression
> gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S:221: Error: junk `()' after expression
> gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S:267: Error: junk `()' after expression
> gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S:268: Error: junk `()' after expression
> make[4]: *** [blake2b-amd64-avx2.lo] Error 1
>
Thanks for report. Attached patch should fix the issue.

-Jussi

_______________________________________________
Gcrypt-devel mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel

0001-blake2-fix-RIP-register-access-for-AVX-AVX2-implemen.patch (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Error building 1.9.0 on CentOS-7

GnuPG - Libgcrypt - Dev mailing list
On Mon, Jan 25, 2021 at 09:02:29PM +0200, Jussi Kivilinna wrote:

> > I checked the known bugs for 1.9.0, but there doesn't appear to be a match for
> > the one I'm seeing building gnupg-2.2.27 on CentOS-7:
> >
> > gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S: Assembler messages:
> > gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S:217: Error: junk `()' after expression
> > gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S:218: Error: junk `()' after expression
> > gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S:220: Error: junk `()' after expression
> > gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S:221: Error: junk `()' after expression
> > gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S:267: Error: junk `()' after expression
> > gnupg-2.2.27/PLAY/src/libgcrypt/cipher/blake2b-amd64-avx2.S:268: Error: junk `()' after expression
> > make[4]: *** [blake2b-amd64-avx2.lo] Error 1
> >
>
> Thanks for report. Attached patch should fix the issue.

I can confirm that the problem is fixed with the patch.

Tested-by: Konstantin Ryabitsev <[hidden email]>

Thanks,
-K

_______________________________________________
Gcrypt-devel mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel