<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [dri3] Building mesa fails with dri3 enabled"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80848#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [dri3] Building mesa fails with dri3 enabled"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80848">bug 80848</a>
              from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=80848#c9">comment #9</a>)
<span class="quote">> That patch makes no difference for me.</span >

Hmm in that case I would suspect that you're hit by a more elaborate (and
different) bug than the one reported by Juha-Pekka. If the original link
succeeds and we fail at the re-linking stage, that indicates that the
LDFLAGS|LIBS are somewhat bonkers. Which one(s) I'm not sure :\

There was a mildly related issue here [1]. You're building without llvm so I'm
not sure it will help, still worth a shot though. *Apply on top of the patch in
<a href="show_bug.cgi?id=80848#c7">comment 7</a>.

Cheers,
Emil
[1] <a href="https://bugs.gentoo.org/show_bug.cgi?id=501328#c47">https://bugs.gentoo.org/show_bug.cgi?id=501328#c47</a>

Would be great if Juha-Pekka can confirm if the my patch helps in his case or
not.</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>