[Mesa-dev] [radv] compilation error with 'latest' LLVM (#4e45b963bcd)

Mike Lothian mike at fireburn.co.uk
Fri Mar 30 09:17:50 UTC 2018


I've submitted a patch for this, it was a change in the llvm-c includes

On Fri, 30 Mar 2018 at 08:43 Dieter Nützel <Dieter at nuetzel-hh.de> wrote:

> make[4]: Verzeichnis „/opt/mesa/src/amd/vulkan“ wird betreten
>    CC       radv_nir_to_llvm.lo
> radv_nir_to_llvm.c: In function ‘ac_llvm_finalize_module’:
> radv_nir_to_llvm.c:2874:2: error: implicit declaration of function
> ‘LLVMAddPromoteMemoryToRegisterPass’; did you mean
> ‘LLVMAddDemoteMemoryToRegisterPass’?
> [-Werror=implicit-function-declaration]
>    LLVMAddPromoteMemoryToRegisterPass(passmgr);
>    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    LLVMAddDemoteMemoryToRegisterPass
> cc1: some warnings being treated as errors
> make[4]: *** [Makefile:983: radv_nir_to_llvm.lo] Fehler 1
>
> Thanks and
> Happy Easter!
>
> Dieter
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180330/97a5c385/attachment.html>


More information about the mesa-dev mailing list