Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Nov 2020 16:01:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 250956] security/nss: does not build for armv6
Message-ID:  <bug-250956-21738-pqfHt0DME1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-250956-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-250956-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gecko (Nobody)
<gecko@FreeBSD.org> for maintainer-feedback:
Bug 250956: security/nss: does not build for armv6
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250956



--- Description ---
The port fails trying to build NEON support, on a compiler that doesn't know
how. I've attached a patch that disables NEON on armv6, which builds
successfully.

Host: 12.2-RELEASE/amd64
Target: 12.2-RELEASE/armv6 via poudriere & QEMU

Error message:

cc -o FreeBSD12.2_OPT.OBJ/FreeBSD_SINGLE_SHLIB/gcm-arm32-neon.o -c -std=3Dc=
99 -O
-pipe =C2=A0-I/usr/local/include/nspr -Wno-error=3Dunused-function
-fstack-protector-strong -fno-strict-aliasing =C2=A0 -fPIC -Wall -Wno-switch
-DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments
-Wno-parentheses-equality -Wno-array-bounds -Wno-unevaluated-expression
-DNSS_NO_GCC48 -DXP_UNIX -UDEBUG -DNDEBUG -D_THREAD_SAFE -D_REENTRANT
-DNSS_DISABLE_AVX2 -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I./../dist/FreeBSD12.2_OPT.OBJ/include -I./../dist/public/
-I./../dist/private/ =C2=A0 -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERR=
OR
-DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments -Wno-parentheses-equality
-Wno-array-bounds -Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX -UDE=
BUG
-DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_DISABLE_AVX2 -DNSS_NO_INIT_SUPPO=
RT
-DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I./../dist/FreeBSD12.2_OPT.OBJ/include -I./../dist/public/
-I./../dist/private/ =C2=A0 -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERR=
OR
-DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments -Wno-parentheses-equality
-Wno-array-bounds -Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX -UDE=
BUG
-DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_DISABLE_AVX2 -DNSS_NO_INIT_SUPPO=
RT
-DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I../../dist/FreeBSD12.2_OPT.OBJ/include -I../../dist/public/
-I../../dist/private/ =C2=A0 -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRER=
ROR
-DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments -Wno-parentheses-equality
-Wno-array-bounds -Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX
-DSHLIB_SUFFIX=3D\"so\" -DSHLIB_PREFIX=3D\"lib\" -DSHLIB_VERSION=3D\"3\"
-DSOFTOKEN_SHLIB_VERSION=3D\"3\" -DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG
-D_THREAD_SAFE -D_REENTRANT -DNSS_DISABLE_AVX2 -DNSS_NO_INIT_SUPPORT
-DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DFREEBL_LOWHASH -DUSE_HW_AES
-DUSE_HW_SHA1 -DUSE_HW_SHA2 -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE
-DMP_USE_UINT_DIGIT -DSHA_NO_LONG_LONG =C2=A0-DKRML_VERIFIED_UINT128
-DMP_API_COMPATIBLE -I../../../dist/FreeBSD12.2_OPT.OBJ/include
-I../../../dist/public/nss -I../../../dist/private/nss -Impi -Iecl -Iverifi=
ed
-Iverified/kremlin/include -Iverified/kremlin/kremlib/dist/minimal -Ideprec=
ated
=C2=A0 -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK -=
Wall
-Wshadow -Qunused-arguments -Wno-parentheses-equality -Wno-array-bounds
-Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX -DSHLIB_SUFFIX=3D\"so\"
-DSHLIB_PREFIX=3D\"lib\" -DSHLIB_VERSION=3D\"3\" -DSOFTOKEN_SHLIB_VERSION=
=3D\"3\"
-DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG -D_THREAD_SAFE -D_REENTRANT
-DNSS_DISABLE_AVX2 -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-DFREEBL_LOWHASH -DUSE_HW_AES -DUSE_HW_SHA1 -DUSE_HW_SHA2
-DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE -DMP_USE_UINT_DIGIT
-DSHA_NO_LONG_LONG =C2=A0-DKRML_VERIFIED_UINT128 -DMP_API_COMPATIBLE
-I../../../dist/FreeBSD12.2_OPT.OBJ/include -I../../../dist/public/nss
-I../../../dist/private/nss -Impi -Iecl -Iverified -Iverified/kremlin/inclu=
de
-Iverified/kremlin/kremlib/dist/minimal -Ideprecated =C2=A0-mfpu=3Dneon
gcm-arm32-neon.c
In file included from gcm-arm32-neon.c:16:
/usr/lib/clang/10.0.1/include/arm_neon.h:28:2: error: "NEON support not
enabled"
#error "NEON support not enabled"
=C2=A0^
1 error generated.
gmake[5]: *** [../../coreconf/rules.mk:292:
FreeBSD12.2_OPT.OBJ/FreeBSD_SINGLE_SHLIB/gcm-arm32-neon.o] Error 1



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