[llvm-bugs] [Bug 52268] New: fatal error: module file 'path/to/A-xxx.pcm' is out of date and needs to be rebuilt: signature mismatch

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Oct 23 01:55:10 PDT 2021


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

            Bug ID: 52268
           Summary: fatal error: module file 'path/to/A-xxx.pcm' is out of
                    date and needs to be rebuilt: signature mismatch
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: sunbohong at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

Created attachment 25383
  --> https://bugs.llvm.org/attachment.cgi?id=25383&action=edit
demo

Clang will build an unstable `xxx.pcm`, and it will lead to compilation errors
`is out of date and needs to be rebuilt: signature mismatch`

Here is an example: https://github.com/sunbohong/clang-module-sign-demo


```
fatal error: module file 'path/A-9AU2GFRR1U5N.pcm' is out of date and needs to
be rebuilt: signature mismatch
note: imported by module 'B' in 'path/B-25F7JY52UVDQX.pcm'
note: imported by 'path/clang-module-sign-demo/tmp/c.pch.gch'
1 error generated.
````

-- 
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/20211023/b25f550c/attachment-0001.html>


More information about the llvm-bugs mailing list