From: bugzilla-daemon@freedesktop.org Subject: [Bug 86760] mesa doesn't build: recipe for target 'r600_llvm.lo' failed Date: Thu, 27 Nov 2014 04:03:49 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0886499999==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id DF4996E009 for ; Wed, 26 Nov 2014 20:03:49 -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 --===============0886499999== Content-Type: multipart/alternative; boundary="1417061029.5c76c5dF1.19017"; charset="UTF-8" --1417061029.5c76c5dF1.19017 Date: Thu, 27 Nov 2014 04:03:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=86760 Jos van Wolput 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 --- (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. --1417061029.5c76c5dF1.19017 Date: Thu, 27 Nov 2014 04:03:49 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 86760
What Removed Added
Status RESOLVED REOPENED
Resolution FIXED ---
Summary mesa 07ae697... doesn't build: recipe for target 'r600_llvm.lo' failed mesa doesn't build: recipe for target 'r600_llvm.lo' failed

Comment # 3 on bug 86760 from
(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.
--1417061029.5c76c5dF1.19017-- --===============0886499999== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0886499999==--