All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 86760] mesa 07ae697... doesn't build: recipe for target 'r600_llvm.lo' failed
@ 2014-11-27  1:47 bugzilla-daemon
  2014-11-27  3:06 ` bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2014-11-27  1:47 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=86760

            Bug ID: 86760
           Summary: mesa 07ae697... doesn't build: recipe for target
                    'r600_llvm.lo' failed
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: wolput@onsneteindhoven.nl

Build failure in mesa 07ae697... (r600g: merge the TXQ and BUFFER constant
buffers, committer Dave Airlie)
make ends with the following error:
-----
CC r600_llvm.lo
r600_llvm.c: In function 'llvm_emit_tex':
r600_llvm.c:26:61: error: 'R600_TXQ_CONST_BUFFER' undeclared (first use in this
function)
 #define CONSTANT_TXQ_BUFFER (CONSTANT_BUFFER_0_ADDR_SPACE +
R600_TXQ_CONST_BUFFER)
                                                             ^
r600_llvm.c:693:46: note: in expansion of macro 'CONSTANT_TXQ_BUFFER'
     llvm_load_const_buffer(bld_base, offset, CONSTANT_TXQ_BUFFER),
                                              ^
r600_llvm.c:26:61: note: each undeclared identifier is reported only once for
each function it appears in
 #define CONSTANT_TXQ_BUFFER (CONSTANT_BUFFER_0_ADDR_SPACE +
R600_TXQ_CONST_BUFFER)
                                                             ^
r600_llvm.c:693:46: note: in expansion of macro 'CONSTANT_TXQ_BUFFER'
     llvm_load_const_buffer(bld_base, offset, CONSTANT_TXQ_BUFFER),
                                              ^
Makefile:813: recipe for target 'r600_llvm.lo' failed
make[3]: *** [r600_llvm.lo] Error 1
-----

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2994 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 86760] mesa 07ae697... doesn't build: recipe for target 'r600_llvm.lo' failed
  2014-11-27  1:47 [Bug 86760] mesa 07ae697... doesn't build: recipe for target 'r600_llvm.lo' failed bugzilla-daemon
@ 2014-11-27  3:06 ` bugzilla-daemon
  2014-11-27  3:18 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2014-11-27  3:06 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=86760

--- Comment #1 from Alexandre Demers <alexandre.f.demers@gmail.com> ---
Dave, compared to your original patch
(http://patchwork.freedesktop.org/patch/37363/), it seems the changes in
src/gallium/drivers/r600/r600_llvm.c are missing in the commit.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1255 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 86760] mesa 07ae697... doesn't build: recipe for target 'r600_llvm.lo' failed
  2014-11-27  1:47 [Bug 86760] mesa 07ae697... doesn't build: recipe for target 'r600_llvm.lo' failed bugzilla-daemon
  2014-11-27  3:06 ` bugzilla-daemon
@ 2014-11-27  3:18 ` bugzilla-daemon
  2014-11-27  3:19 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2014-11-27  3:18 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=86760

--- Comment #2 from Dave Airlie <airlied@freedesktop.org> ---
oops pushing fix now.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1022 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 86760] mesa 07ae697... doesn't build: recipe for target 'r600_llvm.lo' failed
  2014-11-27  1:47 [Bug 86760] mesa 07ae697... doesn't build: recipe for target 'r600_llvm.lo' failed bugzilla-daemon
  2014-11-27  3:06 ` bugzilla-daemon
  2014-11-27  3:18 ` bugzilla-daemon
@ 2014-11-27  3:19 ` bugzilla-daemon
  2014-11-27  4:03 ` [Bug 86760] mesa " bugzilla-daemon
  2014-11-27  4:12 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2014-11-27  3:19 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=86760

Dave Airlie <airlied@freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1248 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 86760] mesa doesn't build: recipe for target 'r600_llvm.lo' failed
  2014-11-27  1:47 [Bug 86760] mesa 07ae697... doesn't build: recipe for target 'r600_llvm.lo' failed bugzilla-daemon
                   ` (2 preceding siblings ...)
  2014-11-27  3:19 ` bugzilla-daemon
@ 2014-11-27  4:03 ` bugzilla-daemon
  2014-11-27  4:12 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2014-11-27  4:03 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=86760

Jos van Wolput <wolput@onsneteindhoven.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---
            Summary|mesa 07ae697... doesn't     |mesa doesn't build: recipe
                   |build: recipe for target    |for target 'r600_llvm.lo'
                   |'r600_llvm.lo' failed       |failed

--- Comment #3 from Jos van Wolput <wolput@onsneteindhoven.nl> ---
(In reply to Dave Airlie from comment #2)
> oops pushing fix now.
Dave,
it still doesn't build after your fix!
Now getting the following error (after make clean):
make
-----
  CC       r600_llvm.lo
r600_llvm.c: In function 'llvm_emit_tex':
r600_llvm.c:692:5: error: too many arguments to function
'llvm_load_const_buffer'
     llvm_load_const_buffer(bld_base, offset,
LLVM_R600_BUFFER_INFO_CONST_BUFFER,
     ^
r600_llvm.c:29:21: note: declared here
 static LLVMValueRef llvm_load_const_buffer(
                     ^
r600_llvm.c:693:42: error: expected ')' before ';' token
     lp_build_const_int32(gallivm, 0), "");
                                          ^
r600_llvm.c:691:26: error: too few arguments to function
'LLVMBuildExtractElement'
    LLVMValueRef ZLayer = LLVMBuildExtractElement(gallivm->builder,
                          ^
In file included from
../../../../src/gallium/drivers/radeon/radeon_llvm.h:30:0,
                 from r600_llvm.h:7,
                 from r600_llvm.c:1:
/usr/lib/llvm-3.5/include/llvm-c/Core.h:2700:14: note: declared here
 LLVMValueRef LLVMBuildExtractElement(LLVMBuilderRef, LLVMValueRef VecVal,
              ^
r600_llvm.c:698:3: error: expected ',' or ';' before '}' token
   }
    CC       r600_llvm.lo
r600_llvm.c: In function 'llvm_emit_tex':
r600_llvm.c:692:5: error: too many arguments to function
'llvm_load_const_buffer'
     llvm_load_const_buffer(bld_base, offset,
LLVM_R600_BUFFER_INFO_CONST_BUFFER,
     ^
r600_llvm.c:29:21: note: declared here
 static LLVMValueRef llvm_load_const_buffer(
                     ^
r600_llvm.c:693:42: error: expected ')' before ';' token
     lp_build_const_int32(gallivm, 0), "");
                                          ^
r600_llvm.c:691:26: error: too few arguments to function
'LLVMBuildExtractElement'
    LLVMValueRef ZLayer = LLVMBuildExtractElement(gallivm->builder,
                          ^
In file included from
../../../../src/gallium/drivers/radeon/radeon_llvm.h:30:0,
                 from r600_llvm.h:7,
                 from r600_llvm.c:1:
/usr/lib/llvm-3.5/include/llvm-c/Core.h:2700:14: note: declared here
 LLVMValueRef LLVMBuildExtractElement(LLVMBuilderRef, LLVMValueRef VecVal,
              ^
r600_llvm.c:698:3: error: expected ',' or ';' before '}' token
   }
   ^
r600_llvm.c:691:17: warning: unused variable 'ZLayer' [-Wunused-variable]
    LLVMValueRef ZLayer = LLVMBuildExtractElement(gallivm->builder,
                 ^
r600_llvm.c:701:13: error: invalid storage class for function 'emit_cndlt'
 static void emit_cndlt(
             ^
r600_llvm.c:715:13: error: invalid storage class for function 'dp_fetch_args'
 static void dp_fetch_args(
             ^
r600_llvm.c:752:2: error: initializer element is not constant
  .fetch_args = dp_fetch_args,
  ^
r600_llvm.c:752:2: error: (near initialization for 'dot_action.fetch_args')
r600_llvm.c:892:1: error: expected declaration or statement at end of input
 }
 ^
Makefile:813: recipe for target 'r600_llvm.lo' failed
make[3]: *** [r600_llvm.lo] Error 1
 ^
r600_llvm.c:691:17: warning: unused variable 'ZLayer' [-Wunused-variable]
    LLVMValueRef ZLayer = LLVMBuildExtractElement(gallivm->builder,
                 ^
r600_llvm.c:701:13: error: invalid storage class for function 'emit_cndlt'
 static void emit_cndlt(
             ^
r600_llvm.c:715:13: error: invalid storage class for function 'dp_fetch_args'
 static void dp_fetch_args(
             ^
r600_llvm.c:752:2: error: initializer element is not constant
  .fetch_args = dp_fetch_args,
  ^
r600_llvm.c:752:2: error: (near initialization for 'dot_action.fetch_args')
r600_llvm.c:892:1: error: expected declaration or statement at end of input
 }
 ^
Makefile:813: recipe for target 'r600_llvm.lo' failed
make[3]: *** [r600_llvm.lo] Error 1
-----

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 6117 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 86760] mesa doesn't build: recipe for target 'r600_llvm.lo' failed
  2014-11-27  1:47 [Bug 86760] mesa 07ae697... doesn't build: recipe for target 'r600_llvm.lo' failed bugzilla-daemon
                   ` (3 preceding siblings ...)
  2014-11-27  4:03 ` [Bug 86760] mesa " bugzilla-daemon
@ 2014-11-27  4:12 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2014-11-27  4:12 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=86760

Dave Airlie <airlied@freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Dave Airlie <airlied@freedesktop.org> ---
this time for sure,

I don't advice using the llvm compiler backend for r600 btw.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2070 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-11-27  4:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-27  1:47 [Bug 86760] mesa 07ae697... doesn't build: recipe for target 'r600_llvm.lo' failed bugzilla-daemon
2014-11-27  3:06 ` bugzilla-daemon
2014-11-27  3:18 ` bugzilla-daemon
2014-11-27  3:19 ` bugzilla-daemon
2014-11-27  4:03 ` [Bug 86760] mesa " bugzilla-daemon
2014-11-27  4:12 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.