pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

More info on MesaLib compile problem



I send an email a few days ago asking if anyone had problems with compiling MesaLib on current (8.99.34), amd64.  I haven't heard anything back, so I thought I'd try and provide more information.

The error message is this:

c.cpp:(.text._ZN4llvm19RTDyldMemoryManager10findSymbolERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN4llvm19RTDyldMemoryManager10findSymbolERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x1e): undefined reference to `llvm::RTDyldMemoryManager::getSymbolAddressInProcess(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ld: ../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o): in function `non-virtual thunk to llvm::RTDyldMemoryManager::findSymbol(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
lp_bld_misc.cpp:(.text._ZN4llvm19RTDyldMemoryManager10findSymbolERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN4llvm19RTDyldMemoryManager10findSymbolERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x5a): undefined reference to `llvm::RTDyldMemoryManager::getSymbolAddressInProcess(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
gmake[3]: *** [Makefile:787: gallium_drv_video.la] Error 1
gmake[3]: Leaving directory '/usr/pkgsrc/graphics/MesaLib/work/mesa-11.2.2/src/gallium/targets/va'

**********

The subdirectory where the crash occurs is in "/usr/pkgsrc/graphics/MesaLib/work/mesa-11.2.2/src/gallium/targets/va."  As you can see, there is an "undefined reference to `llvm::RTDyldMemoryManager::getSymbolAddressInProcess(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'

It also says the offending line is Makefile:787.  Unfortunately I don't currently have this as I'm trying another rebuild.

Any help would be greatly appreciated as some many other programs are dependent on this package.  Thanks.


Home | Main Index | Thread Index | Old Index