Build failed on RHEL 5.6
ramosian-glider opened this issue · 2 comments
ramosian-glider commented
Originally reported on Google Code with ID 2
I have 64 bit RHEL 5.6, when i try to compile clang build failed. When I go to lib/Transforms/Instrumentation/
and run make, here is the output:
[root@nntcl28-2qcht clang_build_Linux]# cd lib/Transforms/Instrumentation/
[root@nntcl28-2qcht Instrumentation]# make
llvm[0]: Compiling AddressSanitizer.cpp for Release+Asserts build
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/tr1/functional:
In static member function ‘static bool std::tr1::_Function_base::_Base_manager<_Functor>::_M_manager(std::tr1::_Any_data&,
const std::tr1::_Any_data&, std::tr1::_Manager_operation)’:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/tr1/functional:904:
error: cannot use typeid with -fno-rtti
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/tr1/functional:
In static member function ‘static bool std::tr1::_Function_base::_Ref_manager<_Functor>::_M_manager(std::tr1::_Any_data&,
const std::tr1::_Any_data&, std::tr1::_Manager_operation)’:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/tr1/functional:982:
error: cannot use typeid with -fno-rtti
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/tr1/functional_iterate.h:
In static member function ‘static bool std::tr1::_Function_handler<void ()(), _Member
_Class::*>::_M_manager(std::tr1::_Any_data&, const std::tr1::_Any_data&, std::tr1::_Manager_operation)’:
tr1 headers can't be compiled without rtti but it seems option -fno-rtti presented
in makefiles. I hope this is root case that my build failed.
Reported by pvdemenko
on 2011-06-24 09:44:20
ramosian-glider commented
ouch, this is 4.1.2
I afraid we are not going to support such an old version.
Reported by konstantin.s.serebryany
on 2011-06-24 17:13:16
- Status changed:
WontFix
ramosian-glider commented
Adding Project:AddressSanitizer as part of GitHub migration.
Reported by ramosian.glider
on 2015-07-30 09:12:57
- Labels added: ProjectAddressSanitizer