dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.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	[thread overview]
Message-ID: <bug-88209-502-AAQXfJmJF2@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-88209-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 1497 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 2757 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

       reply	other threads:[~2015-01-08 18:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-88209-502@http.bugs.freedesktop.org/>
2015-01-08 18:21 ` bugzilla-daemon [this message]
2015-01-09  9:53 ` [Bug 88209] HAVE_LLVM undelcared in r600_pipe_common.c if enable_r600_llvm not set bugzilla-daemon
2015-01-09 14:25 ` bugzilla-daemon
2015-01-23 21:51 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-88209-502-AAQXfJmJF2@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox