Bug 62170 - [bisected] R600 LLVM build broken
Summary: [bisected] R600 LLVM build broken
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-11 14:42 UTC by Bruno Jacquet (Xaapyks)
Modified: 2013-03-11 18:15 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Bruno Jacquet (Xaapyks) 2013-03-11 14:42:39 UTC
Hi,

Here's the error :
r600_shader.c: In function 'r600_shader_from_tgsi':
r600_shader.c:1256:18: error: invalid type argument of '->' (have 'struct r600_shader_ctx')

4bf0ebdd4fc8dbcab9333ff8805af35a91e6848b is the first bad commit
commit 4bf0ebdd4fc8dbcab9333ff8805af35a91e6848b
Author: Marek Olšák <maraeo@gmail.com>
Date:   Fri Mar 1 16:31:49 2013 +0100

    r600g: use a single env var R600_DEBUG, disable bytecode dumping

    Only the disassembler is used to dump shaders. Here's a few examples
    how to use R600_DEBUG.

    Log compute info:
      R600_DEBUG=compute

    Dump all shaders:
      R600_DEBUG=fs,vs,gs,ps,cs

    Dump pixel shaders only:
      R600_DEBUG=ps

    Disable Hyper-Z:
      R600_DEBUG=nohyperz

    Disable the LLVM backend:
      R600_DEBUG=nollvm

    Or use any combination of the above, or print all options:
      R600_DEBUG=help

    Reviewed-by: Tom Stellard <thomas.stellard@amd.com>

:040000 040000 faa01df772d30f39d03f80e43b1c588acb8b7060 8e6b4555de797c1736a872780b66ca53d80a736c M      src
Comment 1 Bruno Jacquet (Xaapyks) 2013-03-11 14:59:23 UTC
Oh, I'm using llvm from SVN at revision 176687 (fairly recent)
Comment 2 Bruno Jacquet (Xaapyks) 2013-03-11 18:15:27 UTC
resolved in master


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.