<div dir="ltr"><div>Hi Tapani, Eric,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 15, 2019 at 1:00 PM Tapani Pälli <<a href="mailto:tapani.palli@intel.com">tapani.palli@intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
On 8/15/19 12:52 PM, Mauro Rossi wrote:<br>
> Hi Tapani,<br>
> <br>
> On Thu, Aug 15, 2019 at 7:29 AM Tapani Pälli <<a href="mailto:tapani.palli@intel.com" target="_blank">tapani.palli@intel.com</a> <br>
> <mailto:<a href="mailto:tapani.palli@intel.com" target="_blank">tapani.palli@intel.com</a>>> wrote:<br>
> <br>
> <br>
>  Â  Â On 8/13/19 9:55 PM, Mauro Rossi wrote:<br>
>  Â  Â  > Hi,<br>
>  Â  Â  ><br>
>  Â  Â  > On Tue, Aug 13, 2019 at 3:51 PM Tapani Pälli<br>
>  Â  Â <<a href="mailto:tapani.palli@intel.com" target="_blank">tapani.palli@intel.com</a> <mailto:<a href="mailto:tapani.palli@intel.com" target="_blank">tapani.palli@intel.com</a>><br>
>  Â  Â  > <mailto:<a href="mailto:tapani.palli@intel.com" target="_blank">tapani.palli@intel.com</a> <mailto:<a href="mailto:tapani.palli@intel.com" target="_blank">tapani.palli@intel.com</a>>>><br>
>  Â  Â wrote:<br>
>  Â  Â  ><br>
>  Â  Â  ><br>
>  Â  Â  >  Â  Â On 8/13/19 3:32 PM, Mauro Rossi wrote:<br>
>  Â  Â  >  Â  Â  > Hi,<br>
>  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  > On Tue, Aug 13, 2019 at 2:03 PM Tapani Pälli<br>
>  Â  Â  >  Â  Â <<a href="mailto:tapani.palli@intel.com" target="_blank">tapani.palli@intel.com</a> <mailto:<a href="mailto:tapani.palli@intel.com" target="_blank">tapani.palli@intel.com</a>><br>
>  Â  Â <mailto:<a href="mailto:tapani.palli@intel.com" target="_blank">tapani.palli@intel.com</a> <mailto:<a href="mailto:tapani.palli@intel.com" target="_blank">tapani.palli@intel.com</a>>><br>
>  Â  Â  >  Â  Â  > <mailto:<a href="mailto:tapani.palli@intel.com" target="_blank">tapani.palli@intel.com</a><br>
>  Â  Â <mailto:<a href="mailto:tapani.palli@intel.com" target="_blank">tapani.palli@intel.com</a>> <mailto:<a href="mailto:tapani.palli@intel.com" target="_blank">tapani.palli@intel.com</a><br>
>  Â  Â <mailto:<a href="mailto:tapani.palli@intel.com" target="_blank">tapani.palli@intel.com</a>>>>><br>
>  Â  Â  >  Â  Â wrote:<br>
>  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  >  Â  Â Hi;<br>
>  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  >  Â  Â On 8/13/19 2:43 PM, Mauro Rossi wrote:<br>
>  Â  Â  >  Â  Â  >  Â  Â  > Hi Tapani,<br>
>  Â  Â  >  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  >  Â  Â  > On Sat, Jul 27, 2019 at 2:56 PM Mauro Rossi<br>
>  Â  Â  >  Â  Â  >  Â  Â <<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a> <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a> <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>>><br>
>  Â  Â  >  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a> <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a> <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>>>><br>
>  Â  Â  >  Â  Â  >  Â  Â  > <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>><br>
>  Â  Â  >  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a> <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>>><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a> <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>><br>
>  Â  Â  >  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>>>>>> wrote:<br>
>  Â  Â  >  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â On Sat, Jul 27, 2019 at 2:56 PM Mauro Rossi<br>
>  Â  Â  >  Â  Â  >  Â  Â <<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a> <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a> <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>>><br>
>  Â  Â  >  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a> <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a> <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>>>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>><br>
>  Â  Â  >  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a> <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>>><br>
>  Â  Â  >  Â  Â  >  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>><br>
>  Â  Â  >  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>>>>>> wrote:<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > On Thu, Jul 18, 2019 at 1:07 PM Chih-Wei Huang<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â <<a href="mailto:cwhuang@android-x86.org" target="_blank">cwhuang@android-x86.org</a><br>
>  Â  Â <mailto:<a href="mailto:cwhuang@android-x86.org" target="_blank">cwhuang@android-x86.org</a>><br>
>  Â  Â  >  Â  Â <mailto:<a href="mailto:cwhuang@android-x86.org" target="_blank">cwhuang@android-x86.org</a><br>
>  Â  Â <mailto:<a href="mailto:cwhuang@android-x86.org" target="_blank">cwhuang@android-x86.org</a>>> <mailto:<a href="mailto:cwhuang@android-x86.org" target="_blank">cwhuang@android-x86.org</a><br>
>  Â  Â <mailto:<a href="mailto:cwhuang@android-x86.org" target="_blank">cwhuang@android-x86.org</a>><br>
>  Â  Â  >  Â  Â <mailto:<a href="mailto:cwhuang@android-x86.org" target="_blank">cwhuang@android-x86.org</a><br>
>  Â  Â <mailto:<a href="mailto:cwhuang@android-x86.org" target="_blank">cwhuang@android-x86.org</a>>>><br>
>  Â  Â  >  Â  Â  >  Â  Â <mailto:<a href="mailto:cwhuang@android-x86.org" target="_blank">cwhuang@android-x86.org</a><br>
>  Â  Â <mailto:<a href="mailto:cwhuang@android-x86.org" target="_blank">cwhuang@android-x86.org</a>><br>
>  Â  Â  >  Â  Â <mailto:<a href="mailto:cwhuang@android-x86.org" target="_blank">cwhuang@android-x86.org</a><br>
>  Â  Â <mailto:<a href="mailto:cwhuang@android-x86.org" target="_blank">cwhuang@android-x86.org</a>>> <mailto:<a href="mailto:cwhuang@android-x86.org" target="_blank">cwhuang@android-x86.org</a><br>
>  Â  Â <mailto:<a href="mailto:cwhuang@android-x86.org" target="_blank">cwhuang@android-x86.org</a>><br>
>  Â  Â  >  Â  Â <mailto:<a href="mailto:cwhuang@android-x86.org" target="_blank">cwhuang@android-x86.org</a><br>
>  Â  Â <mailto:<a href="mailto:cwhuang@android-x86.org" target="_blank">cwhuang@android-x86.org</a>>>>>><br>
>  Â  Â  >  Â  Â  >  Â  Â wrote:<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > ><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > Mauro Rossi <<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>><br>
>  Â  Â  >  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a> <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>>><br>
>  Â  Â  >  Â  Â  >  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>> <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>>>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>><br>
>  Â  Â  >  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a> <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>>><br>
>  Â  Â  >  Â  Â  >  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>><br>
>  Â  Â  >  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>>>>>> æ–¼ 2019å¹´7月14æ—¥ é€±æ—¥ ä¸‹åˆ5:17寫道:<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > ><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > This patch partially reverts 20294dc ("mesa:<br>
>  Â  Â  >  Â  Â Enable asm<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â unconditionally, ...")<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > ><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > Android makefile build logic needs to<br>
>  Â  Â disable<br>
>  Â  Â  >  Â  Â assembler<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â optimization<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > in 32bit builds to avoid text<br>
>  Â  Â relocations for<br>
>  Â  Â  >  Â  Â  >  Â  Â libglapi.so shared<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > ><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > Fixes the following build error with Android<br>
>  Â  Â  >  Â  Â x86 32bit<br>
>  Â  Â  >  Â  Â  >  Â  Â target:<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > ><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > [  0% 4/477] target SharedLib: libglapi<br>
>  Â  Â  >  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â <br>
>  Â  Â  Â (out/target/product/x86/obj/SHARED_LIBRARIES/libglapi_intermediates/LINKED/libglapi.so)<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > FAILED:<br>
>  Â  Â  >  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â <br>
>  Â  Â  Â out/target/product/x86/obj/SHARED_LIBRARIES/libglapi_intermediates/LINKED/libglapi.so<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > ...<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > ><br>
>  Â  Â  >  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â <br>
>  Â  Â  Â prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/x86_64-linux-android/bin/ld:<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â warning: shared library text segment is not<br>
>  Â  Â shareable<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > ><br>
>  Â  Â  >  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â <br>
>  Â  Â  Â prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/x86_64-linux-android/bin/ld:<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â error: treating warnings as errors<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > clang-6.0: error: linker command failed with<br>
>  Â  Â  >  Â  Â exit code<br>
>  Â  Â  >  Â  Â  >  Â  Â 1 (use<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â -v to see invocation)<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > ><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > Fixes: 20294dc ("mesa: Enable asm<br>
>  Â  Â  >  Â  Â unconditionally, now<br>
>  Â  Â  >  Â  Â  >  Â  Â that<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â gen_matypes is gone.")<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > Signed-off-by: Mauro Rossi<br>
>  Â  Â  >  Â  Â <<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a> <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a> <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>>><br>
>  Â  Â  >  Â  Â  >  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>> <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>>>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>><br>
>  Â  Â  >  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a> <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>>><br>
>  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a> <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>><br>
>  Â  Â  >  Â  Â <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a> <mailto:<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>>>>>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > ---<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > <a href="http://Android.common.mk" rel="noreferrer" target="_blank">Android.common.mk</a><br>
>  Â  Â <<a href="http://Android.common.mk" rel="noreferrer" target="_blank">http://Android.common.mk</a>> <<a href="http://Android.common.mk" rel="noreferrer" target="_blank">http://Android.common.mk</a>><br>
>  Â  Â  >  Â  Â <<a href="http://Android.common.mk" rel="noreferrer" target="_blank">http://Android.common.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.common.mk" rel="noreferrer" target="_blank">http://Android.common.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  Â | 3 +++<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  Android.mk  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  | 7<br>
>  Â  Â +++++++<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  src/mesa/<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">Android.libmesa_dricore.mk</a><br>
>  Â  Â <<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">http://Android.libmesa_dricore.mk</a>><br>
>  Â  Â  >  Â  Â <<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">http://Android.libmesa_dricore.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">http://Android.libmesa_dricore.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">http://Android.libmesa_dricore.mk</a>> | 2 ++<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  src/mesa/<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">Android.libmesa_st_mesa.mk</a><br>
>  Â  Â <<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">http://Android.libmesa_st_mesa.mk</a>><br>
>  Â  Â  >  Â  Â <<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">http://Android.libmesa_st_mesa.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">http://Android.libmesa_st_mesa.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">http://Android.libmesa_st_mesa.mk</a>> | 2 ++<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  4 files changed, 14 insertions(+)<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > ><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > diff --git a/<a href="http://Android.common.mk" rel="noreferrer" target="_blank">Android.common.mk</a><br>
>  Â  Â <<a href="http://Android.common.mk" rel="noreferrer" target="_blank">http://Android.common.mk</a>><br>
>  Â  Â  >  Â  Â <<a href="http://Android.common.mk" rel="noreferrer" target="_blank">http://Android.common.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.common.mk" rel="noreferrer" target="_blank">http://Android.common.mk</a>> <<a href="http://Android.common.mk" rel="noreferrer" target="_blank">http://Android.common.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â b/<a href="http://Android.common.mk" rel="noreferrer" target="_blank">Android.common.mk</a> <<a href="http://Android.common.mk" rel="noreferrer" target="_blank">http://Android.common.mk</a>><br>
>  Â  Â <<a href="http://Android.common.mk" rel="noreferrer" target="_blank">http://Android.common.mk</a>><br>
>  Â  Â  >  Â  Â <<a href="http://Android.common.mk" rel="noreferrer" target="_blank">http://Android.common.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.common.mk" rel="noreferrer" target="_blank">http://Android.common.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > index 8a1c734353..209654bb75 100644<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > --- a/<a href="http://Android.common.mk" rel="noreferrer" target="_blank">Android.common.mk</a><br>
>  Â  Â <<a href="http://Android.common.mk" rel="noreferrer" target="_blank">http://Android.common.mk</a>><br>
>  Â  Â  >  Â  Â <<a href="http://Android.common.mk" rel="noreferrer" target="_blank">http://Android.common.mk</a>> <<a href="http://Android.common.mk" rel="noreferrer" target="_blank">http://Android.common.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.common.mk" rel="noreferrer" target="_blank">http://Android.common.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > +++ b/<a href="http://Android.common.mk" rel="noreferrer" target="_blank">Android.common.mk</a><br>
>  Â  Â <<a href="http://Android.common.mk" rel="noreferrer" target="_blank">http://Android.common.mk</a>><br>
>  Â  Â  >  Â  Â <<a href="http://Android.common.mk" rel="noreferrer" target="_blank">http://Android.common.mk</a>> <<a href="http://Android.common.mk" rel="noreferrer" target="_blank">http://Android.common.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.common.mk" rel="noreferrer" target="_blank">http://Android.common.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > @@ -106,9 +106,12 @@ ifeq ($(shell test<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â $(PLATFORM_SDK_VERSION) -ge 26 && echo true),true)<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  LOCAL_CFLAGS += -DHAVE_SYS_SHM_H<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  endif<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > ><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > +ifeq ($(strip $(MESA_ENABLE_ASM)),true)<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  ifeq ($(TARGET_ARCH),x86)<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  LOCAL_CFLAGS += \<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  Â  Â  Â  Â -DUSE_X86_ASM<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > +<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > +endif<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  endif<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  ifeq ($(ARCH_ARM_HAVE_NEON),true)<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  LOCAL_CFLAGS_arm += -DUSE_ARM_ASM<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > diff --git a/Android.mk b/Android.mk<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > index 57613eccfc..4a2a003ea3 100644<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > --- a/Android.mk<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > +++ b/Android.mk<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > @@ -83,6 +83,13 @@ endif<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > ><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  $(foreach d, $(MESA_BUILD_CLASSIC)<br>
>  Â  Â  >  Â  Â $(MESA_BUILD_GALLIUM),<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â $(eval $(d) := true))<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > ><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > +# host and target must be the same arch to<br>
>  Â  Â  >  Â  Â generate<br>
>  Â  Â  >  Â  Â  >  Â  Â matypes.h<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > +ifeq ($(TARGET_ARCH),$(HOST_ARCH))<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > +MESA_ENABLE_ASM := true<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > +else<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > +MESA_ENABLE_ASM := false<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > +endif<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > +<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  ifneq ($(filter true,<br>
>  Â  Â $(HAVE_GALLIUM_RADEONSI)),)<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  MESA_ENABLE_LLVM := true<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  endif<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > diff --git<br>
>  Â  Â  >  Â  Â a/src/mesa/<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">Android.libmesa_dricore.mk</a><br>
>  Â  Â <<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">http://Android.libmesa_dricore.mk</a>><br>
>  Â  Â  >  Â  Â <<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">http://Android.libmesa_dricore.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">http://Android.libmesa_dricore.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">http://Android.libmesa_dricore.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â b/src/mesa/<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">Android.libmesa_dricore.mk</a><br>
>  Â  Â <<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">http://Android.libmesa_dricore.mk</a>><br>
>  Â  Â  >  Â  Â <<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">http://Android.libmesa_dricore.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">http://Android.libmesa_dricore.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">http://Android.libmesa_dricore.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > index 8eb6aabe83..792117767b 100644<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > ---<br>
>  Â  Â a/src/mesa/<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">Android.libmesa_dricore.mk</a><br>
>  Â  Â <<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">http://Android.libmesa_dricore.mk</a>><br>
>  Â  Â  >  Â  Â <<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">http://Android.libmesa_dricore.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">http://Android.libmesa_dricore.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">http://Android.libmesa_dricore.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > +++<br>
>  Â  Â b/src/mesa/<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">Android.libmesa_dricore.mk</a><br>
>  Â  Â <<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">http://Android.libmesa_dricore.mk</a>><br>
>  Â  Â  >  Â  Â <<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">http://Android.libmesa_dricore.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">http://Android.libmesa_dricore.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.libmesa_dricore.mk" rel="noreferrer" target="_blank">http://Android.libmesa_dricore.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > @@ -39,9 +39,11 @@ LOCAL_MODULE_CLASS :=<br>
>  Â  Â  >  Â  Â STATIC_LIBRARIES<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  LOCAL_SRC_FILES := \<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  Â  Â  Â  Â $(MESA_FILES)<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > ><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > +ifeq ($(strip $(MESA_ENABLE_ASM)),true)<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  ifeq ($(TARGET_ARCH),x86)<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  Â  Â  Â  Â LOCAL_SRC_FILES += $(X86_FILES)<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  endif # x86<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > +endif # MESA_ENABLE_ASM<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > ><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  ifeq ($(ARCH_X86_HAVE_SSE4_1),true)<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  LOCAL_WHOLE_STATIC_LIBRARIES := \<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > diff --git<br>
>  Â  Â  >  Â  Â a/src/mesa/<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">Android.libmesa_st_mesa.mk</a><br>
>  Â  Â <<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">http://Android.libmesa_st_mesa.mk</a>><br>
>  Â  Â  >  Â  Â <<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">http://Android.libmesa_st_mesa.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">http://Android.libmesa_st_mesa.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">http://Android.libmesa_st_mesa.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â b/src/mesa/<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">Android.libmesa_st_mesa.mk</a><br>
>  Â  Â <<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">http://Android.libmesa_st_mesa.mk</a>><br>
>  Â  Â  >  Â  Â <<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">http://Android.libmesa_st_mesa.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">http://Android.libmesa_st_mesa.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">http://Android.libmesa_st_mesa.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > index 16153a3c5b..ddfd03059c 100644<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > ---<br>
>  Â  Â a/src/mesa/<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">Android.libmesa_st_mesa.mk</a><br>
>  Â  Â <<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">http://Android.libmesa_st_mesa.mk</a>><br>
>  Â  Â  >  Â  Â <<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">http://Android.libmesa_st_mesa.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">http://Android.libmesa_st_mesa.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">http://Android.libmesa_st_mesa.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > +++<br>
>  Â  Â b/src/mesa/<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">Android.libmesa_st_mesa.mk</a><br>
>  Â  Â <<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">http://Android.libmesa_st_mesa.mk</a>><br>
>  Â  Â  >  Â  Â <<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">http://Android.libmesa_st_mesa.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">http://Android.libmesa_st_mesa.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â <<a href="http://Android.libmesa_st_mesa.mk" rel="noreferrer" target="_blank">http://Android.libmesa_st_mesa.mk</a>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > @@ -42,9 +42,11 @@<br>
>  Â  Â LOCAL_GENERATED_SOURCES := \<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  Â  Â  Â  Â $(MESA_GEN_GLSL_H) \<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  Â  Â  Â  Â $(MESA_GEN_NIR_H)<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > ><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > +ifeq ($(strip $(MESA_ENABLE_ASM)),true)<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  ifeq ($(TARGET_ARCH),x86)<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  Â  Â  Â  Â LOCAL_SRC_FILES += $(X86_FILES)<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  endif # x86<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > +endif # MESA_ENABLE_ASM<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > ><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  ifeq ($(ARCH_X86_HAVE_SSE4_1),true)<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > >  LOCAL_WHOLE_STATIC_LIBRARIES := \<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > > --<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > ><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > Looks good to me.<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > ><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > > Review-by: Chih-Wei Huang<br>
>  Â  Â <<a href="mailto:cwhuang@linux.org.tw" target="_blank">cwhuang@linux.org.tw</a> <mailto:<a href="mailto:cwhuang@linux.org.tw" target="_blank">cwhuang@linux.org.tw</a>><br>
>  Â  Â  >  Â  Â <mailto:<a href="mailto:cwhuang@linux.org.tw" target="_blank">cwhuang@linux.org.tw</a> <mailto:<a href="mailto:cwhuang@linux.org.tw" target="_blank">cwhuang@linux.org.tw</a>>><br>
>  Â  Â  >  Â  Â  >  Â  Â <mailto:<a href="mailto:cwhuang@linux.org.tw" target="_blank">cwhuang@linux.org.tw</a><br>
>  Â  Â <mailto:<a href="mailto:cwhuang@linux.org.tw" target="_blank">cwhuang@linux.org.tw</a>> <mailto:<a href="mailto:cwhuang@linux.org.tw" target="_blank">cwhuang@linux.org.tw</a><br>
>  Â  Â <mailto:<a href="mailto:cwhuang@linux.org.tw" target="_blank">cwhuang@linux.org.tw</a>>>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â <mailto:<a href="mailto:cwhuang@linux.org.tw" target="_blank">cwhuang@linux.org.tw</a><br>
>  Â  Â <mailto:<a href="mailto:cwhuang@linux.org.tw" target="_blank">cwhuang@linux.org.tw</a>><br>
>  Â  Â  >  Â  Â <mailto:<a href="mailto:cwhuang@linux.org.tw" target="_blank">cwhuang@linux.org.tw</a> <mailto:<a href="mailto:cwhuang@linux.org.tw" target="_blank">cwhuang@linux.org.tw</a>>><br>
>  Â  Â <mailto:<a href="mailto:cwhuang@linux.org.tw" target="_blank">cwhuang@linux.org.tw</a> <mailto:<a href="mailto:cwhuang@linux.org.tw" target="_blank">cwhuang@linux.org.tw</a>><br>
>  Â  Â  >  Â  Â <mailto:<a href="mailto:cwhuang@linux.org.tw" target="_blank">cwhuang@linux.org.tw</a> <mailto:<a href="mailto:cwhuang@linux.org.tw" target="_blank">cwhuang@linux.org.tw</a>>>>>><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > Added Tapani who should one of the users of<br>
>  Â  Â 32bit mesa,<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > please provide feedback to proceed.<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â  > Mauro<br>
>  Â  Â  >  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â Tapani added now<br>
>  Â  Â  >  Â  Â  >  Â  Â  >  Â  Â M.<br>
>  Â  Â  >  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  >  Â  Â  > did you had the chance to have a look<br>
>  Â  Â  >  Â  Â  >  Â  Â  > and provide Reviewed-by ?<br>
>  Â  Â  >  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  >  Â  Â Sorry I've managed to miss this one. I'm not hitting any<br>
>  Â  Â  >  Â  Â problems after<br>
>  Â  Â  >  Â  Â  >  Â  Â mentioned changes though. Does this happen only if you<br>
>  Â  Â  >  Â  Â compile on a<br>
>  Â  Â  >  Â  Â  >  Â  Â 32bit machine? I'm compiling both 64bit and 32bit but<br>
>  Â  Â on a 64bit<br>
>  Â  Â  >  Â  Â  >  Â  Â machine.<br>
>  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  >  Â  Â // Tapani<br>
>  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  > It happens when compiling on a 64 bit build machine,<br>
>  Â  Â  >  Â  Â  > the assembler parts of mesa have text relocation when mesa<br>
>  Â  Â libglapi<br>
>  Â  Â  >  Â  Â  > 32bit target is compiled.<br>
>  Â  Â  >  Â  Â  ><br>
>  Â  Â  >  Â  Â  > How do you avoid the linker error?<br>
>  Â  Â  ><br>
>  Â  Â  >  Â  Â I'm not getting any linker error. Today I've compiled and<br>
>  Â  Â tested both<br>
>  Â  Â  >  Â  Â i965 and iris with some patches rebased on top of commit<br>
>  Â  Â b594796f1b8.<br>
>  Â  Â  ><br>
>  Â  Â  >  Â  Â Does this happen with a particular version of Android?<br>
>  Â  Â  ><br>
>  Â  Â  >  Â  Â // Tapani<br>
>  Â  Â  ><br>
>  Â  Â  ><br>
>  Â  Â  > It happens with oreo-x86 (Android 8.1) and pie-x86 (Android 9),<br>
>  Â  Â  > but we histocally know since Lollipop that building mesa<br>
>  Â  Â  > with asm optimization induces text relocations in libglapi shared<br>
>  Â  Â library<br>
>  Â  Â  > and the specific problem affects 32bit builds<br>
>  Â  Â  ><br>
>  Â  Â  > Here is the build log where '--warn-shared-textrel' is visible for<br>
>  Â  Â  > target libglapi.so,<br>
>  Â  Â  > please Tapani could you provide the corresponding section of your<br>
>  Â  Â build log?<br>
>  Â  Â  > (There may be clues about the reason you are not getting the error)<br>
> <br>
>  Â  Â I've made a celadon P build today and put the build log here:<br>
> <br>
>  Â  Â <a href="http://tpalli.kapsi.fi/build_log.tgz" rel="noreferrer" target="_blank">http://tpalli.kapsi.fi/build_log.tgz</a><br>
> <br>
>  Â  Â This is not complete image but builds the mesa parts, you can see that<br>
>  Â  Â libglapi is being built both for 32bit and 64bit in the log.<br>
> <br>
> <br>
> In our scenario the text relocations happen when building android-x86 <br>
> 32bit user space on 32bit kernel,<br>
> in your build log you are building x86_64 target, where we also don't <br>
> get any issue.<br>
<br>
Ah right now I got it, this is the difference we had.<br>
<br>
> Could you please try, when you have time (and no hurry) to build Celadon <br>
> P 32bit user space on 32bit kernel?<br>
<br>
I don't think we have such a target, but also I think these changes here <br>
should not affect celadon so this is fine change for me. If I read <br>
correctly, it sets MESA_ENABLE_ASM if TARGET_ARCH equals HOST_ARCH, right?<br></blockquote><div><br></div><div>Yes, this is the pre-existing logic in Android makefiles</div><div><br></div><div>I have also tried to replicate meson.build logic with Android Build System variables,</div><div>but it does not work</div><div><br></div><div>Please provide Acked-by and I will push the partial revert for Android to master</div><div><br></div><div>Mauro </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
> I'd really like to use asm optimizations if now possible<br>
> <br>
> As additional info here is the android-x86-development thread were all <br>
> attempst to use -fPIC, -DPIC were failed,<br>
> in our experience the 32bit user space will just refuse to use the <br>
> libglapi.so with Text Relocations:<br>
> <a href="https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/android-x86-devel/qO9gtkyE_PU/9fUan0VjCAAJ" rel="noreferrer" target="_blank">https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/android-x86-devel/qO9gtkyE_PU/9fUan0VjCAAJ</a> <br>
> <br>
> <br>
> Then if Celadon P can build libglapi.so without Text Relocations for <br>
> 32bit user space on 32bit kernel,<br>
> how is it done? We have this problem since Android nougat-x86<br>
> <br>
> Thanks (and sorry in case I'm doing something wrong)<br>
> Mauro<br>
> <br>
> <br>
> <br>
>  Â  Â  > [ Â 1% 5/326] target SharedLib: libglapi<br>
>  Â  Â  ><br>
>  Â  Â (out/target/product/x86/obj/SHARED_LIBRARIES/libglapi_intermediates/LINKED/libglapi.so)<br>
>  Â  Â  > FAILED:<br>
>  Â  Â  ><br>
>  Â  Â out/target/product/x86/obj/SHARED_LIBRARIES/libglapi_intermediates/LINKED/libglapi.so<br>
> <br>
>  Â  Â  ><br>
>  Â  Â  > /bin/bash -c<br>
>  Â  Â "prebuilts/clang/host/linux-x86/clang-4691093/bin/clang++<br>
>  Â  Â  > -nostdlib -Wl,-soname,libglapi.so -Wl,--gc-sections -shared<br>
>  Â  Â  > out/target/product/x86/obj/lib/crtbegin_so.o<br>
>  Â  Â  ><br>
>  Â  Â out/target/product/x86/obj/SHARED_LIBRARIES/libglapi_intermediates/entry.o<br>
> <br>
>  Â  Â  ><br>
>  Â  Â out/target/product/x86/obj/SHARED_LIBRARIES/libglapi_intermediates/mapi_glapi.o<br>
> <br>
>  Â  Â  ><br>
>  Â  Â out/target/product/x86/obj/SHARED_LIBRARIES/libglapi_intermediates/stub.o<br>
>  Â  Â out/target/product/x86/obj/SHARED_LIBRARIES/libglapi_intermediates/table.o<br>
> <br>
>  Â  Â  ><br>
>  Â  Â out/target/product/x86/obj/SHARED_LIBRARIES/libglapi_intermediates/u_current.o<br>
> <br>
>  Â  Â  ><br>
>  Â  Â out/target/product/x86/obj/SHARED_LIBRARIES/libglapi_intermediates/u_execmem.o<br>
> <br>
>  Â  Â  > -Wl,--whole-archive Â -Wl,--no-whole-archive<br>
>  Â  Â  ><br>
>  Â  Â out/target/product/x86/obj/STATIC_LIBRARIES/libclang_rt.ubsan_minimal-i686-android_intermediates/libclang_rt.ubsan_minimal-i686-android.a<br>
> <br>
>  Â  Â  > <br>
>  Â  Â  Â out/target/product/x86/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a Â  out/target/product/x86/obj/STATIC_LIBRARIES/libatomic_intermediates/libatomic.a out/target/product/x86/obj/STATIC_LIBRARIES/libgcc_intermediates/libgcc.a -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id=md5 -Wl,*--warn-shared-textrel *-Wl,--fatal-warnings -Wl,--no-undefined-version -Wl,--hash-style=gnu -m32 Â -target i686-linux-android -Bprebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/x86_64-linux-android/bin -Wl,--exclude-libs,libclang_rt.ubsan_minimal-i686-android.a -Wl,--no-undefined out/target/product/x86/obj/lib/libdrm.so out/target/product/x86/obj/lib/libc++.so out/target/product/x86/obj/lib/libc.so out/target/product/x86/obj/lib/libm.so out/target/product/x86/obj/lib/libdl.so -o out/target/product/x86/obj/SHARED_LIBRARIES/libglapi_intermediates/LINKED/libglapi.so out/target/product/x86/obj/lib/crtend_so.o"<br>
>  Â  Â  ><br>
>  Â  Â prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/x86_64-linux-android/bin/ld:<br>
> <br>
>  Â  Â  > warning: shared library text segment is not shareable<br>
>  Â  Â  ><br>
>  Â  Â prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/x86_64-linux-android/bin/ld:<br>
> <br>
>  Â  Â  > error: treating warnings as errors<br>
>  Â  Â  > clang-6.0: error: linker command failed with exit code 1 (use -v<br>
>  Â  Â to see<br>
>  Â  Â  > invocation)<br>
> <br>
</blockquote></div></div>