Closed Bug 1821347 Opened 3 years ago Closed 3 years ago

Facing build issue with powerpc

Categories

(NSS :: Build, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1687164

People

(Reporter: sangeethaeng2017, Unassigned)

References

Details

Steps to reproduce:

Facing build issue while cross compiling nss for Freescale P2020-RDB Board (powerpc).

Here is the build options:

powerpc-linux-gnuspe-gcc -o Linux5.4_ppc_glibc_PTH_OPT.OBJ/Linux_SINGLE_SHLIB/sha512.o -c -std=c99 -O2 -fPIC   -pipe -ffunction-sections -fdata-sections -DHAVE_STRERROR -DLINUX -Dlinux -Wall -Wshadow -DNSS_NO_GCC48 -DXP_UNIX -DXP_UNIX -UDEBUG -DNDEBUG -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -DSDB_MEASURE_USE_TEMP_DIR -D_REENTRANT -DSHLIB_SUFFIX=\"so\" -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\" -DSOFTOKEN_SHLIB_VERSION=\"3\" -DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -DSDB_MEASURE_USE_TEMP_DIR -D_REENTRANT -DNSS_DISABLE_AVX2 -DNSS_NO_INIT_SUPPORT -DNSS_DISABLE_ALTIVEC -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DFREEBL_NO_DEPEND -DFREEBL_LOWHASH -DKRML_VERIFIED_UINT128 -DMP_API_COMPATIBLE -I../../../dist/Linux5.4_ppc_glibc_PTH_OPT.OBJ/include -I../../../dist/public/nss -I../../../dist/private/nss -Impi -Iecl -Iverified -Iverified/kremlin/include -Iverified/kremlin/kremlib/dist/minimal -Ideprecated  -funroll-loops -fpeel-loops -mcrypto -mvsx sha512.c

Actual results:

sha512.c:1:0: warning: -mvsx requires hardware floating point
/*
^
sha512.c:1:0: error: AltiVec and SPE instructions cannot coexist

Duplicate of this bug: 1821346

A workaround for this was added in Bug 1687164. Please try setting the environment variable NSS_DISABLE_CRYPTO_VSX=1 prior to running make.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Duplicate of bug: 1687164
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.