[llvm-bugs] [Bug 47540] New: Overeager warning on deprecated use of `-fuse-ld=` flag without even a flag to disable

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 16 03:40:38 PDT 2020


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

            Bug ID: 47540
           Summary: Overeager warning on deprecated use of `-fuse-ld=`
                    flag without even a flag to disable
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: chandlerc at gmail.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Clang recently started warning on `-fuse-ld=` with a path:
```
clang-12: warning: '-fuse-ld=' taking a path is deprecated. Use '--ld-path='
instead
```

There are still pretty widely deployed build systems using this flag construct,
and so it seems a bit frustrating for it to be enabled by default already.
Maybe wait a release or two?

Moreover, the warning could use some improvements I think. 1) It needs a flag
to disable, and 2) it would be helpful to indicate what the path was.

-- 
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/20200916/a037ec87/attachment.html>


More information about the llvm-bugs mailing list