Closed Bug 3794 Opened 26 years ago Closed 24 years ago

Lots of problems compiling NSPR on IRIX 6.2 system.

Categories

(NSPR :: NSPR, defect, P3)

SGI
IRIX
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 28711

People

(Reporter: dejong, Assigned: wtc)

References

Details

I used the CVS to download NSPR and mozilla on Thu Mar 4 1999. I was unable to compile NSPR on my IRIX 6.2 systems using egcs gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release). Here is what I did. (gcc really should be the default!) % make NS_USE_GCC=1 cd config; /opt/gnu/bin/make export make[1]: Entering directory `/tmp_mnt/project/neon/users/mo/mozilla/mozilla/nsprpub/config' gcc -o IRIX6.2_gcc_PTH_DBG.OBJ/now.o -c -g -D_PR_HAVE_SGI_PRDA_PROCMASK -Wall -Wno-format -DSVR4 -DIRIX -D_SGI_MP_SOURCE -MDupdate IRIX6.2_gcc_PTH_DBG.OBJ/.md -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_dejong now.c gcc: cannot specify -o with -c or -S and multiple compilations make[1]: *** [IRIX6.2_gcc_PTH_DBG.OBJ/now.o] Error 1 make[1]: Leaving directory `/tmp_mnt/project/neon/users/mo/mozilla/mozilla/nsprpub/config' make: *** [export] Error 2 If I changed the compile line so that the -MDupdate IRIX6.2_gcc_PTH_DBG.OBJ/.md was removed then it compiled correctly. I am not sure if this is an egcs bug or what but you might want to look into it. This seemed to fix it. make NS_USE_GCC=1 NO_MDUPDATE=1 After doing all that I still got warnings like this. gcc IRIX6.2_gcc_PTH_DBG.OBJ/now.o -n32 -Wl,-woff,85 -o IRIX6.2_gcc_PTH_DBG.OBJ/now gcc: unrecognized option `-n32' This argument should be -mabi=n32. Then after a bunch or classes compile I get this error. gcc -x assembler-with-cpp -D_ASM -mips2 -o IRIX6.2_gcc_PTH_DBG.OBJ/os_Irix.o -g -D_PR_HAVE_SGI_PRDA_PROCMASK -Wall -Wno-format -DSVR4 -DIRIX -D_SGI_MP_SOURCE -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_dejong -I../../../../../dist/IRIX6.2_gcc_PTH_DBG.OBJ/include/private -I../../../../../dist/IRIX6.2_gcc_PTH_DBG.OBJ/include -c os_Irix.s as WARNING: ABI specification -n32 conflicts with ISA specification -mips2: defaulting ISA to mips3 "os_Irix.s", line 29: error(1014): extra text after expected end of preprocessing directive # 1 "/usr/include/sys/asm.h" 1 3 ^ "/usr/include/sys/asm.h", line 20: error(1014): extra text after expected end of preprocessing directive # 1 "/usr/include/sgidefs.h" 1 3 ^ "/usr/include/sgidefs.h", line 253: error(1014): extra text after expected end of preprocessing directive # 20 "/usr/include/sys/asm.h" 2 3 ^ "os_Irix.s", line 30: error(1014): extra text after expected end of preprocessing directive # 1 "/usr/include/sys/regdef.h" 1 3 ^ 4 errors detected in the compilation of "/var/tmp/ccNnairL.s". make[4]: *** [IRIX6.2_gcc_PTH_DBG.OBJ/os_Irix.o] Error 1 make[4]: Leaving directory `/tmp_mnt/project/neon/users/mo/mozilla/mozilla/nsprpub/pr/src/md/unix'
Accepted the bug. Until we add egcs/gcc support to the NSPR build system, please see the web page http://www.mozilla.org/unix/irix.html. Which egcs/gcc configuration should we support? I understand that there are options to use the GNU ld and GNU as. It'd be a nightmare if I had to support all the possible combinations. Have you agreed on a gcc/egcs configuration? Is there a machine with the right setup locally at Netscape?
Accepted the bug. Until we add egcs/gcc support to the NSPR build system, please see the web page http://www.mozilla.org/unix/irix.html. Which egcs/gcc configuration should we support? I understand that there are options to use the GNU ld and GNU as. It'd be a nightmare if I had to support all the possible combinations. Have you agreed on a gcc/egcs configuration? Is there a machine with the right setup locally at Netscape? Akkana: does jasonh@sgi.com have a mozilla.org account? I'd like to add him to the cc list.
I could be wrong, but I was under the impression that the only combo that currently worked was egcs with the mips (not gnu) assembler. Of course, you also need to worry about the IRIX 5.x vs 6.x stuff (6.x introduces n32 binary format).
Yes, jasonh@sgi.com also confirmed that he is using egcs with the native ld and as.
NSPR now has its own Bugzilla product. Moving this bug to the NSPR product.
I could have sworn that I read somewhere that IRIX support has been added for NSPR but I just tried the CVS version from Fri Apr 30 and I got the exact same errors.
Do you still have problems compiling NSPR on IRIX 6.2 using egcs? How do people build Mozilla on IRIX?
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
I am going to resolve this bug as WONTFIX. Brian Ostrom is able to build on IRIX 6.3 using gcc. See the SeaMonkey-Ports Tinderbox page (http://tinderbox.mozilla.org/SeaMonkey-Ports/) under "inferno IRIX 6.3 Clobber apprunner". So the alternatives are either to use the native compiler or to build on IRIX 6.3.
*** Bug 5370 has been marked as a duplicate of this bug. ***
QA Contact: phillip
phillip gone, removing him from qa contact, sorry for spam
Turns out this bug was still fixed, in bug 28711.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
*** This bug has been marked as a duplicate of 28711 ***
Status: REOPENED → RESOLVED
Closed: 25 years ago24 years ago
Resolution: --- → DUPLICATE
Verified duplicate
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.