<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"><<a href="mailto:otavio.salvador@ossystems.com.br" target="_blank">otavio.salvador@ossystems.com.br</a>></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>
<<a href="mailto:Randy.MacLeod@windriver.com">Randy.MacLeod@windriver.com</a>> wrote:<br>
> Cherry-pick fix from mesa upstream:<br>
> 23ce168048 link mesautil with pthreads<br>
><br>
> Signed-off-by: Randy MacLeod <<a href="mailto:Randy.MacLeod@windriver.com">Randy.MacLeod@windriver.com</a>><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>
> ---<br>
> .../files/0001-link-mesautil-<wbr>with-pthreads.patch | 51 ++++++++++++++++++++++<br>
> 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>
> 2 files changed, 52 insertions(+)<br>
> create mode 100644 meta/recipes-graphics/mesa/<wbr>files/0001-link-mesautil-with-<wbr>pthreads.patch<br>
><br>
> 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>
> new file mode 100644<br>
> index 0000000000..193c54661b<br>
> --- /dev/null<br>
> +++ b/meta/recipes-graphics/mesa/<wbr>files/0001-link-mesautil-with-<wbr>pthreads.patch<br>
> @@ -0,0 +1,51 @@<br>
> +From 23ce168048698eeea3df6bb8c9de5b<wbr>e3ca4784cd Mon Sep 17 00:00:00 2001<br>
> +From: Igor Gnatenko <<a href="mailto:ignatenko@redhat.com">ignatenko@redhat.com</a>><br>
> +Date: Mon, 1 Jan 2018 22:49:00 +0100<br>
> +Subject: [PATCH] link mesautil with pthreads<br>
> +<br>
> +../../src/util/.libs/<wbr>libmesautil.a(libmesautil_la-<wbr>u_queue.o): In function `u_thread_setname':<br>
> +/builddir/build/BUILD/mesa-<wbr>17.3.1/src/util/../../src/<wbr>util/u_thread.h:66: undefined reference to `pthread_setname_np'<br>
> +../../src/util/.libs/<wbr>libmesautil.a(libmesautil_la-<wbr>u_queue.o): In function `thrd_join':<br>
> +/builddir/build/BUILD/mesa-<wbr>17.3.1/src/util/../../include/<wbr>c11/threads_posix.h:336: undefined reference to `pthread_join'<br>
> +../../src/util/.libs/<wbr>libmesautil.a(libmesautil_la-<wbr>u_queue.o): In function `u_thread_create':<br>
> +/builddir/build/BUILD/mesa-<wbr>17.3.1/src/util/../../src/<wbr>util/u_thread.h:48: undefined reference to `pthread_sigmask'<br>
> +../../src/util/.libs/<wbr>libmesautil.a(libmesautil_la-<wbr>u_queue.o): In function `thrd_create':<br>
> +/builddir/build/BUILD/mesa-<wbr>17.3.1/src/util/../../include/<wbr>c11/threads_posix.h:296: undefined reference to `pthread_create'<br>
> +../../src/util/.libs/<wbr>libmesautil.a(libmesautil_la-<wbr>u_queue.o): In function `u_thread_create':<br>
> +/builddir/build/BUILD/mesa-<wbr>17.3.1/src/util/../../src/<wbr>util/u_thread.h:50: undefined reference to `pthread_sigmask'<br>
> +/builddir/build/BUILD/mesa-<wbr>17.3.1/src/util/../../src/<wbr>util/u_thread.h:50: undefined reference to `pthread_sigmask'<br>
> +../../src/util/.libs/<wbr>libmesautil.a(libmesautil_la-<wbr>u_queue.o): In function `call_once':<br>
> +/builddir/build/BUILD/mesa-<wbr>17.3.1/src/util/../../include/<wbr>c11/threads_posix.h:96: undefined reference to `pthread_once'<br>
> +../../src/util/.libs/<wbr>libmesautil.a(libmesautil_la-<wbr>u_queue.o): In function `u_thread_get_time_nano':<br>
> +/builddir/build/BUILD/mesa-<wbr>17.3.1/src/util/../../src/<wbr>util/u_thread.h:84: undefined reference to `pthread_getcpuclockid'<br>
> +collect2: error: ld returned 1 exit status<br>
> +<br>
> +Reviewed-by: Adam Jackson <<a href="mailto:ajax@redhat.com">ajax@redhat.com</a>><br>
> +Signed-off-by: Igor Gnatenko <<a href="mailto:ignatenko@redhat.com">ignatenko@redhat.com</a>><br>
> +---<br>
> + src/util/Makefile.am | 2 ++<br>
> + 1 file changed, 2 insertions(+)<br>
> +<br>
> +diff --git a/src/util/Makefile.am b/src/util/Makefile.am<br>
> +index a5241ad27b..633907b9fd 100644<br>
> +--- a/src/util/Makefile.am<br>
> ++++ b/src/util/Makefile.am<br>
> +@@ -31,6 +31,7 @@ noinst_LTLIBRARIES = \<br>
> + <a href="http://libxmlconfig.la" rel="noreferrer" target="_blank">libxmlconfig.la</a><br>
> +<br>
> + AM_CPPFLAGS = \<br>
> ++ $(PTHREAD_CFLAGS) \<br>
> + -I$(top_srcdir)/include<br>
> +<br>
> + libmesautil_la_CPPFLAGS = \<br>
> +@@ -50,6 +51,7 @@ libmesautil_la_SOURCES = \<br>
> + $(MESA_UTIL_GENERATED_FILES)<br>
> +<br>
> + libmesautil_la_LIBADD = \<br>
> ++ $(PTHREAD_LIBS) \<br>
> + $(CLOCK_LIB) \<br>
> + $(ZLIB_LIBS) \<br>
> + $(LIBATOMIC_LIBS)<br>
> +--<br>
> +2.14.3<br>
> +<br>
> 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>
> index 9e9b23322a..8cdcf6c84f 100644<br>
> --- 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>
> +++ 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>
> @@ -9,6 +9,7 @@ SRC_URI = "<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>
> file://llvm-config-version.<wbr>patch \<br>
> file://0001-winsys-svga-drm-<wbr>Include-sys-types.h.patch \<br>
> file://0001-Makefile.vulkan.<wbr>am-explictly-add-lib-expat-to-<wbr>intel-.patch \<br>
> + file://0001-link-mesautil-<wbr>with-pthreads.patch \<br>
> "<br>
><br>
> SRC_URI[md5sum] = "<wbr>5c59b779925f504ffd0f13c7dcd29a<wbr>c6"<br>
> --<br>
> 2.11.0<br>
><br>
> --<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>
<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>