Skip to content
Snippets Groups Projects
Closed (moved) Firefox ESR 31 does need a newer compiler than GCC 4.4 on Linux
  • View options
  • Firefox ESR 31 does need a newer compiler than GCC 4.4 on Linux

  • View options
  • Closed (moved) Issue created by Georg Koppen

    Since bug 894242 landed (https://bugzilla.mozilla.org/show_bug.cgi?id=894242) building with GCC 4.4 out-of-the-box is not possible anymore:

    configure: error: Your toolchain does not support C++0x/C++11 mode properly. Please upgrade your toolchain
    ------ config.log ------
    #include "confdefs.h"
    #include <sys/utsname.h>
    int main() {
     struct utsname *res; char *domain;
                (void)uname(res);  if (res != 0) { domain = res->__domainname; } 
    ; return 0; }
    configure:10345: checking for gcc c++0x headers bug without rtti
    configure:10357: c++ -c  -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x  conftest.C 1>&5
    In file included from /usr/include/c++/4.4/memory:83,
                     from configure:10351:
    /usr/include/c++/4.4/bits/shared_ptr.h: In member function 'virtual void* std::_Sp_counted_deleter<_Ptr, _Deleter, _Alloc, _Lp>::_M_get_deleter(const std::type_info&)':
    /usr/include/c++/4.4/bits/shared_ptr.h:146: error: cannot use typeid with -fno-rtti
    /usr/include/c++/4.4/bits/shared_ptr.h: In member function 'virtual void* std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_M_get_deleter(const std::type_info&)':
    /usr/include/c++/4.4/bits/shared_ptr.h:204: error: cannot use typeid with -fno-rtti
    /usr/include/c++/4.4/bits/shared_ptr.h: In constructor 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, _Alloc, _Args&& ...)':
    /usr/include/c++/4.4/bits/shared_ptr.h:861: error: cannot use typeid with -fno-rtti
    /usr/include/c++/4.4/bits/shared_ptr.h: In function '_Del* std::get_deleter(const std::__shared_ptr<_Tp2, _Lp>&)':
    /usr/include/c++/4.4/bits/shared_ptr.h:1005: error: cannot use typeid with -fno-rtti
    configure: failed program was:
    #line 10350 "configure"
    #include "confdefs.h"
    #include <memory>
    int main() {
    
    ; return 0; }
    *** Fix above errors and then restart with               "make -f client.mk build"
    make: *** [configure] Error 1

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading