Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228717 - net-libs/xulrunner-1.9 patch to build on sparc-solaris
Summary: net-libs/xulrunner-1.9 patch to build on sparc-solaris
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Solaris
: High normal (vote)
Assignee: Gentoo non-Linux Team
URL: https://bugzilla.mozilla.org/show_bug...
Whiteboard:
Keywords:
Depends on: 222619 222625 228711
Blocks: xul-1.9 228721
  Show dependency tree
 
Reported: 2008-06-21 10:57 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2010-09-18 11:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xulrunner-1.9-sparc-solaris.patch (xulrunner-1.9-sparc-solaris.patch,389 bytes, patch)
2008-06-21 10:58 UTC, Chí-Thanh Christopher Nguyễn
Details | Diff
xulrunner-1.9-jemalloc-sparc-solaris.patch (xulrunner-1.9-jemalloc-sparc-solaris.patch,576 bytes, patch)
2008-06-21 11:20 UTC, Chí-Thanh Christopher Nguyễn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chí-Thanh Christopher Nguyễn gentoo-dev 2008-06-21 10:57:37 UTC
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.
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2008-06-21 10:58:25 UTC
Created attachment 157887 [details, diff]
xulrunner-1.9-sparc-solaris.patch

patch to make xulrunner-1.9 build on sparc-solaris
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2008-06-21 11:20:59 UTC
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
Comment 3 Fabian Groffen gentoo-dev 2008-06-24 12:14:05 UTC
FYI: My (slow) Sun Blade 100 and (apparently) missing patches for GCC ( :( ) are delaying progress here.
Comment 4 Fabian Groffen gentoo-dev 2008-06-25 18:34:40 UTC
I finally managed to emerge it ;)
Comment 5 Jory A. Pratt gentoo-dev 2010-09-14 03:21:07 UTC
Reopening as I am not tracking it upstream to resolve bug as soon as possible.
Comment 6 Jory A. Pratt gentoo-dev 2010-09-18 11:14:30 UTC
Modified patch has landed upstream :)

http://hg.mozilla.org/mozilla-central/rev/56d0ec3da918