Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Sep 2020 13:30:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 249053] security/nss: fails to build on aarch64
Message-ID:  <bug-249053-21738-aWTAK2B4L1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-249053-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-249053-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=3D249053

--- Comment #1 from Mikael Urankar <mikael@FreeBSD.org> ---
I put some dlerror() in devel/nspr (nspr/pr/src/linking/prlink.c), here are=
 the
logs:
/usr/ports/security/nss/work/nss-3.56/nss/cmd/shlibsign/FreeBSD13.0_OPT.OBJ=
/shlibsign
-v -i
/usr/ports/security/nss/work/nss-3.56/nss/cmd/shlibsign/../../../dist/FreeB=
SD13.0_OPT.OBJ/lib/libsoftokn3.so
Error 0.2: Undefined symbol "nspr_use_zone_allocator"
moduleSpec configdir=3D'' certPrefix=3D'' keyPrefix=3D'' secmod=3D'' flags=
=3DnoCertDB,
noModDB
Error 3:
/usr/ports/security/nss/work/nss-3.56/nss/cmd/shlibsign/../../../dist/FreeB=
SD13.0_OPT.OBJ/lib/libfreeblpriv3.so:
Undefined symbol "gcm_HashInit_hw"
Error 3: Cannot open
"../../../nss/lib/softoken/FreeBSD13.0_OPT.OBJ/libfreeblpriv3.so"
Error 3:
/usr/ports/security/nss/work/nss-3.56/nss/cmd/shlibsign/../../../dist/FreeB=
SD13.0_OPT.OBJ/lib/libfreeblpriv3.so:
Undefined symbol "gcm_HashInit_hw"
C_Initialize failed: 0x00000030, CKR_DEVICE_ERROR=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
NSPR error code: -5977: Failure to load dynamic library
Initiailzing softoken failed: 0x00000030, CKR_DEVICE_ERROR=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
NSPR error code: -5977: Failure to load dynamic library

gcm_HashInit_hw is implemented in gcm-aarch64.c but is not compiled for
aarch64/FreeBSD

I'm still digging...

--=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-249053-21738-aWTAK2B4L1>