Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2019 00:52:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 242104] security/nss: fails to build on aarch64 13-current
Message-ID:  <bug-242104-21738-9NGjMwfvgT@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-242104-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-242104-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242104

--- Comment #2 from commit-hook@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Sun Nov 24 00:51:29 UTC 2019
New revision: 518282
URL: https://svnweb.freebsd.org/changeset/ports/518282

Log:
  security/nss: unbreak aarch64 on -CURRENT

  blinit.c:159:24: error: expected readable system register
          id_aa64isar0 =3D READ_SPECIALREG(ID_AA64ISAR0_EL1);
                         ^
  /usr/include/machine/armreg.h:61:19: note: expanded from macro
'READ_SPECIALREG'
          __asm __volatile("mrs   %0, " __STRING(reg) : "=3D&r" (_val));   =
 \
                           ^
  <inline asm>:1:10: note: instantiated into assembly here
          mrs     x8, (((3) << 19) | ((0) << 16) | ((0) << 12) | ((6) << 8)=
 |
((0) << 5))
                      ^
  blinit.c:160:28: error: implicit declaration of function 'ID_AA64ISAR0_AE=
S'
is invalid in C99 [-Werror,-Wimplicit-function-declaration]
          arm_aes_support_ =3D ID_AA64ISAR0_AES(id_aa64isar0) >=3D
ID_AA64ISAR0_AES_BASE && disable_hw_aes =3D=3D NULL;
                             ^
  blinit.c:162:29: error: implicit declaration of function 'ID_AA64ISAR0_SH=
A1'
is invalid in C99 [-Werror,-Wimplicit-function-declaration]
          arm_sha1_support_ =3D ID_AA64ISAR0_SHA1(id_aa64isar0) =3D=3D
ID_AA64ISAR0_SHA1_BASE;
                              ^
  blinit.c:162:29: note: did you mean 'ID_AA64ISAR0_AES'?
  blinit.c:160:28: note: 'ID_AA64ISAR0_AES' declared here
          arm_aes_support_ =3D ID_AA64ISAR0_AES(id_aa64isar0) >=3D
ID_AA64ISAR0_AES_BASE && disable_hw_aes =3D=3D NULL;
                             ^
  blinit.c:163:29: error: implicit declaration of function 'ID_AA64ISAR0_SH=
A2'
is invalid in C99 [-Werror,-Wimplicit-function-declaration]
          arm_sha2_support_ =3D ID_AA64ISAR0_SHA2(id_aa64isar0) >=3D
ID_AA64ISAR0_SHA2_BASE;
                              ^
  blinit.c:163:29: note: did you mean 'ID_AA64ISAR0_SHA1'?
  blinit.c:162:29: note: 'ID_AA64ISAR0_SHA1' declared here
          arm_sha1_support_ =3D ID_AA64ISAR0_SHA1(id_aa64isar0) =3D=3D
ID_AA64ISAR0_SHA1_BASE;
                              ^

  PR:           242104
  Reported by:  pkg-fallout
  Submitted by: Mika?l Urankar

Changes:
  head/security/nss/files/patch-bug1575843
  head/security/nss/files/patch-lib_freebl_blinit.c

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242104-21738-9NGjMwfvgT>