<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - 9.2.0rc2 Locks Under Various Conditions (UVD, Stress)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=68468#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - 9.2.0rc2 Locks Under Various Conditions (UVD, Stress)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=68468">bug 68468</a>
              from <span class="vcard"><a class="email" href="mailto:adam777@gmail.com" title="adam777@gmail.com">adam777@gmail.com</a>
</span></b>
        <pre>Well, the digging phase is over, I pretty much hit a wall.

As stated above, the general bisecting idea is clear, but I'm having problem
actually building mesa.
Here what I've done:
I downloaded the PKGBUILD and needed packages (clang-svn, llvm-svn etc.) from
Laurent Carlier's folder (an Arch developer).
I modified the PKGBUILD a bit - comment out unnecessary packages
(intel-dri-git, for example).
In order to build a specific commit, I added the following line to the build()
section:

cd ${srcdir}/mesa
git checkout 5b2855bfe79bfc3995969f2bf775d89b1bc1808a

makepkg -s was invoked later, but failed pretty soon. A bit of googling and the
blame was with bison 3.0.
Since the commit I'm trying to build is from April 11th and the bison 3.0 fix
is from July 31st and since I have no idea how to backport the bison 3.0
patches, I downgraded to bison 2.7.1 from the AUR
(<a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - glsl_parser.cpp is broken with bison 3.0"
   href="show_bug.cgi?id=67354">https://bugs.freedesktop.org/show_bug.cgi?id=67354</a>).

makepkg -s then got over the problematic bison part but failed again, this time
with an error related to llvm 3.4
(<a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - broken compilation on gallivm/lp_bld_debug.cpp no matching function for call to 'llvm::Target::createMCAsmInfo(std::string&) const"
   href="show_bug.cgi?id=64590">https://bugs.freedesktop.org/show_bug.cgi?id=64590</a>).
Again, The fix is from May 14th (<a href="http://cgit.freedesktop.org/mesa/mesa/c">http://cgit.freedesktop.org/mesa/mesa/c</a> …
773efbc181), so I reverted to LLVM 3.3 and modified PKGBUILD accordingly (llvm
instead of llvm-svn etc.).

This is, unfortunately, where I got stuck.
Build fails again, with an error that seems to be related to llvm 3.4, though
I'm on 3.3.
Log is here - <a href="http://pastebin.com/DwFAVKxC">http://pastebin.com/DwFAVKxC</a>
PKGBUILD is here - <a href="http://pastebin.com/PwiZXVGv">http://pastebin.com/PwiZXVGv</a></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>