| Summary: | Fix security/libgcrypt 1.5.0 build with clang | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Dimitry Andric <dim> | ||||
| Component: | Individual Port(s) | Assignee: | Dimitry Andric <dim> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Responsible Changed From-To: freebsd-ports-bugs->dim Submitter has GNATS access (via the GNATS Auto Assign Tool) Maintainer of security/libgcrypt,
Please note that PR ports/158994 has just been submitted.
If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.
The full text of the PR can be found at:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/158994
--
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool) Hi, At Sun, 17 Jul 2011 12:10:24 UT, Edwin Groothuis wrote: > Please note that PR ports/158994 has just been submitted. > The full text of the PR can be found at: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/158994 I set up an i386 9-CURRENT box, and saw the problem. The submitted patch looks okay. I approve it, thanks. Regards, -- Hirohisa Yamaguchi umq@ueo.co.jp dim 2011-07-21 20:18:45 UTC
FreeBSD ports repository (src committer)
Added files:
security/libgcrypt/files patch-cipher-rijndael.c
Log:
Building security/libgcrypt 1.5.0 with clang results in errors similar
to the following:
rijndael.c:846:46: error: ambiguous instructions require an explicit suffix (could be 'cmpb', 'cmpw', 'cmpl', or 'cmpq')
"movdqa 0xa0(%%esi), %%xmm1\n\t"
^
<inline asm>:24:2: note: instantiated into assembly here
cmp $10, -80(%ebp)
^
This is because the 'cmp' instruction lacks a type suffix, and is thus
ambiguous. Fix this by changing these to 'cmpq'.
PR: ports/158994
Approved by: Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer)
Revision Changes Path
1.1 +61 -0 ports/security/libgcrypt/files/patch-cipher-rijndael.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Patch has been applied. |
Building security/libgcrypt 1.5.0 with clang results in errors similar to the following: rijndael.c:846:46: error: ambiguous instructions require an explicit suffix (could be 'cmpb', 'cmpw', 'cmpl', or 'cmpq') "movdqa 0xa0(%%esi), %%xmm1\n\t" ^ <inline asm>:24:2: note: instantiated into assembly here cmp $10, -80(%ebp) ^ This is because the 'cmp' instruction lacks a type suffix, and is thus ambiguous. I will send a fix upstream, but please apply it locally for now, to let the port build with clang. Fix: Patch attached with submission follows: How-To-Repeat: CC=clang CXX=clang++ make -C /usr/ports/security/libgcrypt install