Skip to content
  1. Oct 03, 2011
    • Chandler Carruth's avatar
      Add initial support for applying the sysroot to library search paths. · 2a649c7a
      Chandler Carruth authored
      This is still very much a WIP, but sysroot was completely broken before
      this so we are moving closer to correctness.
      
      The crux of this is that 'ld' (on Linux, the only place I'm touching
      here) doesn't apply the sysroot to any flags given to it. Instead, the
      driver must translate all the paths it adds to the link step with the
      system root. This is easily observed by building a GCC that supports
      sysroot, and checking its driver output.
      
      This patch just fixes the non-multilib library search paths. We should
      also use this in many other places, but first things first.
      
      This also allows us to make the Linux 'ld' test independent of the host
      system. This in turn will allow me to check in test tree configurations
      based on various different distro's configuration. Again, WIP.
      
      llvm-svn: 140990
      2a649c7a
    • Chandler Carruth's avatar
      Rework the selection of builtin library search paths on Linux to · 413e5ac2
      Chandler Carruth authored
      precisely match the pattern and logic used by the GCC driver on Linux as
      of a recent SVN checkout.
      
      This happens to follow a *much* more principled approach. There is
      a strict hierarchy of paths examined, first with multilib-suffixing,
      second without such suffixing. Any and all of these directories which
      exist will be added to the library search path when using GCC.
      
      There were many places where Clang followed different paths, omitted
      critical entries, and worst of all (in terms of challenges to debugging)
      got the entries in a subtly wrong order.
      
      If this breaks Clang on a distro you use, please let me know, and I'll
      work with you to figure out what is needed to work on that distro. I've
      checked the behavior of the latest release of Ubuntu, OpenSUSE, Fedora,
      and Gentoo. I'll be testing it on those as well as Debian stable and
      unstable and ArchLinux. I may even dig out a Slackware install.
      
      No real regression tests yet, those will follow once I add enough
      support for sysroot to simulate various distro layouts in the testsuite.
      
      llvm-svn: 140981
      413e5ac2
    • Peter Collingbourne's avatar
      CUDA: diagnose invalid calls across targets · 7277fe8a
      Peter Collingbourne authored
      llvm-svn: 140978
      7277fe8a
    • Peter Collingbourne's avatar
      619a8c7d
    • Peter Collingbourne's avatar
      CUDA: diagnose unconfigured calls to global functions · 34a20b08
      Peter Collingbourne authored
      llvm-svn: 140975
      34a20b08
  2. Oct 02, 2011
  3. Oct 01, 2011
  4. Sep 30, 2011
  5. Sep 29, 2011
Loading