From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 66847] New: compilation broken with llvm 3.3 Date: Fri, 12 Jul 2013 09:21:36 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0216005754==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A9DD4E674E for ; Fri, 12 Jul 2013 02:21:36 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0216005754== Content-Type: multipart/alternative; boundary="1373620896.5686dc0.23523"; charset="us-ascii" --1373620896.5686dc0.23523 Date: Fri, 12 Jul 2013 09:21:36 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=66847 Priority: medium Bug ID: 66847 Assignee: dri-devel@lists.freedesktop.org Summary: compilation broken with llvm 3.3 Severity: normal Classification: Unclassified OS: All Reporter: marvin24@gmx.de Hardware: Other Status: NEW Version: 9.1 Component: Drivers/Gallium/r600 Product: Mesa r600 build is broken in 9.1 (stable branch) when using llvm 3.3 (also stable). I got it compiling with 0ee3cc5 r600g: Add $(DEFINES) to AM_CXXFLAGS 3a11b9b radeon/llvm: remove uneeded inclusion 1d16c20 radeon/llvm: Fix build with LLVM 3.3 from upstream plus --- a/src/gallium/drivers/r600/llvm_wrapper.cpp +++ b/src/gallium/drivers/r600/llvm_wrapper.cpp @@ -2,11 +2,13 @@ #include #if HAVE_LLVM < 0x0303 #include +#include #else #include +#include +#include #endif #include -#include #include #include #include but that doesn't seem to be sufficient because I get a lot of EE r600_asm.c:2041 r600_bytecode_build - unsupported CF instruction (0xFFFFFFFF) EE r600_shader.c:160 r600_pipe_shader_create - building bytecode failed ! EE r600_state_common.c:756 r600_shader_select - Failed to build shader variant (type=0) -22 EE r600_asm.c:2041 r600_bytecode_build - unsupported CF instruction (0xFFFFFFFF) EE r600_shader.c:160 r600_pipe_shader_create - building bytecode failed ! EE r600_state_common.c:756 r600_shader_select - Failed to build shader variant (type=0) -22 messages (this was from glxgears). I would be great if this could be fixed for Mesa-9.1.5 because many distros will use it. -- You are receiving this mail because: You are the assignee for the bug. --1373620896.5686dc0.23523 Date: Fri, 12 Jul 2013 09:21:36 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 66847
Assignee dri-devel@lists.freedesktop.org
Summary compilation broken with llvm 3.3
Severity normal
Classification Unclassified
OS All
Reporter marvin24@gmx.de
Hardware Other
Status NEW
Version 9.1
Component Drivers/Gallium/r600
Product Mesa

r600 build is broken in 9.1 (stable branch) when using llvm 3.3 (also stable).

I got it compiling with


0ee3cc5 r600g: Add $(DEFINES) to AM_CXXFLAGS
3a11b9b radeon/llvm: remove uneeded inclusion
1d16c20 radeon/llvm: Fix build with LLVM 3.3

from upstream plus


--- a/src/gallium/drivers/r600/llvm_wrapper.cpp
+++ b/src/gallium/drivers/r600/llvm_wrapper.cpp
@@ -2,11 +2,13 @@
 #include <llvm/ADT/StringRef.h>
 #if HAVE_LLVM < 0x0303
 #include <llvm/LLVMContext.h>
+#include <llvm/Support/IRReader.h>
 #else
 #include <llvm/IR/LLVMContext.h>
+#include <llvm/IRReader/IRReader.h>
+#include <llvm/IR/Module.h>
 #endif
 #include <llvm/PassManager.h>
-#include <llvm/Support/IRReader.h>
 #include <llvm/Support/MemoryBuffer.h>
 #include <llvm/Support/SourceMgr.h>
 #include <llvm/Transforms/IPO.h>

but that doesn't seem to be sufficient because I get a lot of

EE r600_asm.c:2041 r600_bytecode_build - unsupported CF instruction
(0xFFFFFFFF)
EE r600_shader.c:160 r600_pipe_shader_create - building bytecode failed !
EE r600_state_common.c:756 r600_shader_select - Failed to build shader variant
(type=0) -22
EE r600_asm.c:2041 r600_bytecode_build - unsupported CF instruction
(0xFFFFFFFF)
EE r600_shader.c:160 r600_pipe_shader_create - building bytecode failed !
EE r600_state_common.c:756 r600_shader_select - Failed to build shader variant
(type=0) -22

messages (this was from glxgears).

I would be great if this could be fixed for Mesa-9.1.5 because many distros
will use it.


You are receiving this mail because:
  • You are the assignee for the bug.
--1373620896.5686dc0.23523-- --===============0216005754== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0216005754==--