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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 31 22:32:10 PST 2012


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

ojab <ojab at ojab.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #56357|0                           |1
        is obsolete|                            |

--- Comment #4 from ojab <ojab at ojab.ru> 2012-01-31 22:32:10 PST ---
Created attachment 56422
  --> https://bugs.freedesktop.org/attachment.cgi?id=56422
Proposed fix for LLVM-2.7

I don't really know how to properly fix this for all targets, because
LLVM_NATIVE_ARCH in LLVM-2.7 is ${LLVM_NATIVE_ARCH}Target (X86Target for X86,
ARMTarget for ARM etc), so it's not possible to write something like
#define LLVM_ASM_PRINTER(TargetName) LLVMInitialize##TargetName##AsmPrinter();
to fix all targets. Attached patch adds defines only for for X86 and ARM, is it
sufficient, should it be added for other targets or it can be completely
skipped for LLVM < 2.8?
Patch also adds needed defines for LLVM Disassembler.

Also llvmpipe docs say that "LLVM: version 2.9 recommended; 2.6 or later
required", is it up-to-date and build should also be tested with LLVM-2.6?

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