Full_Name: Matt Hoosier Version: openpkg 20030324, mozilla 20030316 OS: SunOS 5.9 Submission from: (NULL) (129.130.10.83)
The NSPR bundled with Mozilla (1.3) doesn't build on the Sun platform. Configuration succeeds, but compilation fails when an attempted link is aborted claiming that the file 'nsprmap.sun' (one of the files to be linked into a library) has an unknown type. Since NSPR depends heavily on the threading model, I have tried several threading options (--with-pthreads, --with-native-threads), but these don't seem to affect the error. The same version of Mozilla builds cleanly on Debian 3.0/Intel. Error trace below (built as "cw" user): > $rpm --rebuild mozilla-1.3-20030316.src.rpm > Executing(%prep): env -i /cw/lib/openpkg/bash --norc --noprofile --posix -e /cw/RPM/TMP/rpm-tmp.15276 > > ... > /cw/bin/cc -B/usr/ccs/bin/ -shared -Wl,-h,libnspr4.so,-z,combreloc,-z,defs -Wl,-f,\$ORIGIN/cpu/\$ISALIST/libnspr_flt4.so -o libnspr4.so -Wl,-M,./nsprmap.sun ./prvrsion.o io/./prfdcach.o io/./prmwait.o io/./prmapopt.o io/./priometh.o io/./pripv6.o io/./prlayer.o io/./prlog.o io/./prmmap.o io/./prpolevt.o io/./prprf.o io/./prscanf.o io/./prstdio.o threads/./prcmon.o threads/./prrwlock.o threads/./prtpd.o linking/./prlink.o malloc/./prmem.o md/./prosdep.o memory/./prshm.o memory /./prshma.o memory/./prseg.o misc/./pralarm.o misc/./pratom.o misc/./prcountr.o misc/./prdtoa.o misc/./prenv.o misc/./prerr.o misc/./prerror.o misc/./prerrortab le.o misc/./prinit.o misc/./prinrval.o misc/./pripc.o misc/./prlog2.o misc/./prlong.o misc/./prnetdb.o misc/./prolock.o misc/./prrng.o misc/./prsystem.o misc/./prthinfo.o misc/./prtpool.o misc/./prtrace.o misc/./prtime.o malloc/./prmalloc.o pthreads/./ptsynch.o pthreads/./ptio.o threads/./ptthread.o pthreads/./ptmisc.o md/unix/./unix.o md/unix/./unix_errors.o md/unix/./uxproces.o md/unix/./uxrng.o md/unix/./uxshm.o md/unix/./uxwrap.o md/unix/./solaris.o md/unix/./os_SunOS.o -lpthread -lthread -lrt -lsocket -lnsl -ldl -lc ./nsprmap.sun: file not recognized: File format not recognized collect2: ld returned 1 exit status make[4]: *** [libnspr4.so] Error 1 make[3]: *** [export] Error 2 make[2]: *** [export] Error 2 make[1]: *** [nspr] Error 2 make: *** [default] Error 2 error: Bad exit status from /cw/RPM/TMP/rpm-tmp.7988 (%build) ______________________________________________________________________ The OpenPKG Project www.openpkg.org Bug Database Interface www.openpkg.org/bugdb Bug Database List [EMAIL PROTECTED]
