From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88209] HAVE_LLVM undelcared in r600_pipe_common.c if enable_r600_llvm not set Date: Thu, 08 Jan 2015 18:21:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1465454346==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 305946E773 for ; Thu, 8 Jan 2015 10:21:55 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1465454346== Content-Type: multipart/alternative; boundary="1420741315.00a23C0.11429"; charset="UTF-8" --1420741315.00a23C0.11429 Date: Thu, 8 Jan 2015 18:21:55 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=88209 athomas@synexxus.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|HAVE_LLVM undelcared in:q |HAVE_LLVM undelcared in | |r600_pipe_common.c if | |enable_r600_llvm not set --- Comment #1 from athomas@synexxus.com --- HAVE_LLVM is only established by configure.ac if LLVM_CONFIG = yes. LLVM_CONFIG will only be "yes" if enable_r600_llvm is specified. If HAVE_LLVM is not declared, then the build of mesa/mesa/src/gallium/drivers/radeon/r600_pipe_common.c DEFINES="${DEFINES} -DHAVE_LLVM=0x0$LLVM_VERSION_INT -DLLVM_VERSION_PATCH=$LLVM_VERSION_PATCH" Fails with: make[3]: Entering directory '/home/jessie/xserver_tmp/src/mesa/mesa/src/gallium/drivers/radeon' CC r600_pipe_common.lo r600_pipe_common.c: In function 'r600_get_compute_param': r600_pipe_common.c:503:40: error: 'HAVE_LLVM' undeclared (first use in this function) if (rscreen->family <= CHIP_ARUBA || HAVE_LLVM < 0x0306) { ^ r600_pipe_common.c:503:40: note: each undeclared identifier is reported only once for each function it appears in Makefile:668: recipe for target 'r600_pipe_common.lo' failed make[3]: *** [r600_pipe_common.lo] Error 1 -- You are receiving this mail because: You are the assignee for the bug. --1420741315.00a23C0.11429 Date: Thu, 8 Jan 2015 18:21:55 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 88209
What Removed Added
Summary HAVE_LLVM undelcared in:q HAVE_LLVM undelcared in r600_pipe_common.c if enable_r600_llvm not set

Comment # 1 on bug 88209 from

HAVE_LLVM is only established by configure.ac if LLVM_CONFIG = yes. LLVM_CONFIG
will only be "yes" if enable_r600_llvm is specified. If HAVE_LLVM is not
declared, then the build of
mesa/mesa/src/gallium/drivers/radeon/r600_pipe_common.c

DEFINES="${DEFINES} -DHAVE_LLVM=0x0$LLVM_VERSION_INT
-DLLVM_VERSION_PATCH=$LLVM_VERSION_PATCH"


Fails with:
make[3]: Entering directory
'/home/jessie/xserver_tmp/src/mesa/mesa/src/gallium/drivers/radeon'
  CC       r600_pipe_common.lo
r600_pipe_common.c: In function 'r600_get_compute_param':
r600_pipe_common.c:503:40: error: 'HAVE_LLVM' undeclared (first use in this
function)
   if (rscreen->family <= CHIP_ARUBA || HAVE_LLVM < 0x0306) {
                                        ^
r600_pipe_common.c:503:40: note: each undeclared identifier is reported only
once for each function it appears in
Makefile:668: recipe for target 'r600_pipe_common.lo' failed
make[3]: *** [r600_pipe_common.lo] Error 1


You are receiving this mail because:
  • You are the assignee for the bug.
--1420741315.00a23C0.11429-- --===============1465454346== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1465454346==--