On 11/09/2016 06:53, Sami Tarazi wrote:
> sorry, Mesa built with llvm, clang and compiler rt
> sami
> 
> 
> On Sep 11, 2016 8:51 AM, "Sami Tarazi" <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     I built Mesa successful on 7.10 systemd. just remove swr from GlLL_DRV
>     sami
> 
> 
>     On Sep 10, 2016 7:55 PM, "Bruce Dubbs" <[email protected]
>     <mailto:[email protected]>> wrote:
> 
>         Pierre Labastie wrote:
> 
>             Hi,
>             With:
>             LLVM-3.9.0
>             Mesa-12.0.2
> 
>             building on real harware (Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz)
> 
>             Following the book, except I added wayland to egl-platforms. I get
>             (long lines
>             cut, so maybe not very clear):
>             --------------------
>               rasterizer/jitter/builder_x86.cpp: In member function
>             'llvm::Value* Builder::VPM
>             INSD(llvm::Value*, llvm::Value*)':
>             rasterizer/jitter/builder_x86.cpp:85:71: error: 'x86_avx2_pmins_d'
>             is not a memb
>             er of 'llvm::Intrinsic'
>                   Function *func =
>             Intrinsic::getDeclaration(JM()->mpCurrentModule, Intrinsic
>             ::x86_avx2_pmins_d);
>                                                                              
>                   ^~~~~~~~~
>             rasterizer/jitter/builder_x86.cpp: In member function
>             'llvm::Value* Builder::VPM
>             AXSD(llvm::Value*, llvm::Value*)':
>             rasterizer/jitter/builder_x86.cpp:92:71: error: 'x86_avx2_pmaxs_d'
>             is not a memb
>             er of 'llvm::Intrinsic'
>                   Function *func =
>             Intrinsic::getDeclaration(JM()->mpCurrentModule, Intrinsic
>             ::x86_avx2_pmaxs_d);
>             -----------------------
>             and similar errors.
> 
>             No time to investigate this week-end, but maybe somebody can 
> confirm.
> 
> 
>         When I built yesterday I did not use llvm.  Will investigate.
> 
>           -- Bruce
> 

@Sami: please do not top-post, but thanks for the suggestion.
@all: LLVM-3.9.0 has removed some instructions from the LLVM instruction set.
So some files in the src/gallium/drivers/swr directory have to be fixed. There
is a commit in the master branch of the source repository, but not in the 12.0
branch. I made a patch from this commit but I am not sure it is worth it: it
seems that the SWR driver is in an early development stage, and that it is not
meant to be used, at least in 12.0.x releases: it is not mentioned in the
documentation, nor in the configure help. But I may be out of my tracks here.
Douglas, since you have added the instructions to build this driver in July,
what do you think?

Regards
Pierre

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to