<div dir="ltr"><div dir="ltr">Hello, it looks like not complete fix.<div>In my opinion issue is that libmesautil requires -lm than any library that uses libmesautil will not have such issue.</div><div>Patch: <a href="https://patchwork.freedesktop.org/patch/259176/">https://patchwork.freedesktop.org/patch/259176/</a></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 1, 2018 at 6:12 AM Jonathan Gray <<a href="mailto:jsg@jsg.id.au">jsg@jsg.id.au</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">aubinator_error_decode needs to link libm to build on OpenBSD/i386<br>
../../src/util/.libs/libmesautil.a(libmesautil_la-half_float.o): In function `_mesa_float_to_half':<br>
half_float.c:(.text+0x91): undefined reference to `lrintf'<br>
half_float.c:(.text+0xc1): undefined reference to `lrintf'<br>
<br>
Signed-off-by: Jonathan Gray <<a href="mailto:jsg@jsg.id.au" target="_blank">jsg@jsg.id.au</a>><br>
Cc: <a href="mailto:mesa-stable@lists.freedesktop.org" target="_blank">mesa-stable@lists.freedesktop.org</a><br>
---<br>
 src/intel/<a href="http://Makefile.tools.am" rel="noreferrer" target="_blank">Makefile.tools.am</a> | 3 ++-<br>
 1 file changed, 2 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/src/intel/<a href="http://Makefile.tools.am" rel="noreferrer" target="_blank">Makefile.tools.am</a> b/src/intel/<a href="http://Makefile.tools.am" rel="noreferrer" target="_blank">Makefile.tools.am</a><br>
index 4809962b188..da49d37a728 100644<br>
--- a/src/intel/<a href="http://Makefile.tools.am" rel="noreferrer" target="_blank">Makefile.tools.am</a><br>
+++ b/src/intel/<a href="http://Makefile.tools.am" rel="noreferrer" target="_blank">Makefile.tools.am</a><br>
@@ -61,7 +61,8 @@ tools_aubinator_error_decode_LDADD = \<br>
        isl/<a href="http://libisl.la" rel="noreferrer" target="_blank">libisl.la</a> \<br>
        $(top_builddir)/src/util/<a href="http://libmesautil.la" rel="noreferrer" target="_blank">libmesautil.la</a> \<br>
        $(PTHREAD_LIBS) \<br>
-       $(ZLIB_LIBS)<br>
+       $(ZLIB_LIBS) \<br>
+       -lm<br>
<br>
 tools_aubinator_error_decode_CFLAGS = \<br>
        $(AM_CFLAGS) \<br>
-- <br>
2.19.1<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Sergii Romantsov<br></div><div dir="ltr"><div style="margin:0px;padding:0px;color:rgb(23,43,77);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:14px">GlobalLogic Inc.<br><a href="http://www.globallogic.com/" rel="nofollow" style="color:rgb(0,82,204)" target="_blank">www.globallogic.com</a><br></div></div></div></div></div></div>