[llvm-bugs] [Bug 46103] New: -MMD misplaces the dependency file when compiling+linking and the path to the output contains periods

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 27 09:05:26 PDT 2020


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

            Bug ID: 46103
           Summary: -MMD misplaces the dependency file when
                    compiling+linking and the path to the output contains
                    periods
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: michael.aivazis at para-sim.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Steps to recreate:

mkdir foo.lib foo.out
vi foo.lib/empty.c <- put some trivial code in here
clang -MMD foo.lib/empty.c -o foo.out/empty

and the dependency file is placed in the current directory. gcc places it in
foo.out, alongside the executable.

-- 
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/20200527/c1c16887/attachment.html>


More information about the llvm-bugs mailing list