Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2020 16:36:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 243734] security/nss: fix build on armv6
Message-ID:  <bug-243734-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 243734
           Summary: security/nss: fix build on armv6
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: mikael@FreeBSD.org

Created attachment 211198
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D211198&action=
=3Dedit
patch

Reported by garga:

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=3Dc99
-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=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_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=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_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=3Dneon 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"

reported upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=3D1612177

--=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-243734-7788>