[llvm-bugs] [Bug 32678] New: lld-link: Add opt-in warning when linked files (.libs etc) have a different case than on disk

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Apr 16 11:51:11 PDT 2017


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

            Bug ID: 32678
           Summary: lld-link: Add opt-in warning when linked files (.libs
                    etc) have a different case than on disk
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: COFF
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org

Similar to Wnonportable-include-path added in
http://llvm.org/viewvc/llvm-project?view=revision&revision=271708 : Add an
opt-in warning to lld that warns if you link e.g. user32.lib while the file is
called User32.Lib on disk.

This way, people on Windows can get diagnostics if their build wouldn't work on
a linux system with a case-sensitive file system.

This should catch:
- files passed on the command line
- in rsp files
- from #pragma comment(lib, "mylib.lib") lines in cc files

(Not urgent.)

-- 
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/20170416/037b1948/attachment-0001.html>


More information about the llvm-bugs mailing list