Bug 1193198 - Mesa build error with GCC 5
Summary: Mesa build error with GCC 5
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-16 20:37 UTC by Vinson Lee
Modified: 2015-02-16 20:44 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-02-16 20:44:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Vinson Lee 2015-02-16 20:37:02 UTC
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.

Comment 1 Jakub Jelinek 2015-02-16 20:44:27 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.