Indeed, there's no problem keeping -no-integrated-as, assuming you don't break your Makefile of course... In fact, removing -no-integrated-as should make the problem disappear by itself, since it should stop clang from calling as. That said, this is fragile and the proper fix is to use -B (also using the integrated as is untested on Lollipop).
As for the Ubuntu version, there is no reason why this shouldn't work on 14.04, given that AOSP provides almost every executable used for building (FWIW - I don't even use Ubuntu). This bug created a dependency on the system as, that the patched removed. On Thursday, 26 May 2016 17:38:46 UTC+1, Dan Willemsen wrote: > > You should be able to keep both -no-integrated-as and that patch, you just > need to make sure the line continuations are proper (\ at the end of each > line except the last). > > As -no-integrated-as was removed in Marshmallow, I assume you're building > Lollipop or earlier. We recommend Ubuntu 12.04 for Gingerbread through > Lollipop, and Ubuntu 14.04 for Marshmallow: > http://source.android.com/source/requirements.html > > If you continue running into issues, I'd suggest building android in a > container (Docker or similar) so that you can load the recommeded Ubuntu > images as necessary. > > - Dan > > On Thu, May 26, 2016 at 9:13 AM Shyam Saini <[email protected] > <javascript:>> wrote: > >> This patch hasn't worked for me. one more thing my original >> *build/core/clang/HOST_x86_common.mk >> *file had an extra argument *-no-integrated-as , *which I removed >> >> >> while applying this patch, because before removing it, some *Makefile >> file missing operator error* occurred. So, i decided to remove >> *-no-integrated-as >> *argument. >> >> please correct me If I'm wrong and if not then post any available >> solution. >> >> >> On Wednesday, May 11, 2016 at 4:14:49 AM UTC+5:30, [email protected] >> wrote: >>> >>> This is an omission in the clang configuration Makefiles, causing the >>> system assembler to be used instead of the prebuilt one, this is the proper >>> fix: https://android-review.googlesource.com/#/c/223100/ >>> >> -- >> -- >> You received this message because you are subscribed to the "Android >> Building" mailing list. >> To post to this group, send email to [email protected] >> <javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/android-building?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Android Building" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
