[PATCH] Fix ARM cross compile crt*.o search path.

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Sun Oct 27 05:16:37 PDT 2013

  Sorry for the overlap. Sriram  and I were looking at this too :-(

  My patch is at http://llvm-reviews.chandlerc.com/D2031

Comment at: lib/Driver/ToolChains.cpp:2269
@@ -2268,1 +2268,3 @@
                                 const ArgList &Args) {
+  if (Triple.getArch() == llvm::Triple::arm ||
+      Triple.getArch() == llvm::Triple::thumb)
This ends up finding the correct path (I think), but to match the gcc output this should be "lib" for ubuntu and "lib32" for Fedora.


More information about the cfe-commits mailing list