svn commit: r456893 - head/security/1password-client

Jan Beich jbeich at FreeBSD.org
Fri Dec 22 17:24:01 UTC 2017


Mark Linimon <linimon at FreeBSD.org> writes:

> Author: linimon
> Date: Thu Dec 21 08:54:58 2017
> New Revision: 456893
> URL: https://svnweb.freebsd.org/changeset/ports/456893
>
> Log:
>   The ARCH value of 'arm' is only for arm v4/v5 which are antique.  Let's
>   try to let it build on aarch64 instead.
>   
>   Approved by:	portmgr (tier-2 blanket)
>
> Modified:
>   head/security/1password-client/Makefile
>
> Modified: head/security/1password-client/Makefile
> ==============================================================================
> --- head/security/1password-client/Makefile	Thu Dec 21 08:44:38 2017	(r456892)
> +++ head/security/1password-client/Makefile	Thu Dec 21 08:54:58 2017	(r456893)
> @@ -9,7 +9,7 @@ MASTER_SITES=	https://cache.agilebits.com/dist/1P/op/p
>  MAINTAINER=	adamw at FreeBSD.org
>  COMMENT=	1Password CLI client
>  
> -ONLY_FOR_ARCHS=	amd64 arm i386
> +ONLY_FOR_ARCHS=	aarch64 amd64 i386

Are you sure aarch64 can run 32bit binaries? This port installs a blob,
so whether it builds is largerly irrelevant.

  $ tar xkvf /usr/ports/distfiles/op_freebsd_arm_v0.1.1.zip
  x op
  x op.sig

  $ file op
  op: ELF 32-bit LSB executable, ARM, EABI5 version 1 (FreeBSD), statically linked, stripped

Runtime testing:

  $ ssh ref12-aarch64.freebsd.org

  $ ./op
  zsh: exec format error: ./op

vs.

  $ qemu-aarch64-static ./op
  Error loading ./op

vs.

  $ qemu-arm-static ./op
  runtime: this system has multiple CPUs and must use
  atomic synchronization instructions. Recompile using GOARM=7.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 584 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20171222/11fe5951/attachment.sig>


More information about the freebsd-arm mailing list