<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [llvmpipe] src/gallium/auxiliary/gallivm/lp_bld_debug.cpp:230:71: error: no matching function for call to ‘llvm::Target::createMCDisassembler(const llvm::MCSubtargetInfo&) const’"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77500">77500</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>brianp@vmware.com, jfonseca@vmware.com, sroland@vmware.com
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[llvmpipe] src/gallium/auxiliary/gallivm/lp_bld_debug.cpp:230:71: error: no matching function for call to ‘llvm::Target::createMCDisassembler(const llvm::MCSubtargetInfo&) const’
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>blocker
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vlee@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>mesa: 602510395a96a1f6ca29189e4f5cfb3f07f21d23 (master 10.2.0-devel)

llvmpipe fails to build with llvm-3.5svn >= r206241


$ scons
[...]
  Compiling src/gallium/auxiliary/gallivm/lp_bld_debug.cpp ...
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp: In function ‘size_t
disassemble(const void*, llvm::raw_ostream&)’:
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp:230:71: error: no matching
function for call to ‘llvm::Target::createMCDisassembler(const
llvm::MCSubtargetInfo&) const’
    OwningPtr<const MCDisassembler> DisAsm(T->createMCDisassembler(*STI));
                                                                       ^
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp:230:71: note: candidate is:
In file included from src/gallium/auxiliary/gallivm/lp_bld_debug.cpp:38:0:
llvm/include/llvm/Support/TargetRegistry.h:381:21: note: llvm::MCDisassembler*
llvm::Target::createMCDisassembler(const llvm::MCSubtargetInfo&,
llvm::MCContext&) const
     MCDisassembler *createMCDisassembler(const MCSubtargetInfo &STI,
                     ^
llvm/include/llvm/Support/TargetRegistry.h:381:21: note:   candidate expects 2
arguments, 1 provided


commit 508bd630466f9625ba07a3f601435e1ff824b768
Author: Lang Hames <<a href="mailto:lhames@gmail.com">lhames@gmail.com</a>>
Date:   Tue Apr 15 04:40:56 2014 +0000

    [MC] Require an MCContext when constructing an MCDisassembler.

    This patch re-introduces the MCContext member that was removed from
    MCDisassembler in r206063, and requires that an MCContext be passed in at
    MCDisassembler construction time. (Previously the MCContext member had been
    initialized in an ad-hoc fashion after construction). The MCCContext member
    can be used by MCDisassembler sub-classes to construct constant or
    target-specific MCExprs.

    This patch updates disassemblers for in-tree targets, and provides the
    MCRegisterInfo instance that some disassemblers were using through the
    MCContext (previously those backends were constructing their own
    MCRegisterInfo instances).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>