g++ -o nsViewManager.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -I../../dist/include/xpcom -I../../dist/include/string -I../../dist/include/gfx -I../../dist/include/layout -I../../dist/include/content -I../../dist/include/widget -I../../dist/include/dom -I../../dist/include/locale -I../../dist/include/pref -I../../dist/include/necko -I../../dist/include/view -I../../dist/include -I/var/tmp/portage/mozilla-thunderbird-0.5-r1/work/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -frtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -O2 -march=pentium4 -pipe -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s -fforce-addr -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsViewManager.pp nsViewManager.cpp ../../dist/include/gfx/nsRegion.h: In member function `PRBool nsViewManager::CanScrollWithBitBlt(nsView*)': ../../dist/include/gfx/nsRegion.h:237: Error: `nsRegion::nsRegion(const nsRegion&)' is private nsViewManager.cpp:2882: Error: within this context ../../dist/include/gfx/nsRegion.h: In member function `virtual nsresult nsViewManager::Display(nsIView*, nscoord, nscoord, const nsRect&)': ../../dist/include/gfx/nsRegion.h:237: Error: `nsRegion::nsRegion(const nsRegion&)' is private nsViewManager.cpp:3288: Error: within this context gmake[3]: *** [nsViewManager.o] Error 1 gmake[3]: Leaving directory `/tmp/portage/mozilla-thunderbird-0.5-r1/work/mozilla/view/src' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/tmp/portage/mozilla-thunderbird-0.5-r1/work/mozilla/view' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/tmp/portage/mozilla-thunderbird-0.5-r1/work/mozilla' make: *** [default] Error 2 !!! ERROR: net-mail/mozilla-thunderbird-0.5-r1 failed. !!! Function src_compile, Line 166, Exitcode 2 !!! (no error message) used USE-flags: crypt xinerama used cc: gcc-Version 3.4.0 (Gentoo Hardened Linux 3.4.0, pie-8.5.3) I expierenced the same with: gcc-Version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
Created attachment 30095 [details, diff] Proposed patch for compiling thunderbird with gcc 3.4 (untested) This patch solves the problem for mozilla-firefox and mozilla-1.6 I guess it will also solve it for thunderbird. To me this looks like a gcc-3.4 only problem. Are you _sure_ that you have seen the same error when compiling with gcc-3.3?
Sven, you say this patch fixes mozilla and mozilla-firefox... Have you tested them? Is there another bug to which this is related?
Yes, I have successfully compiled firefox and mozilla with this patch and gcc-3.4. Both work fine. I have filed a bug against the mozilla-ebuild for the problem: #49049 and then there is the "original"-Bug for firefox: #47870
Well, it doesn't apply to mozilla-thunderbird-0.6, so closing this bug. Tracking any remaining mozilla-thunderbird-0.6 / gcc-3.4 stuff in bug 49229