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

            Bug ID: 33805
           Summary: cmake: initial linker detection ignores
                    -DLLVM_USE_LINKER and prints gold is used
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: matthias.krue...@famsik.de
                CC: llvm-bugs@lists.llvm.org

To repro:

git clone https://github.com/llvm-mirror/llvm --depth=1
mkdir build
cd build
cmake ../llvm -DLLVM_USE_LINKER=/path/to/lld.ld

So I explicitly told cmake to use lld, yet it prints
-- Linker detection: GNU Gold
which is quite confusing because in the end it actually uses the specified lld
instead of ld with gold plugin.


The cmake output should reflect that we passed LLVM_USE_LINKER in my opinion.

llvm @ c877b6eac83913c02cd98d3086e85119d18099e7 / 
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308109
91177308-0d34-0410-b5e6-96231b3b80d8

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to