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: unassignedclangb...@nondot.org
Reporter: sunboh...@gmail.com
CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
neeil...@live.com, richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs