Bug 190848

Summary: [PATCH] Let security/libgcrypt build with clang on ARM
Product: Ports & Packages Reporter: Andrew Turner <Andrew>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: sbruno, umq
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Fix on ARM with clang
none
patch from redports build none

Description Andrew Turner freebsd_committer 2014-06-09 22:54:34 UTC
Created attachment 143583 [details]
Fix on ARM with clang

I have been testing building ports on ARM using the armv6hf target. This is currently clang only as the version of gcc in base doesn't support this ABI.

I have found libgcrype fails to build. The attached patch fixes the build for me.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-06-13 04:14:06 UTC
Notify maintainer.
Comment 2 Sean Bruno freebsd_committer 2014-07-05 23:02:56 UTC
Created attachment 144439 [details]
patch from redports build
Comment 3 Sean Bruno freebsd_committer 2014-07-05 23:03:30 UTC
https://redports.org/buildarchive/20140705224100-23819/

I see no issue with this and this removes a blocker for ARMv6
Comment 4 commit-hook freebsd_committer 2014-07-05 23:19:48 UTC
A commit references this bug:

Author: sbruno
Date: Sat Jul  5 23:19:06 UTC 2014
New revision: 360837
URL: http://svnweb.freebsd.org/changeset/ports/360837

Log:
  Added needed ASM instructions for armv6 architecture support.

  PR:	190848
  Submitted by:	andrew@freebsd.org
  Reviewed by:	mat@freebsd.org

Changes:
  head/security/libgcrypt/Makefile
  head/security/libgcrypt/files/patch-mpi-longlong.h