Closed Bug 483135 Opened 16 years ago Closed 16 years ago

building ubuntu x86_64 fails drbg.c:507: error: size of array ‘arg’ is negative

Categories

(NSS :: Libraries, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: glenbeasley, Assigned: glenbeasley)

Details

gcc -o Linux2.6_x86_glibc_PTH_64_DBG.OBJ/Linux_SINGLE_SHLIB/drbg.o -c -g -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -D_X86_ -ansi -Wall -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -DSHLIB_SUFFIX=\"so\" -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\" -DSOFTOKEN_SHLIB_VERSION=\"3\" -DRIJNDAEL_INCLUDE_TABLES -DDEBUG -UNDEBUG -DDEBUG_gb -D_REENTRANT -DNSS_ENABLE_ECC -DNSS_ECC_MORE_THAN_SUITE_B -DUSE_UTIL_DIRECTLY -DNSS_USE_64 -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE -DMP_ASSEMBLY_DIV_2DX1D -DMP_CHAR_STORE_SLOW -DMP_IS_LITTLE_ENDIAN -DMP_API_COMPATIBLE -I../../../../dist/Linux2.6_x86_glibc_PTH_64_DBG.OBJ/include -I../../../../dist/public/nss -I../../../../dist/private/nss -Impi -Iecl drbg.c drbg.c: In function ‘RNG_RandomUpdate’: drbg.c:507: error: size of array ‘arg’ is negative make[1]: *** [Linux2.6_x86_glibc_PTH_64_DBG.OBJ/Linux_SINGLE_SHLIB/drbg.o] Error 1 make[1]: Leaving directory `/home/gb/tip/mozilla/security/nss/lib/freebl' make: *** [libs] Error 2
Yes, Glen, that's right. What causes that?
sorry I was playing with ubuntu 32 bit version. I built fine for 32 bit then set USE_64 and tried to build. The build error was at drbg.c:507 but I see from the built nspr and libssutil3.so that the build was not building 64 bit instead built libnssutil3.so: ELF 32-bit.. I have installed the 32 bit ubuntu. I see there is a 64 bit ubuntu. I will see about giving that a try. But this bug is invalid...
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.