FS#23463 - [gcc 4.6] xulrunner cannot be built using gcc 4.6
Attached to Project:
Arch Linux
Opened by Frederic Bezies (fredbezies) - Sunday, 27 March 2011, 10:26 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 16 April 2011, 10:57 GMT
Opened by Frederic Bezies (fredbezies) - Sunday, 27 March 2011, 10:26 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 16 April 2011, 10:57 GMT
|
Details
I wanted this morning to build an homemade version of
mozilla minefield, using trunk source code as I do everyday
or so.
But since I installed gcc 4.6 using testing repository, I cannot get it to be built. So I reported the bug on mozilla bugzilla, cf https://bugzilla.mozilla.org/show_bug.cgi?id=645469 I wanted to verify if it was related to gcc 4.6 at all. So, after cleaning ccache cache, I grabbed xulrunner tarball, and launch build process using makepkg. And it won't work. Here is the error log : c++ -o nsWeakReference.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /home/fred/xulrunner/src/mozilla-2.0/config/gcc_hidden.h -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DTARGET_XPCOM_ABI=\"x86_64-gcc3\" -I/home/fred/xulrunner/src/mozilla-2.0/xpcom/glue/../build -I/home/fred/xulrunner/src/mozilla-2.0/xpcom/glue -I. -I../../dist/include -I../../dist/include/nsprpub -I/usr/include/nspr -I/usr/include/nss -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/nsWeakReference.pp /home/fred/xulrunner/src/mozilla-2.0/xpcom/glue/nsWeakReference.cpp /home/fred/xulrunner/src/mozilla-2.0/xpcom/glue/nsEnumeratorUtils.cpp:115:27: erreur: uninitialized const ‘EmptyEnumeratorImpl::kInstance’ [-fpermissive] /home/fred/xulrunner/src/mozilla-2.0/xpcom/glue/nsEnumeratorUtils.cpp:50:7: note: ‘const class EmptyEnumeratorImpl’ has no user-provided default constructor make[5]: *** [nsEnumeratorUtils.o] Erreur 1 make[5]: *** Attente des tâches non terminées.... /home/fred/xulrunner/src/mozilla-2.0/xpcom/glue/nsINIParser.cpp: In member function ‘nsresult nsINIParser::Init(nsILocalFile*)’: /home/fred/xulrunner/src/mozilla-2.0/xpcom/glue/nsINIParser.cpp:91:14: attention : variable ‘rv’ set but not used [-Wunused-but-set-variable] make[5] : on quitte le répertoire « /home/fred/xulrunner/src/mozilla-2.0/obj-x86_64-unknown-linux-gnu/xpcom/glue » make[4]: *** [libs] Erreur 2 make[4] : on quitte le répertoire « /home/fred/xulrunner/src/mozilla-2.0/obj-x86_64-unknown-linux-gnu/xpcom » make[3]: *** [libs_tier_platform] Erreur 2 make[3] : on quitte le répertoire « /home/fred/xulrunner/src/mozilla-2.0/obj-x86_64-unknown-linux-gnu » make[2]: *** [tier_platform] Erreur 2 make[2] : on quitte le répertoire « /home/fred/xulrunner/src/mozilla-2.0/obj-x86_64-unknown-linux-gnu » make[1]: *** [default] Erreur 2 make[1] : on quitte le répertoire « /home/fred/xulrunner/src/mozilla-2.0/obj-x86_64-unknown-linux-gnu » make: *** [build] Erreur 2 ==> ERREUR: Une erreur s'est produite dans build(). Abandon... Additional info: [fred@fredo-arch ~]$ pacman -Qi gcc | grep Version Version : 4.6.0-1 Steps to reproduce: Upgrade gcc version and try to build xulrunner. |
This task depends upon
I think they'll be more software which will be broken.