[PATCH] D102936: [CUDA] Work around compatibility issue with libstdc++ 11.1.0
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 21 15:07:14 PDT 2021
tra added a comment.
In D102936#2774686 <https://reviews.llvm.org/D102936#2774686>, @jwakely wrote:
> You can't use `__GLIBCXX__` this way. It will be different for different snapshots from the gcc-11 branch. Some distros are already shipping gcc-11 snapshots with later dates.
>
> I would just check RELEASE == 11. If `__failed_assertion` is present, you'll rename it. If it's not present, nothing gets renamed but it works anyway.
Good point. I've updated the patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102936/new/
https://reviews.llvm.org/D102936
More information about the cfe-commits
mailing list