Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Mesa does not build with GCC 5. Version-Release number of selected component (if applicable): gcc-5.0.0-0.13.fc23.x86_64 How reproducible: 100% Steps to Reproduce: 1. make 2. 3. Actual results: CXXLD gallium_drv_video.la ../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o):(.data.rel.ro._ZTV26DelegatingJITMemoryManager[_ZTV26DelegatingJITMemoryManager]+0x50): undefined reference to `llvm::RTDyldMemoryManager::getSymbolAddress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' ../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o):(.data.rel.ro._ZTV19ShaderMemoryManager[_ZTV19ShaderMemoryManager]+0x50): undefined reference to `llvm::RTDyldMemoryManager::getSymbolAddress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' Expected results: Additional info: Mesa builds on Fedora 21 with GCC 4.9.
Please read http://developerblog.redhat.com/2015/02/05/gcc5-and-the-c11-abi/ and http://developerblog.redhat.com/2015/02/10/gcc-5-in-fedora/ and In short, in F23 there is C++ ABI change and everything needs to be rebuilt, in topological order. So, in this case you need to rebuild llvm first.