[LLVMbugs] [Bug 24274] New: Remove all hardcoded paths in the Solaris clang Driver

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 27 08:25:04 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24274

            Bug ID: 24274
           Summary: Remove all hardcoded paths in the Solaris clang Driver
           Product: clang
           Version: trunk
          Hardware: Sun
                OS: Solaris
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: xan at igalia.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The current code can only work in a 2012 Solaris/x86 machine with a single GCC
version. Not sure why it was committed like that, but I guess it was better
than nothing. These two patches:

- Add enough logic in the GCC Installation detector to work on Solaris (which
is different than GNU/Linux).

- Add the proper GCC and /usr/lib/... paths in the ToolChain::GetFilePath
method.

- Change all the code to use that instead of hardcoded paths.

Tested on a recent Solaris/sparc box and it all seems to work fine.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150727/a1f89332/attachment.html>


More information about the llvm-bugs mailing list