Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 228717
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo non-Linux Team <alt@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Chí-Thanh Christopher Nguyễn <chithanh@cs.tu-berlin.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
xulrunner-1.9-sparc-solaris.patch xulrunner-1.9-sparc-solaris.patch patch Chí-Thanh Christopher Nguyễn 2008-06-21 10:58 0000 389 bytes Details | Diff
xulrunner-1.9-jemalloc-sparc-solaris.patch xulrunner-1.9-jemalloc-sparc-solaris.patch patch Chí-Thanh Christopher Nguyễn 2008-06-21 11:20 0000 576 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 228717 depends on: 222619 222625 228711 Show dependency tree
Bug 228717 blocks: 213296 228721
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-06-21 10:57 0000
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 From Chí-Thanh Christopher Nguyễn 2008-06-21 10:58:25 0000 -------
Created an attachment (id=157887) [details]
xulrunner-1.9-sparc-solaris.patch

patch to make xulrunner-1.9 build on sparc-solaris

------- Comment #2 From Chí-Thanh Christopher Nguyễn 2008-06-21 11:20:59 0000 -------
Created an attachment (id=157891) [details]
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 From Fabian Groffen 2008-06-24 12:14:05 0000 -------
FYI: My (slow) Sun Blade 100 and (apparently) missing patches for GCC ( :( )
are delaying progress here.

------- Comment #4 From Fabian Groffen 2008-06-25 18:34:40 0000 -------
I finally managed to emerge it ;)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug