Bug ID | 1119092 |
---|---|
Summary | llvm7: libLLVM is ABI incompatible between GCC and CLANG |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Development |
Assignee | bnc-team-screening@forge.provo.novell.com |
Reporter | msrb@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
There is a clang-specific optimization in llvm::Optional, which makes code compiled with gcc and clang incompatible with each other. We build libLLVM, libclang, etc using clang, but the rest of the distribution is build using gcc. So anything that links against libLLVM, libclang, etc may be broken. Bug that introduced the clang-only optimization: https://bugs.llvm.org/show_bug.cgi?id=35978 Fix (removing the optimization from everywhere): https://reviews.llvm.org/D50710