[llvm-bugs] [Bug 32944] New: automatically rebuild pcm when modulemap was modified

via llvm-bugs llvm-bugs at lists.llvm.org
Fri May 5 13:48:39 PDT 2017


            Bug ID: 32944
           Summary: automatically rebuild pcm when modulemap was modified
           Product: clang
           Version: 4.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Modules
          Assignee: unassignedclangbugs at nondot.org
          Reporter: mail at milianw.de
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org

I started to play around with modules and ran into the following error:

fatal error: file
has been modified since the module file
was built
note: please rebuild precompiled header

Note that the KDBusAddons module depends on the QtCore module here. Right now
I'm failing to find an easy way to reproduce this issue - I work-arounded it by
pruning /tmp/org.llvm.clang.milian in the meantime.

In general, couldn't the above scenario be handled more gracefully by
implicitly rebuilding the precompiled header? I.e. why is manual
user-intervention required here?

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/20170505/06a394c2/attachment-0001.html>

More information about the llvm-bugs mailing list