From owner-freebsd-ports@freebsd.org Sun Oct 27 23:24:27 2019 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E454015B562 for ; Sun, 27 Oct 2019 23:24:27 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-21.consmr.mail.gq1.yahoo.com (sonic317-21.consmr.mail.gq1.yahoo.com [98.137.66.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 471YpL6WcWz4HSh for ; Sun, 27 Oct 2019 23:24:26 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: YiBJgoUVM1kjxIhxYXaOHjix3YtzhdloPW5.KfqGbcUzCHMdMNgv41MQUoq0sI3 fw.ltwCQciM2_6iPgUePKIArwyx8schIriU9WsiP9zKe6WTSv8bWzGSiFF99ucpI5GHofX07UtT2 GEoffLmugy_7Z9foG.V_EDhYSMULNlPvk5udWTtSlkBtD3W9JCDSN8NxD9JtyYbTqHAfeFScIYbx aE59pevLiIep6xJfzlDttvvALNAxVXJ3SC4tTam6vVzfhpGMV40cubuuAU3skUscP3VjBI6o3QsM zciVisVrQ4vEkT.mwhFMf1K7EYYYhDc97RdCHi3UliutPD1mnQ1XXysjAxwNmdd.rU_qLa4vU75L bvub6tSLMqq.BXZ4AX9iWVD3kOPGB5dCIp1fb6cSCXl6c2E2TuV9yLh2ZH5zPV8H1LScFVjR1O5s eMGJ7Se7j_R8T5MQnWMy6Zm2KQtg39G0yEhdqowdB36hxcnD.SYLby5XGfvilEsTwSO6gP6QdDsd wMtkOhGrHX4gKf9QbRcRqtjo_73iN8ZbYXDwgvqwI2zc_hpeAvQWIajB52pMhZfzFF0ltivpFbGO ZEdIafml7oWr3qbcNbBsmr5VO6Fc3C1PxtwgpiRRGWA8mKMS.LWH7ttWSu2D_.3wvIV1oaiuN0ik 3lxx.63SwMm5vPYSCnUoAg7mfPOH.KUZv2nx2V7MKJVY5VUIK5nU7Dld75AC.pNmnAWxL1_E2zmY kqgQdLj1qlaptqwM5JK4MFb48_sud0dbUZ9bfB9X3_UDN0adWOz2q9W17Wft90GmrBTQW1gFxkMp G_rD0kjGxMY4do2teBogz9Fycl4Rr4Y0S9Pd_RY0mlckmMCk6sRfchcLLHnbCeXfdn4vG79PbohN O_5vi85S9FbxPWs2JuLZErDRIIj_6ANHqGPdR0xj.AW_CdQUKBc5ahEoPSL539I2E4Dd3q1IhmJr PfF.hrs7bWmn9xhgIR1rr_pypHWyG.MzDsY.zzZMScVATWYMxKZNFqeZnoPJAzSWvNcrzyY.lUe5 ElUB.0bNm38zOm6H566n3EY4JkFqJTgsivS3k3nLO1USRFsxOjH.po_3fa8XVO2SDWPTCNfKDesM zPfKXWWJwgaZV56.ub6RSs0eu_RuovykdIMa2O0axVv8lZud9rEb8r5PIk_v6ncI937MMsikpBZV 3xBiG6UpDDh9QtFEDSr1MJnnpt2GGnYSd_kSWVZWsY95NoYV1tWc9r5BzGlIOF36zwid32_Rp1Lh bloKd4f5pTMyWgyLQtAzG7YkSk_kOkBAVNelXhJ5o2gMXDKKyoE4E35Jo3fZYvXLR0YMJqgnzSxp PsT64XZ2rQThS3f2wwexi6NTHF98NYE3xMzkcRsZBcf_x6f4MhhEuDcGC4Tk7nkDzuECjDCxfKgC p1lHJbnRBvOc8rloWqOWrmOwGNDhKIQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Sun, 27 Oct 2019 23:24:24 +0000 Received: by smtp401.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 683e9c03a011202aea436d31c75acfe5; Sun, 27 Oct 2019 23:24:18 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3594.4.19\)) Subject: security/nss (from head -r515742): build failure for poudriere-devel based amd64->armv7 (cortex-a7) cross build, it tried to build aes-armv8.c and failed Message-Id: Date: Sun, 27 Oct 2019 16:24:16 -0700 Cc: Jan Beich To: ports-list freebsd X-Mailer: Apple Mail (2.3594.4.19) References: X-Rspamd-Queue-Id: 471YpL6WcWz4HSh X-Spamd-Bar: / X-Spamd-Result: default: False [-0.33 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.02)[-0.022,0]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_SPAM_MEDIUM(0.19)[0.190,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[147.66.137.98.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[ip: (8.38), ipnet: 98.137.64.0/21(0.96), asn: 36647(0.77), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Oct 2019 23:24:28 -0000 For some reason security/nss tried to build "-march=3Darmv8-a = -mfpu=3Dcrypto-neon-fp-armv8 aes-armv8.c" material when targeting armv7 (cortex-a7). This did not go well . . . /nxb-bin/usr/bin/cc -o = FreeBSD13.0_OPT.OBJ/FreeBSD_SINGLE_SHLIB/aes-armv8.o -c -O2 -pipe = -mcpu=3Dcortex-a7 -I/usr/local/include/nspr -g -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/FreeBSD13.0_OPT.OBJ/include -I./../dist/public/ = -I./../dist/pr ivate/ -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=20 -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/FreeBSD13.0_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 -D NSS_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=20 -DSHA_NO_LONG_LONG -DKRML_NOUINT128 -DMP_API_COMPATIBLE = -I../../../dist/FreeBSD13.0_OPT.OBJ/include -I../../../dist/public/nss = -I../../../dist/private/nss -Impi -Iecl -Iverified -fPIC -Wall -Wno-sw itch -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\" = -DSHLI B_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_SUPP ORT -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=20 -I../../../dist/FreeBSD13.0_OPT.OBJ/include -I../../../dist/public/nss = -I../../../dist/private/nss -Impi -Iecl -Iverified -std=3Dgnu99 = -march=3Darmv8-a -mfpu=3Dcrypto-neon-fp-armv8 aes-armv8.c aes-armv8.c:13:2: error: "Compiler option is invalid" #error "Compiler option is invalid" ^ aes-armv8.c:65:17: error: implicit declaration of function 'vaeseq_u8' = is invalid in C99 [-Werror,-Wimplicit-function-declaration] state =3D vaeseq_u8(state, key1); ^ aes-armv8.c:65:15: error: assigning to 'uint8x16_t' (vector of 16 = 'uint8_t' values) from incompatible type 'int' state =3D vaeseq_u8(state, key1); ^ ~~~~~~~~~~~~~~~~~~~~~~ aes-armv8.c:66:17: error: implicit declaration of function 'vaesmcq_u8' = is invalid in C99 [-Werror,-Wimplicit-function-declaration] state =3D vaesmcq_u8(state); ^ aes-armv8.c:66:17: note: did you mean 'vaeseq_u8'? aes-armv8.c:65:17: note: 'vaeseq_u8' declared here state =3D vaeseq_u8(state, key1); ^ aes-armv8.c:66:15: error: assigning to 'uint8x16_t' (vector of 16 = 'uint8_t' values) from incompatible type 'int' state =3D vaesmcq_u8(state); ^ ~~~~~~~~~~~~~~~~~ aes-armv8.c:67:15: error: assigning to 'uint8x16_t' (vector of 16 = 'uint8_t' values) from incompatible type 'int' state =3D vaeseq_u8(state, key2); ^ ~~~~~~~~~~~~~~~~~~~~~~ aes-armv8.c:68:15: error: assigning to 'uint8x16_t' (vector of 16 = 'uint8_t' values) from incompatible type 'int' state =3D vaesmcq_u8(state); ^ ~~~~~~~~~~~~~~~~~ aes-armv8.c:69:15: error: assigning to 'uint8x16_t' (vector of 16 = 'uint8_t' values) from incompatible type 'int' state =3D vaeseq_u8(state, key3); ^ ~~~~~~~~~~~~~~~~~~~~~~ aes-armv8.c:70:15: error: assigning to 'uint8x16_t' (vector of 16 = 'uint8_t' values) from incompatible type 'int' state =3D vaesmcq_u8(state); ^ ~~~~~~~~~~~~~~~~~ aes-armv8.c:71:15: error: assigning to 'uint8x16_t' (vector of 16 = 'uint8_t' values) from incompatible type 'int' state =3D vaeseq_u8(state, key4); ^ ~~~~~~~~~~~~~~~~~~~~~~ aes-armv8.c:72:15: error: assigning to 'uint8x16_t' (vector of 16 = 'uint8_t' values) from incompatible type 'int' state =3D vaesmcq_u8(state); ^ ~~~~~~~~~~~~~~~~~ aes-armv8.c:73:15: error: assigning to 'uint8x16_t' (vector of 16 = 'uint8_t' values) from incompatible type 'int' state =3D vaeseq_u8(state, key5); ^ ~~~~~~~~~~~~~~~~~~~~~~ aes-armv8.c:74:15: error: assigning to 'uint8x16_t' (vector of 16 = 'uint8_t' values) from incompatible type 'int' state =3D vaesmcq_u8(state); ^ ~~~~~~~~~~~~~~~~~ aes-armv8.c:75:15: error: assigning to 'uint8x16_t' (vector of 16 = 'uint8_t' values) from incompatible type 'int' state =3D vaeseq_u8(state, key6); ^ ~~~~~~~~~~~~~~~~~~~~~~ aes-armv8.c:76:15: error: assigning to 'uint8x16_t' (vector of 16 = 'uint8_t' values) from incompatible type 'int' state =3D vaesmcq_u8(state); ^ ~~~~~~~~~~~~~~~~~ aes-armv8.c:77:15: error: assigning to 'uint8x16_t' (vector of 16 = 'uint8_t' values) from incompatible type 'int' state =3D vaeseq_u8(state, key7); ^ ~~~~~~~~~~~~~~~~~~~~~~ aes-armv8.c:78:15: error: assigning to 'uint8x16_t' (vector of 16 = 'uint8_t' values) from incompatible type 'int' state =3D vaesmcq_u8(state); ^ ~~~~~~~~~~~~~~~~~ aes-armv8.c:79:15: error: assigning to 'uint8x16_t' (vector of 16 = 'uint8_t' values) from incompatible type 'int' state =3D vaeseq_u8(state, key8); ^ ~~~~~~~~~~~~~~~~~~~~~~ aes-armv8.c:80:15: error: assigning to 'uint8x16_t' (vector of 16 = 'uint8_t' values) from incompatible type 'int' state =3D vaesmcq_u8(state); ^ ~~~~~~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=3D] 20 errors generated. gmake[4]: *** [../../coreconf/rules.mk:393: = FreeBSD13.0_OPT.OBJ/FreeBSD_SINGLE_SHLIB/aes-armv8.o] Error 1 gmake[4]: Leaving directory = '/wrkdirs/usr/ports/security/nss/work/nss-3.47/nss/lib/freebl' gmake[3]: *** [Makefile:653: libs] Error 2 gmake[3]: Leaving directory = '/wrkdirs/usr/ports/security/nss/work/nss-3.47/nss/lib/freebl' gmake[2]: *** [../coreconf/rules.mk:101: libs] Error 2 gmake[2]: Leaving directory = '/wrkdirs/usr/ports/security/nss/work/nss-3.47/nss/lib' gmake[1]: *** [coreconf/rules.mk:101: libs] Error 2 gmake[1]: Leaving directory = '/wrkdirs/usr/ports/security/nss/work/nss-3.47/nss' *** Error code 1 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)