| Issue |
183908
|
| Summary |
[libc++ 22] llvm-{20,21} fails to build with static assertion failed due to requirement 'std::is_empty<std::__map_value_compare
|
| Labels |
libc++
|
| Assignees |
|
| Reporter |
listout
|
##### [libc++ 22] llvm-{20,21} fails to build with static assertion failed due to requirement 'std::is_empty<std::__map_value_compare<llvm::rdf::RegisterRef, std::pair<const llvm::rdf::RegisterRef, llvm::rdf::RegisterRef>, std::less<llvm::rdf::RegisterRef>>>::value'
This was first caught on Gentoo Linux with LLVM profile. After update to llvm-core/llvm-22.1.0, both llvm-core/llvm-21.1.8 and llvm-core/llvm-20.1.8 failed to build.
I was able to reproduce this with both llvm from ::gentoo and building llvmorg-21.1.8 after the update. After bisecting I was led to commit a558d656043734cc4d02e0a0a12e4c308c28f8c7 ( and 356be1a36eccc3cdeba35970b07f3052d1ed8076 ). Cherry picking them did help with the build failures.
I also saw https://github.com/llvm/llvm-project/pull/183551, not sure if it's related.
Gentoo Bug: https://bugs.gentoo.org/968955.
Build failure log (21.1.8) : https://gist.githubusercontent.com/listout/9bac071832f7ebbcd3acb8b53c035712/raw/d99b561a544b8dddd4cfcaaf487c35e4dc4d1dc2/vartmpportagellvm-corellvm-21.1.8tempbuild.log
Build logs for 21.1.8 and 20.1.8 are also available in the Gentoo bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs