Bug 244848

Summary: security/libgcrypt: fix build on aarch64 with lld 10.0.0
Product: Ports & Packages Reporter: Charlie Li <ml+freebsd>
Component: Individual Port(s)Assignee: Carlos J. Puga Medina <cpm>
Status: Closed FIXED    
Severity: Affects Some People CC: mikael
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (cpm)
Hardware: arm64   
OS: Any   
URL: https://dev.gnupg.org/rC09c27280cc09798d15369b3a143036b7ab5ddd69
Bug Depends on:    
Bug Blocks: 244251    
Attachments:
Description Flags
libgcrypt-1.8.5.patch none

Description Charlie Li 2020-03-16 17:50:17 UTC
Created attachment 212447 [details]
libgcrypt-1.8.5.patch

On aarch64, the build fails with a linker error described upstream. This pulls in the upstream patch, backported/adapted for the 1.8 branch. Builds successfully.
Comment 2 commit-hook freebsd_committer 2020-03-31 07:49:02 UTC
A commit references this bug:

Author: mikael
Date: Tue Mar 31 07:48:01 UTC 2020
New revision: 529954
URL: https://svnweb.freebsd.org/changeset/ports/529954

Log:
  security/libgcrypt: fix build on aarch64 with lld10

  import upstream fix:
  https://github.com/gpg/libgcrypt/commit/09c27280cc09798d15369b3a143036b7ab5ddd69

  PR:		244848
  Submitted by:	Charlie Li
  Approved by:	cpm (maintainer timeout), manu (mentor, implicit)

Changes:
  head/security/libgcrypt/files/patch-cipher_camellia-aarch64.S
Comment 3 Mikael Urankar freebsd_committer 2020-03-31 07:53:37 UTC
Thanks!