Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99976 - gecko-sdk-1.7.8 will not compile with gcc-3.3.5
Summary: gecko-sdk-1.7.8 will not compile with gcc-3.3.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-22 20:41 UTC by Rick Harris
Modified: 2005-09-29 00:14 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Harris 2005-07-22 20:41:34 UTC
Gecko-sdk-1.7.8 fails to build with latest stable GCC (gcc-3.3.5.20050130-r1), 
error follows:    
    
gmake[3]: Entering directory    
`/var/tmp/portage/gecko-sdk-1.7.8/work/mozilla/xpcom/build'    
rm -f libxpcom.so    
i686-pc-linux-gnu-g++  -fno-rtti -fno-handle-exceptions -Wall -Wconversion    
-Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth    
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=athlon-xp    
-pipe -Wno-deprecated -Wno-return-type -w -fshort-wchar -pthread -pipe     
-DNDEBUG -DTRIMMED -ffunction-sections -O2 -fPIC -shared -Wl,-h    
-Wl,libxpcom.so -o libxpcom.so  nsXPComInit.o nsStringAPI.o          
-Wl,--whole-archive ../../dist/lib/libxpcomds_s.a ../../dist/lib/libxpcomio_s.a ../../dist/lib/libxpcomcomponents_s.a ../../dist/lib/libxpcomthreads_s.a ../../dist/lib/libxpcomproxy_s.a ../../dist/lib/libxpcombase_s.a ../../dist/lib/libxptcall.a ../../dist/lib/libxptinfo.a ../../dist/lib/libxpt.a ../../dist/lib/libxptcmd.a ../../dist/lib/libstring_s.a ../../dist/lib/libxpcomglue_s.a     
-Wl,--no-whole-archive     
-L/var/tmp/portage/gecko-sdk-1.7.8/work/mozilla/dist/lib -lplds4 -lplc4    
-lnspr4 -lpthread -ldl  -ldl -lm    
i686-pc-linux-gnu-g++: Internal error: Segmentation fault (program collect2)    
Please submit a full bug report.    
See <URL:http://bugs.gentoo.org/> for instructions.    
gmake[3]: *** [libxpcom.so] Error 1    
gmake[3]: Leaving directory    
`/var/tmp/portage/gecko-sdk-1.7.8/work/mozilla/xpcom/build'    
gmake[2]: *** [libs] Error 2    
gmake[2]: Leaving directory    
`/var/tmp/portage/gecko-sdk-1.7.8/work/mozilla/xpcom'    
gmake[1]: *** [tier_2] Error 2    
gmake[1]: Leaving directory `/var/tmp/portage/gecko-sdk-1.7.8/work/mozilla'    
make: *** [default] Error 2    
    
    
Solution:    
Stop ebuild from applying mozilla-1.7.6-gcc4.patch when gcc4 is not being    
used. 
It may still work not applying the patch at all even when using gcc4 (as was 
the case with media-video/transcode recently), untested though.
Comment 1 Joe Jezak (RETIRED) gentoo-dev 2005-09-09 16:14:03 UTC
Does this break the regular Mozilla build too?  It's the exact same ebuild (with
a modified install section) and they're not making the patch conditional.  Is
there a bug open on Mozilla if it does break?
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2005-09-09 17:46:42 UTC
I thought I had commented on this awhile ago.  Does this always fail in the same
place?  What is the output of `emerge info'?  It doesn't seem to be a widespread
problem, since I haven't seen many reports concerning this.
Comment 3 Joe Jezak (RETIRED) gentoo-dev 2005-09-29 00:14:02 UTC
Please reopen if you're still having a problem with gecko-sdk 1.7.12.