Michał Górny identified changing commits in
https://bugs.gentoo.org/show_bug.cgi?id=522300
and prepared a patch for Gentoo.

Regards, David.

2014-09-07 19:40 GMT+02:00 Pierre Labastie <[email protected]>:
> This morning, I tried to install llvm-3.5.0 and then Mesalib-10.2.6 and got:
> [...]
>   CC       draw/draw_pt_fetch_shade_pipeline_llvm.lo
>   CXX      gallivm/lp_bld_debug.lo
>   CXX      gallivm/lp_bld_misc.lo
>   CC       cso_cache/cso_cache.lo
> gallivm/lp_bld_debug.cpp:61:32: fatal error: llvm/ADT/OwningPtr.h: No such
> file or directory
>  #include <llvm/ADT/OwningPtr.h>
>                                 ^
> compilation terminated.
> Makefile:1741: recipe for target 'gallivm/lp_bld_debug.lo' failed
> make[4]: *** [gallivm/lp_bld_debug.lo] Error 1
> make[4]: *** Waiting for unfinished jobs....
> make[4]: Leaving directory 
> '/sources/mesalib/Mesa-10.2.6/src/gallium/auxiliary'
> Makefile:1775: recipe for target 'all-recursive' failed
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory 
> '/sources/mesalib/Mesa-10.2.6/src/gallium/auxiliary'
> Makefile:529: recipe for target 'all-recursive' failed
> ------------
> And same with MesaLib-10.2.7. So I concluded (apparently wrongly) that the new
> llvm has somehow changed its header files, and that Mesa folks have not yet
> adapted their build to that. I reverted back to llvm-3.4.2 and all went fine.
>
> But now, I see:
> From Fernando's comment on Blfs-Book: [I cannot think about that now, because
> after installing Mesa-10.2.7, X
>  didn't start].
> and then
> OK, X started. (rebuilt server and drivers).
>
> Since Fernando installed llvm-3.5.0, I guess he is using that, isn't he? So
> how is it that he has not seen this error? The most likely answer is that I
> did something wrong, but what???
>
> Well, thinking a little more: I first installed directly llvm-3.5.0, there was
> not previous version. That's when I got the error. When I reverted to 3.4.2,
> the error disappeared, which means that llvm/ADT/OwningPtr.h now exists. If I
> reinstall 3.5.0, llvm/ADT/OwningPtr.h still exists, so I guess this is the
> reason why Fernando could compile Mesa...
>
> I may be wrong... Fernando, may I ask you to check that you have
> /usr/include/llvm/ADT/OwningPtr.h in the files installed by llvm-3.5.0 (either
> using the destdir install I know you do, or just checking creation dates in
> /usr/include/llvm/ADT)?
>
> If OwningPtr.h is not installed by llvm-3.5.0, we either need to supply it or
> to find a patch for MesaLib.
>
> Regards
> Pierre
> --
> http://lists.linuxfromscratch.org/listinfo/blfs-dev
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
-- 
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