diff options
author | Pavel Labath <labath@google.com> | 2016-05-26 15:16:11 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2016-05-26 15:16:11 +0000 |
commit | 95d6c7731cf3bc6fd85cce5d5fc5381903aef9b2 (patch) | |
tree | ffd811e49f0889c78ac59ec5fbff8fdcd486e91d /llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp | |
parent | e5819e27321b93629aa7a561b98fa7fec1cb8391 (diff) | |
download | llvm-95d6c7731cf3bc6fd85cce5d5fc5381903aef9b2.zip llvm-95d6c7731cf3bc6fd85cce5d5fc5381903aef9b2.tar.gz llvm-95d6c7731cf3bc6fd85cce5d5fc5381903aef9b2.tar.bz2 |
[cmake] Add a big warning about a libstdc++ issue
Summary:
Recent increase in the usage of std::weak_ptr has caused us to rediscover an issue in libstdc++
versions prior to 4.9 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59656>, which make this class
unusable without exceptions in the presence of multiple threads. It's virtualy impossible to work
around this issue without implementing our own shared_ptr/weak_ptr substitutes, which does not
seem like a good idea.
Therefore, I am adding a big CMake warning which warns you about this issue if you're attempting
a to do a build which is suceptible to this problem and suggests possible alternatives. Right
now, nothing spectacular will happen if you ignore this warning (all the crashes I have seen
occur during process shutdown), but there's no guarantee the situation will not change in the
future.
Reviewers: tberghammer, tfiala, nitesh.jain, omjavaid, emaste, krytarowski
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D20671
llvm-svn: 270854
Diffstat (limited to 'llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions