[Mesa-dev] [Bug 101071] compiling glsl fails with undefined reference to `pthread_create'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 17 12:24:08 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101071

--- Comment #1 from Emil Velikov <emil.l.velikov at gmail.com> ---
Seems like the cross-compiled libstdc++.so is missing the pthread symbol.
Something like the following will help you check if that's the case.

1) setup your platforms so the custom DSO's are detected. For example
$export LD_LIBRARY_PATH=/home/piotro/minimyth-dev/images/build/usr/lib/...
2) using the correct ldd issue:
$ldd -r
/home/piotro/minimyth-dev/images/build/usr/lib/gcc/x86_64-minimyth-linux-gnu/5.3.0/libstdc++.so

If you see "undefined symbol: ..." then something's funny in your setup.

Can you check with the libstdc++.so authors that they use "-no-undefined
-Wl,--no-undefined" to the LDFLAGS. It will flag issues as the binary is
linked.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170517/682b2063/attachment.html>


More information about the mesa-dev mailing list