net-libs/xulrunner-1.9 fails build on sparc-solaris. Reproducible: Always Steps to Reproduce: 1. emerge net-libs/xulrunner Actual Results: sparc-sun-solaris2.10-g++ -DGENTOO_NSPLUGINS_DIR=\"/home/pub/lib/gentoo-prefix/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/home/pub/lib/gentoo-prefix/usr/lib/nsbrowser/plugins\" -fno-rtti -fno-handle-exceptions -Wno-long-long -Wno-return-type -w -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2 -fPIC -G -Wl,-h,libxul.so -o libxul.so -lpthread -z ignore -R '$ORIGIN:$ORIGIN/..' -Wl,-rpath-link,../../dist/bin -Wl,--whole-archive ../../embedding/browser/gtk/src/libgtkembedmoz.a ../../toolkit/xre/libxulapp_s.a ../../extensions/java/xpcom/src/libjavaxpcom.a -Wl,--no-whole-archive -L../../dist/bin -L../../dist/lib -L../../dist/bin -lxpcom -lxpcom_core -L../../dist/bin -Wl,-R/home/pub/lib/gentoo-prefix/usr/lib/nspr -L/home/pub/lib/gentoo-prefix/usr/lib/nspr -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lposix4 -L../../dist/bin -lmozjs -Wl,-R/home/pub/lib/gentoo-prefix/usr/lib/nspr -L/home/pub/lib/gentoo-prefix/usr/lib/nspr -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lposix4 -lX11 -lsocket -lnsl -L/home/pub/lib/gentoo-prefix/usr/lib -lXft -lXrender -lfontconfig -lfreetype -lz -lX11 -L/home/pub/lib/gentoo-prefix/usr/lib -lgtk-x11-2.0 -latk-1.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lintl -liconv -lXt -lgthread-2.0 -L/home/pub/lib/gentoo-prefix/usr/lib -lfreetype -lz -lelf -ldemangle -lCstd -lsocket -ldl -lm /home/pub/lib/gentoo-prefix/usr/lib/gcc/sparc-sun-solaris2.10/4.2.4/../../../../sparc-sun-solaris2.10/bin/ld: cannot find -lCstd collect2: ld returned 1 exit status Expected Results: Don't fail. The libraries -lCstd -ldemangle are part of the Sun Studio Compiler Collection, xulrunner can be built without them. Patch coming up.
Created attachment 157887 [details, diff] xulrunner-1.9-sparc-solaris.patch patch to make xulrunner-1.9 build on sparc-solaris
Created attachment 157891 [details, diff] xulrunner-1.9-jemalloc-sparc-solaris.patch Second part of the patch, taken from http://hg.mozilla.org/index.cgi/mozilla-central/rev/663c51189e98
FYI: My (slow) Sun Blade 100 and (apparently) missing patches for GCC ( :( ) are delaying progress here.
I finally managed to emerge it ;)
Reopening as I am not tracking it upstream to resolve bug as soon as possible.
Modified patch has landed upstream :) http://hg.mozilla.org/mozilla-central/rev/56d0ec3da918