Closed Bug 107644 Opened 24 years ago Closed 24 years ago

Compile of NSS fails on Solaris 8

Categories

(NSS :: Build, defect, P1)

3.3.1
Sun
Solaris
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 77788

People

(Reporter: peter.oshea, Assigned: wtc)

Details

I've run across this with recent source tarballs, as well as 0.9.4. The linking of libfreebl_pure32_3.so fails, with the following errors: Undefined first referenced symbol in file s_mpv_mul_d SunOS5.8_OPT.OBJ/mpmontg.o conv_i32_to_d32_and_d16 SunOS5.8_OPT.OBJ/mpmontg.o s_mpv_mul_d_add SunOS5.8_OPT.OBJ/mpi.o mont_mulf_noconv SunOS5.8_OPT.OBJ/mpmontg.o s_mpv_mul_d_add_prop SunOS5.8_OPT.OBJ/mpmontg.o conv_i32_to_d32 SunOS5.8_OPT.OBJ/mpmontg.o conv_i32_to_d16 SunOS5.8_OPT.OBJ/mpmontg.o ld: fatal: Symbol referencing errors. No output written to SunOS5.8_OPT.OBJ/libfreebl_pure32_3.so This is during compilation on a Sun Ultra 2 with Solaris 8, with the following configure flags: ./configure --prefix=/home/poshea/bin/mozilla \ --enable-ultrasparc --enable-crypto \ --enable-optimize=-O2 --disable-tests --disable-debug
This is a duplicate. We didn't fix this bug. This problem is caused by having CFLAGS set in your environment. The workaround is to not set CFLAGS as an environment variable. Instead, specify CFLAGS when you run configure. For example, in Bourne shell: CFLAGS=-xO2 ./configure In csh: env CFLAGS=-xO2 ./configure *** This bug has been marked as a duplicate of 77788 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Version: unspecified → 3.3.1
Ok, the build now gets past the freebl. Who'da thought having CFLAGS set would kill a build? Unfortunately, now the build fails in extensions/transformix/source/base because it can't find iostream.h. Marking verified, because nss works.
Status: RESOLVED → VERIFIED
Priority: -- → P1
Target Milestone: --- → 3.3.2
You need to log in before you can comment on or make changes to this bug.