<div dir="ltr">Yes 17.3.3 is in master now, so can you rebase Randy?<div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 21 January 2018 at 21:34, Otavio Salvador <span dir="ltr">&lt;<a href="mailto:otavio.salvador@ossystems.com.br" target="_blank">otavio.salvador@ossystems.com.br</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sun, Jan 21, 2018 at 4:18 AM, Randy MacLeod<br>
&lt;<a href="mailto:Randy.MacLeod@windriver.com">Randy.MacLeod@windriver.com</a>&gt; wrote:<br>
&gt; Cherry-pick fix from mesa upstream:<br>
&gt;    23ce168048 link mesautil with pthreads<br>
&gt;<br>
&gt; Signed-off-by: Randy MacLeod &lt;<a href="mailto:Randy.MacLeod@windriver.com">Randy.MacLeod@windriver.com</a>&gt;<br>
<br>
</span>Missing Upstream-Status. Also, base it on 17.3.3 recipe so we avoid<br>
another patch revision.<br>
<div class="HOEnZb"><div class="h5"><br>
&gt; ---<br>
&gt;  .../files/0001-link-mesautil-<wbr>with-pthreads.patch   | 51 ++++++++++++++++++++++<br>
&gt;  meta/recipes-graphics/mesa/<a href="http://mesa_17.3.2.bb" rel="noreferrer" target="_blank">mes<wbr>a_17.3.2.bb</a>          |  1 +<br>
&gt;  2 files changed, 52 insertions(+)<br>
&gt;  create mode 100644 meta/recipes-graphics/mesa/<wbr>files/0001-link-mesautil-with-<wbr>pthreads.patch<br>
&gt;<br>
&gt; diff --git a/meta/recipes-graphics/mesa/<wbr>files/0001-link-mesautil-with-<wbr>pthreads.patch b/meta/recipes-graphics/mesa/<wbr>files/0001-link-mesautil-with-<wbr>pthreads.patch<br>
&gt; new file mode 100644<br>
&gt; index 0000000000..193c54661b<br>
&gt; --- /dev/null<br>
&gt; +++ b/meta/recipes-graphics/mesa/<wbr>files/0001-link-mesautil-with-<wbr>pthreads.patch<br>
&gt; @@ -0,0 +1,51 @@<br>
&gt; +From 23ce168048698eeea3df6bb8c9de5b<wbr>e3ca4784cd Mon Sep 17 00:00:00 2001<br>
&gt; +From: Igor Gnatenko &lt;<a href="mailto:ignatenko@redhat.com">ignatenko@redhat.com</a>&gt;<br>
&gt; +Date: Mon, 1 Jan 2018 22:49:00 +0100<br>
&gt; +Subject: [PATCH] link mesautil with pthreads<br>
&gt; +<br>
&gt; +../../src/util/.libs/<wbr>libmesautil.a(libmesautil_la-<wbr>u_queue.o): In function `u_thread_setname&#39;:<br>
&gt; +/builddir/build/BUILD/mesa-<wbr>17.3.1/src/util/../../src/<wbr>util/u_thread.h:66: undefined reference to `pthread_setname_np&#39;<br>
&gt; +../../src/util/.libs/<wbr>libmesautil.a(libmesautil_la-<wbr>u_queue.o): In function `thrd_join&#39;:<br>
&gt; +/builddir/build/BUILD/mesa-<wbr>17.3.1/src/util/../../include/<wbr>c11/threads_posix.h:336: undefined reference to `pthread_join&#39;<br>
&gt; +../../src/util/.libs/<wbr>libmesautil.a(libmesautil_la-<wbr>u_queue.o): In function `u_thread_create&#39;:<br>
&gt; +/builddir/build/BUILD/mesa-<wbr>17.3.1/src/util/../../src/<wbr>util/u_thread.h:48: undefined reference to `pthread_sigmask&#39;<br>
&gt; +../../src/util/.libs/<wbr>libmesautil.a(libmesautil_la-<wbr>u_queue.o): In function `thrd_create&#39;:<br>
&gt; +/builddir/build/BUILD/mesa-<wbr>17.3.1/src/util/../../include/<wbr>c11/threads_posix.h:296: undefined reference to `pthread_create&#39;<br>
&gt; +../../src/util/.libs/<wbr>libmesautil.a(libmesautil_la-<wbr>u_queue.o): In function `u_thread_create&#39;:<br>
&gt; +/builddir/build/BUILD/mesa-<wbr>17.3.1/src/util/../../src/<wbr>util/u_thread.h:50: undefined reference to `pthread_sigmask&#39;<br>
&gt; +/builddir/build/BUILD/mesa-<wbr>17.3.1/src/util/../../src/<wbr>util/u_thread.h:50: undefined reference to `pthread_sigmask&#39;<br>
&gt; +../../src/util/.libs/<wbr>libmesautil.a(libmesautil_la-<wbr>u_queue.o): In function `call_once&#39;:<br>
&gt; +/builddir/build/BUILD/mesa-<wbr>17.3.1/src/util/../../include/<wbr>c11/threads_posix.h:96: undefined reference to `pthread_once&#39;<br>
&gt; +../../src/util/.libs/<wbr>libmesautil.a(libmesautil_la-<wbr>u_queue.o): In function `u_thread_get_time_nano&#39;:<br>
&gt; +/builddir/build/BUILD/mesa-<wbr>17.3.1/src/util/../../src/<wbr>util/u_thread.h:84: undefined reference to `pthread_getcpuclockid&#39;<br>
&gt; +collect2: error: ld returned 1 exit status<br>
&gt; +<br>
&gt; +Reviewed-by: Adam Jackson &lt;<a href="mailto:ajax@redhat.com">ajax@redhat.com</a>&gt;<br>
&gt; +Signed-off-by: Igor Gnatenko &lt;<a href="mailto:ignatenko@redhat.com">ignatenko@redhat.com</a>&gt;<br>
&gt; +---<br>
&gt; + src/util/Makefile.am | 2 ++<br>
&gt; + 1 file changed, 2 insertions(+)<br>
&gt; +<br>
&gt; +diff --git a/src/util/Makefile.am b/src/util/Makefile.am<br>
&gt; +index a5241ad27b..633907b9fd 100644<br>
&gt; +--- a/src/util/Makefile.am<br>
&gt; ++++ b/src/util/Makefile.am<br>
&gt; +@@ -31,6 +31,7 @@ noinst_LTLIBRARIES = \<br>
&gt; +       <a href="http://libxmlconfig.la" rel="noreferrer" target="_blank">libxmlconfig.la</a><br>
&gt; +<br>
&gt; + AM_CPPFLAGS = \<br>
&gt; ++      $(PTHREAD_CFLAGS) \<br>
&gt; +       -I$(top_srcdir)/include<br>
&gt; +<br>
&gt; + libmesautil_la_CPPFLAGS = \<br>
&gt; +@@ -50,6 +51,7 @@ libmesautil_la_SOURCES = \<br>
&gt; +       $(MESA_UTIL_GENERATED_FILES)<br>
&gt; +<br>
&gt; + libmesautil_la_LIBADD = \<br>
&gt; ++      $(PTHREAD_LIBS) \<br>
&gt; +       $(CLOCK_LIB) \<br>
&gt; +       $(ZLIB_LIBS) \<br>
&gt; +       $(LIBATOMIC_LIBS)<br>
&gt; +--<br>
&gt; +2.14.3<br>
&gt; +<br>
&gt; diff --git a/meta/recipes-graphics/mesa/<a href="http://mesa_17.3.2.bb" rel="noreferrer" target="_blank">m<wbr>esa_17.3.2.bb</a> b/meta/recipes-graphics/mesa/<a href="http://mesa_17.3.2.bb" rel="noreferrer" target="_blank">m<wbr>esa_17.3.2.bb</a><br>
&gt; index 9e9b23322a..8cdcf6c84f 100644<br>
&gt; --- a/meta/recipes-graphics/mesa/<a href="http://mesa_17.3.2.bb" rel="noreferrer" target="_blank">m<wbr>esa_17.3.2.bb</a><br>
&gt; +++ b/meta/recipes-graphics/mesa/<a href="http://mesa_17.3.2.bb" rel="noreferrer" target="_blank">m<wbr>esa_17.3.2.bb</a><br>
&gt; @@ -9,6 +9,7 @@ SRC_URI = &quot;<a href="https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz" rel="noreferrer" target="_blank">https://mesa.freedesktop.org/<wbr>archive/mesa-${PV}.tar.xz</a> \<br>
&gt;             file://llvm-config-version.<wbr>patch \<br>
&gt;             file://0001-winsys-svga-drm-<wbr>Include-sys-types.h.patch \<br>
&gt;             file://0001-Makefile.vulkan.<wbr>am-explictly-add-lib-expat-to-<wbr>intel-.patch \<br>
&gt; +           file://0001-link-mesautil-<wbr>with-pthreads.patch \<br>
&gt;             &quot;<br>
&gt;<br>
&gt;  SRC_URI[md5sum] = &quot;<wbr>5c59b779925f504ffd0f13c7dcd29a<wbr>c6&quot;<br>
&gt; --<br>
&gt; 2.11.0<br>
&gt;<br>
&gt; --<br>
&gt; ______________________________<wbr>_________________<br>
&gt; Openembedded-core mailing list<br>
&gt; <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
&gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Otavio Salvador                             O.S. Systems<br>
<a href="http://www.ossystems.com.br" rel="noreferrer" target="_blank">http://www.ossystems.com.br</a>        <a href="http://code.ossystems.com.br" rel="noreferrer" target="_blank">http://code.ossystems.com.br</a><br>
Mobile: <a href="tel:%2B55%20%2853%29%209981-7854" value="+555399817854">+55 (53) 9981-7854</a>            Mobile: <a href="tel:%2B1%20%28347%29%20903-9750" value="+13479039750">+1 (347) 903-9750</a><br>
</font></span><div class="HOEnZb"><div class="h5">--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</div></div></blockquote></div><br></div>