<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Unfortunately I’ve actually hit a bit of a wall in terms of sorting out the compiler-rt arm builds.<div class=""><br class=""></div><div class="">There are some unfortunate special cases for Linux and Android in both compiler-rt’s build the clang driver, which I haven’t yet thought my way through.</div><div class=""><br class=""></div><div class="">The patch I had intended to help move this along was <a href="https://reviews.llvm.org/D24156" class="">https://reviews.llvm.org/D24156</a>, but the non-standard interpretation of the triple for Linux and Android are problematic when trying to provide a generic convention-based solution.</div><div class=""><br class=""></div><div class="">-Chris</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 9, 2016, at 8:49 AM, Renato Golin <<a href="mailto:renato.golin@linaro.org" class="">renato.golin@linaro.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On 9 September 2016 at 16:07, Abe Clements via llvm-dev<br class=""><<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:<br class=""><blockquote type="cite" class="">Can anyone give me some pointers on how to go about doing this.  I'm<br class="">currently doing a combined build of llvm, clang and compiler-rt for both X86<br class="">and ARM targets.   I am building on ubuntu 14.04, with latest prebuilt llvm<br class="">binaries(3.9) and latest cmake.  My cmake shows that only the X86_64 and<br class="">i386 architectures are supported for building compilter-rt.<br class=""></blockquote><br class="">Hi Abe,<br class=""><br class="">Support for cross compiling RT is precarious. There were some attempts<br class="">in the past, but not very successful, so I normally just build<br class="">natively.<br class=""><br class="">Chris B (CC'd) is working on that part for Darwin / ARM [1], but we<br class="">should also get something working for Linux (if that's what you need).<br class="">As soon as his integration work finishes we can try some magic on our<br class="">side.<br class=""><br class="">If you could try his new scheme (using runtime dir instead of<br class="">projects), it may make the process smoother later on. Also, feel free<br class="">to pick up on the task, if that interests you, as I'll only have time<br class="">to look at that in a few months from now...<br class=""><br class="">I'm also copying Saleem and Jon that have worked around this topic<br class="">more than I did, and can help with more info.<br class=""><br class="">cheers,<br class="">--renato<br class=""><br class="">[1] <a href="http://lists.llvm.org/pipermail/llvm-dev/2016-August/104174.html" class="">http://lists.llvm.org/pipermail/llvm-dev/2016-August/104174.html</a><br class=""></div></div></blockquote></div><br class=""></div></body></html>