[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#947246: nss FTBFS on armel: error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"



Source: nss
Version: 2:3.47-1
Severity: serious
Tags: ftbfs
Justification: armel still is a release architecture
User: helmutg@debian.org
Usertags: rebootstrap

Since 2:3.47-1, nss fails to build from source on armel (it also fails
to cross build to armel):

https://buildd.debian.org/status/fetch.php?pkg=nss&arch=armel&ver=2%3A3.47.1-1&stamp=1575421472&raw=0
| cc -o OBJS/Linux_SINGLE_SHLIB/aes-armv8.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pipe -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC   -pipe -ffunction-sections -fdata-sections -DHAVE_STRERROR -DLINUX -Dlinux -Wall -Wshadow -Werror -DXP_UNIX -DSHLIB_SUFFIX=\"so\" -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\" -DSOFTOKEN_SHLIB_VERSION=\"3\" -DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DFREEBL_NO_DEPEND -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/usr/include/nspr -I/<<PKGBUILDDIR>>/dist/include -I/<<PKGBUILDDIR>>/dist/public/nss -I/<<PKGBUILDDIR>>/dist/private/nss -Impi -Iecl -Iverified  -std=gnu99 -march=armv8-a -mfpu=crypto-neon-fp-armv8 aes-armv8.c
| In file included from aes-armv8.c:16:
| /usr/lib/gcc/arm-linux-gnueabi/9/include/arm_neon.h:31:2: error: #error "NEON intrinsics not available with the soft-float ABI.  Please use -mfloat-abi=softfp or -mfloat-abi=hard"
|    31 | #error "NEON intrinsics not available with the soft-float ABI.  Please use -mfloat-abi=softfp or -mfloat-abi=hard"
|       |  ^~~~~

Given that 3.45 still built on armel, this is an rc bug. Also note that
nss is required for bootstrapping architectures, so armel is not
currently bootstrappable.

Helmut


Reply to: