Bug 205935 - graphics/dri: Fails to link, mesa 11.0.8 (undefined reference to `llvm::RTDyldMemoryManager::getSymbolAddressInProcess(std:: ...)
Summary: graphics/dri: Fails to link, mesa 11.0.8 (undefined reference to `llvm::RTDyl...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2016-01-05 20:27 UTC by Martin Filla
Modified: 2018-01-13 07:54 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments
mesa 11.0.8 (201.98 KB, text/plain)
2016-01-05 20:27 UTC, Martin Filla
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Filla 2016-01-05 20:27:25 UTC
Created attachment 165118 [details]
mesa 11.0.8

Hello failed build mesa 11.0.8 

name -m = amd64
uname -r = 10.2-RELEASE-p10
uname -s = FreeBSD
uname -v = FreeBSD 10.2-RELEASE-p10 #0: Thu Dec 10 15:29:43 UTC 2015     root@amd64-builder.pcbsd.org:/usr/obj/usr/src/sys/GENERIC 


  CXXLD    pipe_r300.la
  CXXLD    pipe_r600.la
  CXXLD    pipe_radeonsi.la
  CXXLD    pipe_vmwgfx.la
  CXXLD    pipe_swrast.la
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o): In function `lp_build_create_jit_compiler_for_module':
lp_bld_misc.cpp:(.text+0x466): undefined reference to `llvm::EngineBuilder::EngineBuilder(std::unique_ptr<llvm::Module, std::default_delete<llvm::Module> >)'
lp_bld_misc.cpp:(.text+0xe55): undefined reference to `llvm::EngineBuilder::setMCJITMemoryManager(std::unique_ptr<llvm::RTDyldMemoryManager, std::default_delete<llvm::RTDyldMemoryManager> >)'
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o): In function `llvm::RTDyldMemoryManager::getSymbolAddress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
lp_bld_misc.cpp:(.text._ZN4llvm19RTDyldMemoryManager16getSymbolAddressERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN4llvm19RTDyldMemoryManager16getSymbolAddressERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x4): undefined reference to `llvm::RTDyldMemoryManager::getSymbolAddressInProcess(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o): In function `lp_build_create_jit_compiler_for_module':
lp_bld_misc.cpp:(.text+0x466): undefined reference to `llvm::EngineBuilder::EngineBuilder(std::unique_ptr<llvm::Module, std::default_delete<llvm::Module> >)'
lp_bld_misc.cpp:(.text+0xe55): undefined reference to `llvm::EngineBuilder::setMCJITMemoryManager(std::unique_ptr<llvm::RTDyldMemoryManager, std::default_delete<llvm::RTDyldMemoryManager> >)'
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o): In function `llvm::RTDyldMemoryManager::getSymbolAddress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
lp_bld_misc.cpp:(.text._ZN4llvm19RTDyldMemoryManager16getSymbolAddressERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN4llvm19RTDyldMemoryManager16getSymbolAddressERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x4): undefined reference to `llvm::RTDyldMemoryManager::getSymbolAddressInProcess(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
Makefile:932: návod pro cíl „pipe_r300.la“ selhal
gmake[5]: *** [pipe_r300.la] Chyba 1
gmake[5]: *** Čeká se na nedokončené úlohy…
Makefile:944: návod pro cíl „pipe_vmwgfx.la“ selhal
gmake[5]: *** [pipe_vmwgfx.la] Chyba 1
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o): In function `lp_build_create_jit_compiler_for_module':
lp_bld_misc.cpp:(.text+0x466): undefined reference to `llvm::EngineBuilder::EngineBuilder(std::unique_ptr<llvm::Module, std::default_delete<llvm::Module> >)'
lp_bld_misc.cpp:(.text+0xe55): undefined reference to `llvm::EngineBuilder::setMCJITMemoryManager(std::unique_ptr<llvm::RTDyldMemoryManager, std::default_delete<llvm::RTDyldMemoryManager> >)'
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o): In function `llvm::RTDyldMemoryManager::getSymbolAddress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
lp_bld_misc.cpp:(.text._ZN4llvm19RTDyldMemoryManager16getSymbolAddressERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN4llvm19RTDyldMemoryManager16getSymbolAddressERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x4): undefined reference to `llvm::RTDyldMemoryManager::getSymbolAddressInProcess(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
Makefile:941: návod pro cíl „pipe_swrast.la“ selhal
gmake[5]: *** [pipe_swrast.la] Chyba 1
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o): In function `lp_build_create_jit_compiler_for_module':
lp_bld_misc.cpp:(.text+0x466): undefined reference to `llvm::EngineBuilder::EngineBuilder(std::unique_ptr<llvm::Module, std::default_delete<llvm::Module> >)'
lp_bld_misc.cpp:(.text+0xe55): undefined reference to `llvm::EngineBuilder::setMCJITMemoryManager(std::unique_ptr<llvm::RTDyldMemoryManager, std::default_delete<llvm::RTDyldMemoryManager> >)'
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o): In function `llvm::RTDyldMemoryManager::getSymbolAddress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
lp_bld_misc.cpp:(.text._ZN4llvm19RTDyldMemoryManager16getSymbolAddressERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN4llvm19RTDyldMemoryManager16getSymbolAddressERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x4): undefined reference to `llvm::RTDyldMemoryManager::getSymbolAddressInProcess(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
Makefile:938: návod pro cíl „pipe_radeonsi.la“ selhal
gmake[5]: *** [pipe_radeonsi.la] Chyba 1
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o): In function `lp_build_create_jit_compiler_for_module':
lp_bld_misc.cpp:(.text+0x466): undefined reference to `llvm::EngineBuilder::EngineBuilder(std::unique_ptr<llvm::Module, std::default_delete<llvm::Module> >)'
lp_bld_misc.cpp:(.text+0xe55): undefined reference to `llvm::EngineBuilder::setMCJITMemoryManager(std::unique_ptr<llvm::RTDyldMemoryManager, std::default_delete<llvm::RTDyldMemoryManager> >)'
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o): In function `llvm::RTDyldMemoryManager::getSymbolAddress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
lp_bld_misc.cpp:(.text._ZN4llvm19RTDyldMemoryManager16getSymbolAddressERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN4llvm19RTDyldMemoryManager16getSymbolAddressERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x4): undefined reference to `llvm::RTDyldMemoryManager::getSymbolAddressInProcess(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
Makefile:935: návod pro cíl „pipe_r600.la“ selhal
gmake[5]: *** [pipe_r600.la] Chyba 1
gmake[5]: Opouští se adresář „/usr/ports/graphics/dri/work/mesa-11.0.8/src/gallium/targets/pipe-loader“
Makefile:578: návod pro cíl „all-recursive“ selhal
gmake[4]: *** [all-recursive] Chyba 1
gmake[4]: Opouští se adresář „/usr/ports/graphics/dri/work/mesa-11.0.8/src/gallium“
Makefile:675: návod pro cíl „all-recursive“ selhal
gmake[3]: *** [all-recursive] Chyba 1
gmake[3]: Opouští se adresář „/usr/ports/graphics/dri/work/mesa-11.0.8/src“
Makefile:620: návod pro cíl „all-recursive“ selhal
gmake[2]: *** [all-recursive] Chyba 1
gmake[2]: Opouští se adresář „/usr/ports/graphics/dri/work/mesa-11.0.8“
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/dri
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/dri
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-01-13 06:48:03 UTC
We have mesa version 17.3.1 (in the meantime was the "mesa merge". I think this is overcome by events.
Comment 2 Niclas Zeising freebsd_committer freebsd_triage 2018-01-13 07:54:05 UTC
Mesa has been updated and changed a lot since this PR.  We build the port regularly using clang/llvm (since it's the default) and there hasn't been any issues, at least for me.

If this still is a problem, please re-open this PR or create a new one.