[PATCH] e2k is 64-bit architecture too
Categories
(NSS :: Build, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: shigorin, Assigned: shigorin)
Details
Attachments
(1 file)
957 bytes,
patch
|
jcj
:
review+
|
Details | Diff | Splinter Review |
Please consider applying this trivial patch adding e2k to 64-bit target architecture list (done against hg trunk).
Assignee | ||
Comment 1•4 years ago
|
||
PS: the problem is alike to bug 1389056, build failed due to NSS_USE_64 being not set:
gcc -MMD -MF obj/lib/freebl/freeblpriv3.drbg.o.d '-DSHLIB_SUFFIX="so"' '-DSHLIB_PREFIX="lib"' '-DSHLIB_VERSION="3"' '-DSOFTOKEN_SHLIB_VERSION="3"' -DRIJNDAEL_INCLUDE_TABLES -DMP_API_COMPATIBLE -DKRML_VERIFIED_UINT128 -DFREEBL_LOWHASH -DFREEBL_NO_DEPEND -DNSS_FIPS_DISABLED -DNSS_NO_INIT_SUPPORT -DSEED_ONLY_DEV_URANDOM -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DLINUX2_1 -DLINUX -Dlinux -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -DSQL_MEASURE_USE_TEMP_DIR -DHAVE_STRERROR -DXP_UNIX -D_REENTRANT -DNDEBUG -I../../lib/freebl/mpi -I../../lib/freebl/ecl -I../../lib/freebl/verified -I../../lib/freebl/verified/kremlin/include -I../../lib/freebl/verified/kremlin/kremlib/dist/minimal -I../../lib/freebl/deprecated -I/usr/include/nspr -I/usr/src/RPM/BUILD/nss-3.55.0/dist/private/nss -I/usr/src/RPM/BUILD/nss-3.55.0/dist/public/nss -fPIC -pipe -ffunction-sections -fdata-sections -Werror -Wall -Wshadow -O2 -std=c99 -c ../../lib/freebl/drbg.c -o obj/lib/freebl/freeblpriv3.drbg.o
lcc: "/usr/include/nspr/prtypes.h", line 556: error #94: the size of an array
must be greater than zero
extern void pr_static_assert(int arg[(condition) ? 1 : -1])
^
in expansion of macro "PR_STATIC_ASSERT" at line 609 of
"../../lib/freebl/drbg.c"
PR_STATIC_ASSERT(sizeof(size_t) <= 4);
^
Assignee | ||
Comment 2•4 years ago
|
||
PPS: the browser built with nss patched this way actually works for me.
Comment 3•4 years ago
|
||
Comment 4•4 years ago
|
||
Thanks for this fix! Try push in progress: https://treeherder.mozilla.org/#/jobs?repo=nss-try&revision=4767448ef85b
Comment 5•4 years ago
|
||
Assignee | ||
Comment 6•4 years ago
|
||
Thank you, JC ;-) I've verified revision 4767448ef85b to build on e2k.
Description
•