Date: Mon, 06 Mar 2017 16:20:24 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 217016] graphics/libGL et. al. forces use of llvm39 when llvm40 is installed Message-ID: <bug-217016-7141-3OG4rqadkr@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-217016-7141@https.bugs.freebsd.org/bugzilla/> References: <bug-217016-7141@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217016 --- Comment #1 from Jan Beich (mail not working) <jbeich@FreeBSD.org> --- graphics/dri fails to build against devel/llvm40 but graphics/libGL and oth= er Mesa ports don't really use LLVM. In file included from draw/draw_llvm.c:45: ./gallivm/lp_bld_intr.h:69:20: error: unknown type name 'LLVMAttribute'; did you mean 'LLVMAttributeRef'? LLVMAttribute attr); ^~~~~~~~~~~~~ LLVMAttributeRef /usr/local/llvm40/include/llvm-c/Types.h:116:40: note: 'LLVMAttributeRef' declared here typedef struct LLVMOpaqueAttributeRef *LLVMAttributeRef; ^ draw/draw_llvm.c:1577:10: error: implicit declaration of function 'LLVMAddAttribute' is invalid in C99 [-Werror,-Wimplicit-function-declaration] LLVMAddAttribute(LLVMGetParam(variant_func, i), ^ draw/draw_llvm.c:1578:27: error: use of undeclared identifier 'LLVMNoAliasAttribute'; did you mean 'LLVMAddAttribute'? LLVMNoAliasAttribute); ^~~~~~~~~~~~~~~~~~~~ LLVMAddAttribute draw/draw_llvm.c:1577:10: note: 'LLVMAddAttribute' declared here LLVMAddAttribute(LLVMGetParam(variant_func, i), ^ draw/draw_llvm.c:2193:27: error: use of undeclared identifier 'LLVMNoAliasAttribute'; did you mean 'LLVMAddAttribute'? LLVMNoAliasAttribute); ^~~~~~~~~~~~~~~~~~~~ LLVMAddAttribute draw/draw_llvm.c:1577:10: note: 'LLVMAddAttribute' declared here LLVMAddAttribute(LLVMGetParam(variant_func, i), ^ --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217016-7141-3OG4rqadkr>