[Mesa-dev] [Bug 45420] undefined reference to `LLVMInitializeARMDisassembler'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 1 22:12:50 PST 2012


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

--- Comment #6 from Vinson Lee <vlee at freedesktop.org> 2012-02-01 22:12:50 PST ---
(In reply to comment #5)
> 
> The ability to build with LLVM-2.6 is still useful for now, as it is one of the
> most stable LLVM releases for us ever.
> 
> But the ability to disassemble w/ LLVM 2.7 or eralier is not really important
> (as most developers will have recent LLVM anyway), so we could simply cut our
> losses and do:
> 
> --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
> +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
> @@ -172,7 +172,7 @@ public:
>  extern "C" void
>  lp_disassemble(const void* func)
>  {
> -#if HAVE_LLVM >= 0x0207
> +#if HAVE_LLVM >= 0x0208
>     using namespace llvm;
> 
>     const uint8_t *bytes = (const uint8_t *)func;
> 
> Vinson, I don't have LLVM 2.7. Could you verify either ojab's or my change
> fixes the build issue?

The build failure in comment #3 doesn't occur with llvm-2.6. Only the build
with llvm-2.7 is failing.

Jose, your patch fixes the build for llvm-2.7. The llvm-2.6 build is unaffected
and still completes.

Tested-by: Vinson Lee <vlee at freedesktop.org>

-- 
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