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

Dieter Nützel Dieter at nuetzel-hh.de
Fri Mar 30 07:43:19 UTC 2018


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


More information about the mesa-dev mailing list