Bug 83636 - [LLVM 3.5] Mesa32 build failure with LLVM 3.5.
Summary: [LLVM 3.5] Mesa32 build failure with LLVM 3.5.
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-08 23:23 UTC by Aaron B
Modified: 2014-09-22 17:21 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Aaron B 2014-09-08 23:23:01 UTC
gallivm/lp_bld_debug.cpp:246:79: note: candidate is:
In file included from gallivm/lp_bld_debug.cpp:41:0:
/usr/include/llvm/Support/TargetRegistry.h:384:21: note: llvm::MCDisassembler* llvm::Target::createMCDisassembler(const llvm::MCSubtargetInfo&) const
     MCDisassembler *createMCDisassembler(const MCSubtargetInfo &STI) const {
                     ^
/usr/include/llvm/Support/TargetRegistry.h:384:21: note:   candidate expects 1 argument, 2 provided
Makefile:1706: recipe for target 'gallivm/lp_bld_debug.lo' failed

Seems they changed the arguments on this function or something along those lines.
Comment 1 Emil Velikov 2014-09-22 17:21:19 UTC
Should be resolved with the following. Feel free to reopen if it's still an issue.

commit f23d1160c24e16ced319d838ed3102b731c2ff03
Author: Roland Scheidegger <sroland@vmware.com>
Date:   Wed Apr 16 03:46:20 2014 +0200

    gallivm: fix compilation with llvm 3.5 r206241+

    Just adjust to the ever-changing API, pass in MCContext when creating the
    MCDisassembler.


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.