<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - threads_posix.h:96: undefined reference to `pthread_once'"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110663#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - threads_posix.h:96: undefined reference to `pthread_once'"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110663">bug 110663</a>
              from <span class="vcard"><a class="email" href="mailto:vlee@freedesktop.org" title="Vinson Lee <vlee@freedesktop.org>"> <span class="fn">Vinson Lee</span></a>
</span></b>
        <pre>This patch fixed my build issue.

Tested-by: Vinson Lee <<a href="mailto:vlee@freedesktop.org">vlee@freedesktop.org</a>>


(In reply to Eric Engestrom from <a href="show_bug.cgi?id=110663#c1">comment #1</a>)
<span class="quote">> This should fix your issue, but I haven't had time to dive in and see
> exactly why quad-tex uses threads.

> ----8<----
> diff --git a/src/gallium/tests/trivial/meson.build
> b/src/gallium/tests/trivial/meson.build
> index bbb25519e12ff466ce46..1f912d5aa46a16a06eda 100644
> --- a/src/gallium/tests/trivial/meson.build
> +++ b/src/gallium/tests/trivial/meson.build
> @@ -24,6 +24,7 @@ foreach t : ['compute', 'tri', 'quad-tex']
>      '@0@.c'.format(t),
>      include_directories : inc_common,
>      link_with : [libmesa_util, libgallium, libpipe_loader_dynamic],
> +    dependencies : dep_thread,
>      install : false,
>    )
>  endforeach
> ---->8----</span ></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>