[llvm-bugs] [Bug 34417] New: flto, Oz and -fuse-linker=ld.lld do not get along: --plugin-opt: number expected, but got 'z

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 1 14:50:50 PDT 2017


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

            Bug ID: 34417
           Summary: flto, Oz and -fuse-linker=ld.lld do not get along:
                    --plugin-opt: number expected, but got 'z
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: matthias.krueger at famsik.de
                CC: llvm-bugs at lists.llvm.org

I was trying to compile a program with -Oz -flto  -fuse-ld=ld.lld which failed:

/home/matthias/LLVM/LLVM_dev/stage_2/build/bin/clang++ -std=c++0x -Oz -flto 
-fuse-ld=/home/matthias/LLVM/LLVM_dev/stage_2/build/bin/ld.lld -std=c++0x -o
dmake tools/dmake.o cli/filelister.o lib/pathmatch.o lib/path.o
externals/simplecpp/simplecpp.o 
/home/matthias/LLVM/LLVM_dev/stage_2/build/bin/ld.lld: error: --plugin-opt:
number expected, but got 'z'
clang-6.0: error: linker command failed with exit code 1 (use -v to see
invocation)

-- 
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/20170901/1e3d4939/attachment.html>


More information about the llvm-bugs mailing list