OK so I should stay away from gcc when compiling NSS on HP11? In the meantime, I got past the problem described in previous email. The big hangup at the start was with the +Z directive in coreconf/HP-UX.mk. I replaced this with -fpic. I believe +Z for creating position independent code was not working, and -fpic achieves the same thing. Is this a known problem on HP? But now I get the following, which tells me to *report this bug* (What is a *.s file anyway? Never used one before):
---------------------------------------------------------------------------- ------------------------------------ make[5]: Entering directory `/tmp_mnt/home/pcesard/nss/hpbuild/nss-3.3.1/mozilla/nsprpub/pr/src/md/unix' gcc -o HP-UXB.11.00_gcc_OPT.OBJ/os_HPUX.o -O -fPIC -DHPUX -Dhppa -D_HPUX_SOURCE -DH AVE_POINTER_LOCALTIME_R -DHPUX10 -DHPUX11 -D_LARGEFILE64_SOURCE -D_PR_HAVE_O FF64_T -DHAVE_FCNTL_FILE_LOCKING -D_POSIX_C_SOURCE=199506L -D_PR_HAVE_THREAD SAFE_GETHOST -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -DXP_UNI X -UDEBUG -DNDEBUG -D_NSPR_BUILD_ -I../../../../../dist/HP-UXB.11.00_gcc_OPT .OBJ/include -I../../../../pr/include -I../../../../pr/include/private -c os_HPUX.s os_HPUX.s: Assembler messages: os_HPUX.s:35: Error: Unrecognized .LEVEL argument os_HPUX.s:35: Error: Rest of line ignored. First ignored character is `2'. os_HPUX.s:47: Internal error, aborting at ./config/tc-hppa.c line 4503 Please report this bug. ---------------------------------------------------------------------------- ------------------------------------ -- Patrick "Wan-Teh Chang" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED].; > Patrick wrote: > > > > > It *looks like* the build scripts are broken when using gcc as the > > compiler??? At least on HP11... > > > We do support gcc on some platforms. On HP-UX we only > support the HP C compilers. > > Wan-Teh > > >
