svn commit: r524147 - in head/security: ca_root_nss nss

Mikaël Urankar mikael.urankar at gmail.com
Mon Jan 27 21:12:52 UTC 2020


Le lun. 27 janv. 2020 à 19:16, Renato Botelho <garga at freebsd.org> a écrit :
>
> On 25/01/20 21:20, Jan Beich wrote:
> > Author: jbeich
> > Date: Sun Jan 26 00:20:01 2020
> > New Revision: 524147
> > URL: https://svnweb.freebsd.org/changeset/ports/524147
> >
> > Log:
> >    security/nss: update to 3.49.2
> >
> >    Changes:   https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.49.2_release_notes
> >    Changes:   https://hg.mozilla.org/projects/nss/shortlog/NSS_3_49_2_RTM
> >    ABI:               https://abi-laboratory.pro/tracker/timeline/nss/
> >    Reported by:       Repology
>
> After this change it started failing to build on 11.3-STABLE armv6 with
> the following error:
>
> /nxb-bin/usr/bin/cc -o
> FreeBSD11.3_OPT.OBJ/FreeBSD_SINGLE_SHLIB/gcm-arm32-neon.o -c -std=c99
> -O2 -pipe  -I/usr/local/include/nspr -fstack-protector-strong
> -fno-strict-aliasing   -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
> -DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments
> -Wno-parentheses-equality -Wno-array-bounds -Wno-unevaluated-expression
> -Werror -DXP_UNIX -UDEBUG -DNDEBUG -D_THREAD_SAFE -D_REENTRANT
> -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT
> -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
> -I./../dist/FreeBSD11.3_OPT.OBJ/include -I./../dist/public/
> -I./../dist/private/   -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
> -DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments
> -Wno-parentheses-equality -Wno-array-bounds -Wno-unevaluated-expression
> -Werror -DXP_UNIX -UDEBUG -DNDEBUG -D_THREAD_SAFE -D_REENTRANT
> -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT
> -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
> -I../../dist/FreeBSD11.3_OPT.OBJ/include -I../../dist/public/
> -I../../dist/private/   -fPIC -Wall -Wno-switch -DFREEBSD
> -DHAVE_STRERROR -DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments
> -Wno-parentheses-equality -Wno-array-bounds -Wno-unevaluated-expression
> -Werror -DXP_UNIX -DSHLIB_SUFFIX=\"so\" -DSHLIB_PREFIX=\"lib\"
> -DSHLIB_VERSION=\"3\" -DSOFTOKEN_SHLIB_VERSION=\"3\"
> -DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG -D_THREAD_SAFE -D_REENTRANT
> -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT
> -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DFREEBL_LOWHASH
> -DUSE_HW_AES -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE
> -DMP_USE_UINT_DIGIT -DSHA_NO_LONG_LONG  -DKRML_NOUINT128
> -DMP_API_COMPATIBLE -I../../../dist/FreeBSD11.3_OPT.OBJ/include
> -I../../../dist/public/nss -I../../../dist/private/nss -Impi -Iecl
> -Iverified   -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
> -DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments
> -Wno-parentheses-equality -Wno-array-bounds -Wno-unevaluated-expression
> -Werror -DXP_UNIX -DSHLIB_SUFFIX=\"so\" -DSHLIB_PREFIX=\"lib\"
> -DSHLIB_VERSION=\"3\" -DSOFTOKEN_SHLIB_VERSION=\"3\"
> -DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG -D_THREAD_SAFE -D_REENTRANT
> -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT
> -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DFREEBL_LOWHASH
> -DUSE_HW_AES -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE
> -DMP_USE_UINT_DIGIT -DSHA_NO_LONG_LONG  -DKRML_NOUINT128
> -DMP_API_COMPATIBLE -I../../../dist/FreeBSD11.3_OPT.OBJ/include
> -I../../../dist/public/nss -I../../../dist/private/nss -Impi -Iecl
> -Iverified  -mfpu=neon gcm-arm32-neon.c
> In file included from gcm-arm32-neon.c:16:
> /nxb-bin/usr/lib/clang/8.0.1/include/arm_neon.h:28:2: error: "NEON
> support not enabled"
> #error "NEON support not enabled"
>   ^
> 1 error generated.
> gmake[4]: *** [../../coreconf/rules.mk:393:
> FreeBSD11.3_OPT.OBJ/FreeBSD_SINGLE_SHLIB/gcm-arm32-neon.o] Error 1
> gmake[4]: Leaving directory
> '/wrkdirs/usr/ports/security/nss/work/nss-3.49.2/nss/lib/freebl'
> gmake[3]: *** [Makefile:655: libs] Error 2
> gmake[3]: Leaving directory
> '/wrkdirs/usr/ports/security/nss/work/nss-3.49.2/nss/lib/freebl'
> gmake[2]: *** [../coreconf/rules.mk:101: libs] Error 2
> gmake[2]: Leaving directory
> '/wrkdirs/usr/ports/security/nss/work/nss-3.49.2/nss/lib'
> gmake[1]: *** [coreconf/rules.mk:101: libs] Error 2
> gmake[1]: Leaving directory
> '/wrkdirs/usr/ports/security/nss/work/nss-3.49.2/nss'
> *** Error code 1

Try this patch : http://mikael.urankar.free.fr/FreeBSD/arm/security_nss.patch
Clang only compiles neon code for armv7+, we need to compile
gcm-arm32-neon.c with march=armv7.


More information about the svn-ports-head mailing list