Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 351740 Details for
Bug 474486
dev-libs/libgcrypt-1.5.2-r1: build fails with using clang-3.3 on x86-fbsd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/libgcrypt-1.5.2-fbsd-clang.patch
libgcrypt-1.5.2-fbsd-clang.patch (text/plain), 5.20 KB, created by
Yuta SATOH
on 2013-06-23 14:10:46 UTC
(
hide
)
Description:
files/libgcrypt-1.5.2-fbsd-clang.patch
Filename:
MIME Type:
Creator:
Yuta SATOH
Created:
2013-06-23 14:10:46 UTC
Size:
5.20 KB
patch
obsolete
>Taken from FreeBSD's ports > >patch-cipher-rijndael.c >patch-mpi-longlong.h > >--- cipher/rijndael.c.orig 2011-02-22 15:57:59.000000000 +0100 >+++ cipher/rijndael.c 2011-07-26 08:38:07.000000000 +0200 >@@ -844,13 +844,13 @@ do_aesni_cfb (const RIJNDAEL_context *ct > "movdqa 0x90(%%esi), %%xmm1\n\t" > aesenc_xmm1_xmm0 > "movdqa 0xa0(%%esi), %%xmm1\n\t" >- "cmp $10, %[rounds]\n\t" >+ "cmpl $10, %[rounds]\n\t" > "jz .Lenclast%=\n\t" > aesenc_xmm1_xmm0 > "movdqa 0xb0(%%esi), %%xmm1\n\t" > aesenc_xmm1_xmm0 > "movdqa 0xc0(%%esi), %%xmm1\n\t" >- "cmp $12, %[rounds]\n\t" >+ "cmpl $12, %[rounds]\n\t" > "jz .Lenclast%=\n\t" > aesenc_xmm1_xmm0 > "movdqa 0xd0(%%esi), %%xmm1\n\t" >@@ -862,7 +862,7 @@ do_aesni_cfb (const RIJNDAEL_context *ct > "movdqu %[src], %%xmm1\n\t" /* Save input. */ > "pxor %%xmm1, %%xmm0\n\t" /* xmm0 = input ^ IV */ > >- "cmp $1, %[decrypt]\n\t" >+ "cmpl $1, %[decrypt]\n\t" > "jz .Ldecrypt_%=\n\t" > "movdqa %%xmm0, %[iv]\n\t" /* [encrypt] Store IV. */ > "jmp .Lleave_%=\n" >@@ -923,13 +923,13 @@ do_aesni_ctr (const RIJNDAEL_context *ct > "movdqa 0x90(%%esi), %%xmm1\n\t" > aesenc_xmm1_xmm0 > "movdqa 0xa0(%%esi), %%xmm1\n\t" >- "cmp $10, %[rounds]\n\t" >+ "cmpl $10, %[rounds]\n\t" > "jz .Lenclast%=\n\t" > aesenc_xmm1_xmm0 > "movdqa 0xb0(%%esi), %%xmm1\n\t" > aesenc_xmm1_xmm0 > "movdqa 0xc0(%%esi), %%xmm1\n\t" >- "cmp $12, %[rounds]\n\t" >+ "cmpl $12, %[rounds]\n\t" > "jz .Lenclast%=\n\t" > aesenc_xmm1_xmm0 > "movdqa 0xd0(%%esi), %%xmm1\n\t" >@@ -1050,7 +1050,7 @@ do_aesni_ctr_4 (const RIJNDAEL_context * > aesenc_xmm1_xmm3 > aesenc_xmm1_xmm4 > "movdqa 0xa0(%%esi), %%xmm1\n\t" >- "cmp $10, %[rounds]\n\t" >+ "cmpl $10, %[rounds]\n\t" > "jz .Lenclast%=\n\t" > aesenc_xmm1_xmm0 > aesenc_xmm1_xmm2 >@@ -1062,7 +1062,7 @@ do_aesni_ctr_4 (const RIJNDAEL_context * > aesenc_xmm1_xmm3 > aesenc_xmm1_xmm4 > "movdqa 0xc0(%%esi), %%xmm1\n\t" >- "cmp $12, %[rounds]\n\t" >+ "cmpl $12, %[rounds]\n\t" > "jz .Lenclast%=\n\t" > aesenc_xmm1_xmm0 > aesenc_xmm1_xmm2 >--- ./mpi/longlong.h.orig 2010-02-22 19:04:43.000000000 +0900 >+++ ./mpi/longlong.h 2010-11-01 18:25:34.000000000 +0900 >@@ -437,8 +437,8 @@ > #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ > __asm__ ("addl %5,%1\n" \ > "adcl %3,%0" \ >- : "=r" ((USItype)(sh)), \ >- "=&r" ((USItype)(sl)) \ >+ : "=r" (sh), \ >+ "=&r" (sl) \ > : "%0" ((USItype)(ah)), \ > "g" ((USItype)(bh)), \ > "%1" ((USItype)(al)), \ >@@ -446,22 +446,22 @@ > #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ > __asm__ ("subl %5,%1\n" \ > "sbbl %3,%0" \ >- : "=r" ((USItype)(sh)), \ >- "=&r" ((USItype)(sl)) \ >+ : "=r" (sh), \ >+ "=&r" (sl) \ > : "0" ((USItype)(ah)), \ > "g" ((USItype)(bh)), \ > "1" ((USItype)(al)), \ > "g" ((USItype)(bl))) > #define umul_ppmm(w1, w0, u, v) \ > __asm__ ("mull %3" \ >- : "=a" ((USItype)(w0)), \ >- "=d" ((USItype)(w1)) \ >+ : "=a" (w0), \ >+ "=d" (w1) \ > : "%0" ((USItype)(u)), \ > "rm" ((USItype)(v))) > #define udiv_qrnnd(q, r, n1, n0, d) \ > __asm__ ("divl %4" \ >- : "=a" ((USItype)(q)), \ >- "=d" ((USItype)(r)) \ >+ : "=a" (q), \ >+ "=d" (r) \ > : "0" ((USItype)(n0)), \ > "1" ((USItype)(n1)), \ > "rm" ((USItype)(d))) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 474486
: 351740