All I am trying to do is simply get Uber Toolchain GCC 5.2 working on the ROM portion of a cm-12.1 build. I got it working on the kernel but every time I build the ROM I get an error. Posted below. Any help would be incredible. Thanks.
In file included from external/libcxx/include/algorithm:628:0,
from art/dalvikvm/dalvikvm.cc:21:
external/libcxx/include/memory: In member function 'virtual const void* std::__1::__shared_ptr_pointer<_Tp, _Dp, _Alloc>::__get_deleter(const std::type_info&) const':
external/libcxx/include/memory:3662:29: error: cannot use typeid with -fno-rtti
return __t == typeid(_Dp) ? &__data_.first().second() : 0;
^
external/libcxx/include/memory: In member function '_Dp* std::__1::shared_ptr<_Tp>::__get_deleter() const':
external/libcxx/include/memory:3942:73: error: cannot use typeid with -fno-rtti
{return (_Dp*)(__cntrl_ ? __cntrl_->__get_deleter(typeid(_Dp)) : 0);}
^
build/core/binary.mk:619: recipe for target '/home/zx64/android/system/out/target/product/bacon/obj/EXECUTABLES/dalvikvm_intermediates/dalvikvm..o' failed
make: *** [/home/zx64/android/system/out/target/product/bacon/obj/EXECUTABLES/dalvikvm_intermediates/dalvikvm..o] Error 1
make: *** Waiting for unfinished jobs....
In file included from external/libcxx/include/algorithm:628:0,
from art/dalvikvm/dalvikvm.cc:21:
external/libcxx/include/memory: In member function 'virtual const void* std::__1::__shared_ptr_pointer<_Tp, _Dp, _Alloc>::__get_deleter(const std::type_info&) const':
external/libcxx/include/memory:3662:29: error: cannot use typeid with -fno-rtti
return __t == typeid(_Dp) ? &__data_.first().second() : 0;
^
external/libcxx/include/memory: In member function '_Dp* std::__1::shared_ptr<_Tp>::__get_deleter() const':
external/libcxx/include/memory:3942:73: error: cannot use typeid with -fno-rtti
{return (_Dp*)(__cntrl_ ? __cntrl_->__get_deleter(typeid(_Dp)) : 0);}
^
build/core/binary.mk:619: recipe for target '/home/zx64/android/system/out/target/product/bacon/obj/EXECUTABLES/dalvikvm_intermediates/dalvikvm..o' failed
make: *** [/home/zx64/android/system/out/target/product/bacon/obj/EXECUTABLES/dalvikvm_intermediates/dalvikvm..o] Error 1
make: *** Waiting for unfinished jobs....
No comments:
Post a Comment