Bug 190848 - [PATCH] Let security/libgcrypt build with clang on ARM
Summary: [PATCH] Let security/libgcrypt build with clang on ARM
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-09 22:54 UTC by Andrew Turner
Modified: 2014-07-05 23:22 UTC (History)
2 users (show)

See Also:


Attachments
Fix on ARM with clang (3.20 KB, patch)
2014-06-09 22:54 UTC, Andrew Turner
no flags Details | Diff
patch from redports build (5.65 KB, text/plain)
2014-07-05 23:02 UTC, Sean Bruno
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Turner freebsd_committer freebsd_triage 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 freebsd_triage 2014-07-05 23:02:56 UTC
Created attachment 144439 [details]
patch from redports build
Comment 3 Sean Bruno freebsd_committer freebsd_triage 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 freebsd_triage 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