[Mesa-dev] [Bug 44564] Fix build with LLVM -DLLVM_TARGETS_TO_BUILD=`native`

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 10 08:56:58 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=44564

--- Comment #3 from Vinson Lee <vlee at freedesktop.org> 2012-01-10 08:56:58 PST ---
(In reply to comment #2)
> Anyway, Mesa doesn't need LLVM libraries except in `$LLVM_CONFIG --libs engine`
> to build/run?

I tried the SCons build using 'llvm-config --libs engine' and Mesa fails to
build.

$ scons
[...]
  Linking build/linux-x86_64-debug/gallium/drivers/llvmpipe/lp_test_blend ...
build/linux-x86_64-debug/gallium/drivers/llvmpipe/lp_test_blend.o: In function
`test_one':
mesa/src/gallium/drivers/llvmpipe/lp_test_blend.c:691: undefined reference to
`LLVMWriteBitcodeToFile'
build/linux-x86_64-debug/gallium/auxiliary/libgallium.a(lp_bld_debug.os): In
function `llvm::InitializeAllDisassemblers()':
/usr/lib/llvm-2.8/include/llvm/Config/Disassemblers.def:27: undefined reference
to `LLVMInitializeARMDisassembler'

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list