Comment # 12
on bug 111077
from Matt Turner
(In reply to roland@rptd.ch from comment #11) > ../src/amd/common/ac_nir_to_llvm.c > ../src/amd/common/ac_nir_to_llvm.c: In function ‘ac_llvm_finalize_module’: > ../src/amd/common/ac_nir_to_llvm.c:6614: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 > [425/1549] Compiling C object > 'src/mesa/bbe4a73@@mesa_gallium@sta/main_format_utils.c.o'. > ninja: build stopped: subcommand failed. Is this during the bisect, or when? Try adding #if HAVE_LLVM >= 0x0700 #include <llvm-c/Transforms/Utils.h> #endif to the #include section of src/amd/common/ac_nir_to_llvm.c
You are receiving this mail because:
- You are the assignee for the bug.
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel