User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30) Build Identifier: The build fails in xpcom/stub: gmake: Entering directory `/u1/src/garstow/net/firefox/work/mozilla/xpcom/stub' rm -f libxpcom.so c++ -O2 -mcpu=ultrasparc -I/usr/openwin/include -fno-rtti -fno-exceptions -Wno-long-long -pedantic -O2 -mcpu=ultrasparc -fshort-wchar -pthread -DNDEBUG -DTRIMMED -w -O2 -fPIC -G -Wl,-h,libxpcom.so -o libxpcom.so nsXPComStub.o -L/usr/local/lib -R/usr/local/lib -L../../dist/bin -L../../dist/lib -Wl,-rpath-link,../../dist/bin -lxpcom_core -L../../dist/lib -lplds4 -lplc4 -lnspr4 -L/usr/local/lib -lpthread -ldl -lrt -lsocket -ldl -lm ld: fatal: option -dn and -h are incompatible ld: fatal: option -dn and -P are incompatible ld: fatal: option -dn and -G are incompatible ld: fatal: Flags processing errors collect2: ld returned 1 exit status gmake: *** [libxpcom.so] Error 1 gmake: Leaving directory `/u1/src/garstow/net/firefox/work/mozilla/xpcom/stub' This is using gcc 4.2.1 and the Solaris ld. This is the version 2.x build of firefox I've done, so I can't confirm if it's new in 220.127.116.11. Reproducible: Always
OS: Other → Solaris
Hardware: Other → Sun
Version: unspecified → 2.0 Branch
Sun CC/cc is the recommended compiler on Solaris and it's free available with Sun Studio. Could you try Sun compiler to make the build?
gcc/g++ is not supported at this time. You can use Sun Studio 11 instead. Perhaps, just fix the ld flags, and gcc 4.2.1 would work fine. Some days ago, I fixed the ld flags and compiled trunk with gcc 3.4.3, it crashed at startup. I don't have a gcc 4.2.1 for Solaris, so I don't know. Confirm this, in case anyone would like to work on it.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Can you please update to a recent and supported version, create a fresh profile (see http://support.mozilla.com/en-US/kb/managing+profiles for more information), and test this again? If you still see this problem, please add a comment to this report and tell us your version and your operating system (Windows, Mac OS, Linux). If the problem does not happen anymore, please set the status of this report to RESOLVED > WORKSFORME. Thanks for your help!
This is against a really old version in a non-standard build configuration, so I'm just going to close it out.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.