You are not logged in.
Hi @all,
I'm trying to build firefox-gtk3 from the AUR. Sadly, it fails with this error message:
checking for gcc c++0x headers bug without rtti... yes
configure: error: Your toolchain does not support C++0x/C++11 mode properly. Please upgrade your toolchain
------ config.log ------
confdefs.h:13:16: error: expected unqualified-id before 'unsigned'
#define size_t unsigned
^
confdefs.h:13:16: error: expected unqualified-id before 'unsigned'
#define size_t unsigned
^
In file included from /usr/include/c++/4.9.2/memory:79:0,
from configure:10760:
/usr/include/c++/4.9.2/functional:1849:26: error: '_M_max_size' was not declared in this scope
&& sizeof(_Functor) <= _M_max_size
^
/usr/include/c++/4.9.2/functional:1850:31: error: '_M_max_align' was not declared in this scope
&& __alignof__(_Functor) <= _M_max_align
^
/usr/include/c++/4.9.2/functional:1851:7: error: '_M_max_align' was not declared in this scope
&& (_M_max_align % __alignof__(_Functor) == 0));
^
configure: failed program was:
#line 10759 "configure"
#include "confdefs.h"
#include <memory>
int main() {
; return 0; }
configure: error: Your toolchain does not support C++0x/C++11 mode properly. Please upgrade your toolchain
*** Fix above errors and then restart with\
"make -f client.mk build"
checking for gcc c++0x headers bug without rtti... yes
configure: error: Your toolchain does not support C++0x/C++11 mode properly. Please upgrade your toolchain
------ config.log ------
confdefs.h:13:16: error: expected unqualified-id before 'unsigned'
#define size_t unsigned
^
confdefs.h:13:16: error: expected unqualified-id before 'unsigned'
#define size_t unsigned
^
In file included from /usr/include/c++/4.9.2/memory:79:0,
from configure:10760:
/usr/include/c++/4.9.2/functional:1849:26: error: '_M_max_size' was not declared in this scope
&& sizeof(_Functor) <= _M_max_size
^
/usr/include/c++/4.9.2/functional:1850:31: error: '_M_max_align' was not declared in this scope
&& __alignof__(_Functor) <= _M_max_align
^
/usr/include/c++/4.9.2/functional:1851:7: error: '_M_max_align' was not declared in this scope
&& (_M_max_align % __alignof__(_Functor) == 0));
^
configure: failed program was:
#line 10759 "configure"
#include "confdefs.h"
#include <memory>
int main() {
; return 0; }
configure: error: Your toolchain does not support C++0x/C++11 mode properly. Please upgrade your toolchain
*** Fix above errors and then restart with\
"make -f client.mk build"I've googled a bit, but couldn't find a solution. GCC Version is up to date, so I'm a bit confused. Can someone give me a hint?
Many thanks! ![]()
Last edited by Thorsten Reinbold (2014-11-29 22:39:38)
Offline
Moving to AUR Issues...
Offline
Ooops. Sorry 'bout that.
Offline
I've tried it again. The first abourt occured very quick after beginning to compile. Now, it fails after a very long time.
resource://gre/modules/InsecurePasswordUtils.jsm
Traceback (most recent call last):
File "/home/nordlicht/AUR/firefox-gtk3/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 402, in <module>
main()
File "/home/nordlicht/AUR/firefox-gtk3/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 394, in main
args.source, gre_path, base)
File "/home/nordlicht/AUR/firefox-gtk3/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 158, in precompile_cache
errors.fatal('Error while running startup cache precompilation')
File "/home/nordlicht/AUR/firefox-gtk3/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 101, in fatal
self._handle(self.FATAL, msg)
File "/home/nordlicht/AUR/firefox-gtk3/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 96, in _handle
raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilationOffline
Now I've tried to rebuild the official Firefox-Version from Extra. Same error here, so I guess there is something wrong with my setup. I don't have an Idea what it could be, building other Tools is working perfectly.
Offline
Solved by adding -mno-avx to CPPFLAGS.
Offline