[Webkit-unassigned] [Bug 151535] New: [GTK] update-webkitgtk-libs cannot build mesa
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Nov 21 15:40:02 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=151535
Bug ID: 151535
Summary: [GTK] update-webkitgtk-libs cannot build mesa
Classification: Unclassified
Product: WebKit
Version: Other
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Gtk
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mcatanzaro at igalia.com
CC: bugs-noreply at webkitgtk.org
The problem is an LLVM API change. It works on the bots because the bots have an old version of LLVM, and mesa in the jhbuild moduleset is missing a dependency on LLVM. We need to switch to a newer version of mesa that's compatible with LLVM 3.7, or else downgrade LLVM (but that would presumably break FTL, so let's upgrade mesa). Regardless, we have to build LLVM before mesa.
/home/mcatanzaro/src/WebKit/WebKitBuild/DependenciesGTK/Source/Mesa/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp: In function âsize_t disassemble(const void*, llvm::raw_ostream&)â:
/home/mcatanzaro/src/WebKit/WebKitBuild/DependenciesGTK/Source/Mesa/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp:260:78: error: no matching function for call to âllvm::Target::createMCInstPrinter(unsigned int&, const llvm::MCAsmInfo&, const llvm::MCInstrInfo&, const llvm::MCRegisterInfo&, const llvm::MCSubtargetInfo&) constâ
T->createMCInstPrinter(AsmPrinterVariant, *AsmInfo, *MII, *MRI, *STI));
^
In file included from /home/mcatanzaro/src/WebKit/WebKitBuild/DependenciesGTK/Source/Mesa/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp:42:0:
/home/mcatanzaro/src/WebKit/WebKitBuild/DependenciesGTK/Root/include/llvm/Support/TargetRegistry.h:410:18: note: candidate: llvm::MCInstPrinter* llvm::Target::createMCInstPrinter(const llvm::Triple&, unsigned int, const llvm::MCAsmInfo&, const llvm::MCInstrInfo&, const llvm::MCRegisterInfo&) const
MCInstPrinter *createMCInstPrinter(const Triple &T, unsigned SyntaxVariant,
^
/home/mcatanzaro/src/WebKit/WebKitBuild/DependenciesGTK/Root/include/llvm/Support/TargetRegistry.h:410:18: note: no known conversion for argument 1 from âunsigned intâ to âconst llvm::Triple&â
/home/mcatanzaro/src/WebKit/WebKitBuild/DependenciesGTK/Source/Mesa/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp:280:54: error: no matching function for call to âllvm::TargetMachine::getSubtargetImpl()â
const TargetInstrInfo *TII = TM->getSubtargetImpl()->getInstrInfo();
^
In file included from /home/mcatanzaro/src/WebKit/WebKitBuild/DependenciesGTK/Source/Mesa/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp:31:0:
/home/mcatanzaro/src/WebKit/WebKitBuild/DependenciesGTK/Root/include/llvm/Target/TargetMachine.h:114:38: note: candidate: virtual const llvm::TargetSubtargetInfo* llvm::TargetMachine::getSubtargetImpl(const llvm::Function&) const
virtual const TargetSubtargetInfo *getSubtargetImpl(const Function &) const {
^
/home/mcatanzaro/src/WebKit/WebKitBuild/DependenciesGTK/Root/include/llvm/Target/TargetMachine.h:114:38: note: candidate expects 1 argument, 0 provided
/home/mcatanzaro/src/WebKit/WebKitBuild/DependenciesGTK/Source/Mesa/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp:331:40: error: no matching function for call to âllvm::MCInstPrinter::printInst(llvm::MCInst*, llvm::raw_ostream&, const char [1])â
Printer->printInst(&Inst, Out, "");
^
In file included from /home/mcatanzaro/src/WebKit/WebKitBuild/DependenciesGTK/Source/Mesa/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp:52:0:
/home/mcatanzaro/src/WebKit/WebKitBuild/DependenciesGTK/Root/include/llvm/MC/MCInstPrinter.h:72:16: note: candidate: virtual void llvm::MCInstPrinter::printInst(const llvm::MCInst*, llvm::raw_ostream&, llvm::StringRef, const llvm::MCSubtargetInfo&)
virtual void printInst(const MCInst *MI, raw_ostream &OS, StringRef Annot,
^
/home/mcatanzaro/src/WebKit/WebKitBuild/DependenciesGTK/Root/include/llvm/MC/MCInstPrinter.h:72:16: note: candidate expects 4 arguments, 3 provided
Makefile:2221: recipe for target 'gallivm/lp_bld_debug.lo' failed
make[4]: *** [gallivm/lp_bld_debug.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
ar: `u' modifier ignored since `D' is the default (see `U')
/home/mcatanzaro/src/WebKit/WebKitBuild/DependenciesGTK/Source/Mesa/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp: In function âLLVMBool lp_build_create_jit_compiler_for_module(LLVMOpaqueExecutionEngine**, lp_generated_code**, LLVMModuleRef, LLVMMCJITMemoryManagerRef, unsigned int, int, char**)â:
/home/mcatanzaro/src/WebKit/WebKitBuild/DependenciesGTK/Source/Mesa/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp:433:12: error: âclass llvm::TargetOptionsâ has no member named âJITEmitDebugInfoâ
options.JITEmitDebugInfo = true;
^
/home/mcatanzaro/src/WebKit/WebKitBuild/DependenciesGTK/Source/Mesa/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp:442:12: error: âclass llvm::TargetOptionsâ has no member named âNoFramePointerElimâ
options.NoFramePointerElim = true;
^
Makefile:2221: recipe for target 'gallivm/lp_bld_misc.lo' failed
make[4]: *** [gallivm/lp_bld_misc.lo] Error 1
make[4]: Leaving directory '/home/mcatanzaro/src/WebKit/WebKitBuild/DependenciesGTK/Build/Mesa/src/gallium/auxiliary'
Makefile:2255: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/mcatanzaro/src/WebKit/WebKitBuild/DependenciesGTK/Build/Mesa/src/gallium/auxiliary'
Makefile:579: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/mcatanzaro/src/WebKit/WebKitBuild/DependenciesGTK/Build/Mesa/src/gallium'
Makefile:667: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/mcatanzaro/src/WebKit/WebKitBuild/DependenciesGTK/Build/Mesa/src'
Makefile:607: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
*** Error during phase build of mesa: ########## Error running make -j 9 *** [31/37]
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151121/0f2c70d6/attachment.html>
More information about the webkit-unassigned
mailing list