[Mesa-dev] mesa-8.0.5: LLVM-3.2 patchset and request for cherry-picking

Sedat Dilek sedat.dilek at gmail.com
Tue Jan 22 14:32:21 PST 2013


On Tue, Jan 22, 2013 at 8:43 PM, José Fonseca <jfonseca at vmware.com> wrote:
> (Switching from dead mesa3d-dev at sf.net -> mesa-dev at fdo.org ML)
>

Thanks! (I was absent for a while as you can see.)

> On Thu, Jan 17, 2013 at 11:23 PM, Sedat Dilek <sedat.dilek at gmail.com> wrote:
>> Hi,
>>
>> with the following patchset (13 patches) I was able to build
>> mesa-8.0.5 with LLVM v3.2.
>>
>> There is one big fat patch called "gallivm,draw,llvmpipe: Support
>> wider native registers." [1] which makes backporting hard.
>> Jose?
>
> I don't understand the exact question you're asking me.
>
> Regardless you crossport this particular patch or not, you will get an
> entirely untested tree, and I can't advise you myself without spending
> considerable time looking into the code myself -- time which I really
> don't have. So I'm afraid you'll need to use your best judgment, and
> maybe do some piglit runs with llvmpipe if you want to be safer than
> sorry.
>

Yupp, mesa-8.x is not that "llvm-3.2 friendly", but with the list of
patches I could compile and run it!

Unfortunately, a self-compiled mesa-9.x (master/9.0/gles3) from GIT
breaks here compiz on Ubuntu/precise.
Unity-2D is OK.
So, you keep the original Linux graphics stack shipped with your
distro or you are alone.

- Sedat -

> Jose
>
>>
>> Regards,
>> - Sedat -
>>
>> [1] http://cgit.freedesktop.org/mesa/mesa/commit/?id=3469715
>>
>> P.S.: Patchset fixing build of mesa-8.0.5 with LLVM/CLANG v3.2
>>
>> [ gallium-auxiliary-fixes-for-8-0-5 (PENDING) ]
>> 4b7b71a rtti was removed from more llvm libraries. Thanks to d0k for
>> the hint via IRC #llvm on irc.oftc.net
>>
>> For more details see [1] and followup [2] discussion (Thanks Johannes
>> Obermayr again)!
>> [1] http://lists.freedesktop.org/archives/mesa-dev/2012-October/029167.html
>> [2] http://lists.freedesktop.org/archives/mesa-dev/2012-October/029184.html
>>
>> [ gallivm-fixes-for-8-0-5 (CHERRY-PICKED) ]
>> 920a940 gallivm: Fix createOProfileJITEventListener namespace with llvm-3.1.
>> d998daf gallivm: Add constructor for raw_debug_ostream.
>> af1f68a gallivm: Add MCRegisterInfo.h to silence benign warnings about
>> missing implementation.
>> ad88aac gallivm: Pass in a MCInstrInfo to createMCInstPrinter on llvm-3.1.
>> 395c791 gallivm: Fix method overriding in raw_debug_ostream.
>> 557632f gallivm: Use InitializeNativeTargetDisassembler().
>> 6c0144a gallivm: Pass in a MCRegisterInfo to MCInstPrinter on llvm-3.1.
>> 1bb5b0d gallivm: Initialize x86 disassembler on x86_64 too.
>> 4d25e57 gallivm: Replace architecture test with PIPE_ARCH_*
>> 192859a gallivm: Fix LLVM-2.7 build.
>> 2dfd7e5 Initialize only native LLVM Disassembler.
>>
>> [ dri-nouveau-fixes-for-8-0-5 (CHERRY-PICKED) ]
>> abd8713 dri/nouveau: don't use nested functions
>>
>> - EOT -


More information about the mesa-dev mailing list