<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - compiling glsl fails with undefined reference to `pthread_create'"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101071#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - compiling glsl fails with undefined reference to `pthread_create'"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101071">bug 101071</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><span class="quote">> [piotro@minimyth-dev ~]$ ldd -r
> /home/piotro/minimyth-dev/images/build/usr/lib/gcc/x86_64-minimyth-linux-gnu/
> 5.3.0/libstdc++.so
>         linux-vdso.so.1 (0x00007ffee99fd000)
>         libm.so.6 => /usr/lib/libm.so.6 (0x00007faef68e6000)
>         libc.so.6 => /usr/lib/libc.so.6 (0x00007faef6542000)
>         /usr/lib64/ld-linux-x86-64.so.2 (0x000055db774d7000)
>         libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007faef632b000)</span >

Right, so the libstdc++.so is fine and the link error is misleading.

<span class="quote">> why then I hasn't any issues like this with last 10.0 ... 17.0 mesa versions?</span >

Your guess is as good as mine. As you can see in the command line we explicitly
request linkage against libpthread.so (the -lpthread bit), yet GCC fails to do
so.

Couple of things to check:
 - does the minimyth environment have a libpthread.so library?
 - can you trace that correct one is attempted/used in the process?</pre>
        </div>
      </p>


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

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