[Bug libstdc++/58938] std::exception_ptr is missing on architectures with incomplete atomic int support

2017-01-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58938 Jonathan Wakely changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug libstdc++/58938] std::exception_ptr is missing on architectures with incomplete atomic int support

2016-09-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58938 --- Comment #19 from Jonathan Wakely --- A prototype implementation that doesn't rely on atomics: https://gcc.gnu.org/ml/gcc-patches/2016-09/msg01526.html https://gcc.gnu.org/ml/gcc-patches/2016-09/msg01546.html (both patches are needed).

[Bug libstdc++/58938] std::exception_ptr is missing on architectures with incomplete atomic int support

2015-12-08 Thread philip.deegan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58938 Philip Deegan changed: What|Removed |Added CC||philip.deegan at gmail dot com ---

[Bug libstdc++/58938] std::exception_ptr is missing on architectures with incomplete atomic int support

2015-12-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58938 --- Comment #14 from Jonathan Wakely --- (In reply to Philip Deegan from comment #13) > How would one fix this on ARMv7-A for instance? > > Compiling with "-march=armv7-a" on arm-linux-gnueabihf results in a link > error for

[Bug libstdc++/58938] std::exception_ptr is missing on architectures with incomplete atomic int support

2015-12-08 Thread philip.deegan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58938 --- Comment #15 from Philip Deegan --- Hi, thanks for the quick reply. Yeah I tried with atomic, not much different shared or static, is something special required when building gcc/libc? Linking with --verbose results in: -lmy_lib -latomic

[Bug libstdc++/58938] std::exception_ptr is missing on architectures with incomplete atomic int support

2015-12-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58938 --- Comment #16 from Jonathan Wakely --- It should work if you build GCC for ARMv7, i.e. configure --with-arch=armv7-a, but that changes the instruction set used for all the target libraries.

[Bug libstdc++/58938] std::exception_ptr is missing on architectures with incomplete atomic int support

2015-12-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58938 --- Comment #18 from Jonathan Wakely --- (In reply to Philip Deegan from comment #17) > However, if a thread calls std::current_exception it segfaults in > libstdc++-v3/libsupc++/eh_ptr.cc line 190: > __cxa_exception *header =

[Bug libstdc++/58938] std::exception_ptr is missing on architectures with incomplete atomic int support

2015-12-08 Thread philip.deegan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58938 --- Comment #17 from Philip Deegan --- Building bin-utils/gcc/glibc with --with-arch=armv7-a did the trick. Atomic is not required. However, if a thread calls std::current_exception it segfaults in libstdc++-v3/libsupc++/eh_ptr.cc line 190:

[Bug libstdc++/58938] std::exception_ptr is missing on architectures with incomplete atomic int support

2014-10-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58938 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED