[Mesa-dev] Bug: could not compile mesa because of lacking component

Gustaw Smolarczyk wielkiegie at gmail.com
Mon Mar 14 12:50:58 PDT 2011


Yes, it works that way too. This way all libs are linked, but ld
ignores unused ones (they're static libs), so it shouldn't be any
problem.

2011/3/14 José Fonseca <jfonseca at vmware.com>:
> On Mon, 2011-03-14 at 10:55 -0700, Gustaw Smolarczyk wrote:
>> The commit 110f5e2056f80d0b87f2a4388bc35727070ba6d5 was meant to fix
>> this build error, but it only add x86disassembler. The macro
>> InitializeAllDisassemblers() (from llvm/Target/TargetSelect.h)
>> initializes *all* disassemblers build with llvm (in my case: X86 and
>> Arm; this is precompiled package from ubuntu 11.04), but we only link
>> with X86 one.
>>
>> The attached patch fixes it by initializing only X86 disassembler. I
>> understand that this is the only backend we support now, right?
>
> It's the only one we test , but I'd like to avoid tying the code
> exclusively to X86.
>
> Could you try the attached patch instead?
>
> Jose
>


More information about the mesa-dev mailing list