<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] update-webkitgtk-libs cannot build mesa"
   href="https://bugs.webkit.org/show_bug.cgi?id=151535">151535</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[GTK] update-webkitgtk-libs cannot build mesa
          </td>
        </tr>

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

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>WebKit Gtk
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mcatanzaro&#64;igalia.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>bugs-noreply&#64;webkitgtk.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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&amp;)’:
/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&amp;, const llvm::MCAsmInfo&amp;, const llvm::MCInstrInfo&amp;, const llvm::MCRegisterInfo&amp;, const llvm::MCSubtargetInfo&amp;) const’
          T-&gt;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&amp;, unsigned int, const llvm::MCAsmInfo&amp;, const llvm::MCInstrInfo&amp;, const llvm::MCRegisterInfo&amp;) const
   MCInstPrinter *createMCInstPrinter(const Triple &amp;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&amp;’
/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-&gt;getSubtargetImpl()-&gt;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&amp;) const
   virtual const TargetSubtargetInfo *getSubtargetImpl(const Function &amp;) 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&amp;, const char [1])’
       Printer-&gt;printInst(&amp;Inst, Out, &quot;&quot;);
                                        ^
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&amp;, llvm::StringRef, const llvm::MCSubtargetInfo&amp;)
   virtual void printInst(const MCInst *MI, raw_ostream &amp;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]</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>