https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71541
Bug ID: 71541 Summary: destructor of condition_variable_any crashes with static linkage Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc_bugzilla at haphi dot de Target Milestone: --- Host: x86_64-linux-gnu Target: x86_64-linux-gnu Build: x86_64-linux-gnu Created attachment 38701 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38701&action=edit trivial repro case The attached trivial test program crashes on several linux 64bit systems when linked with "-static", or "-static-libgcc -static-libstdc++". The problem also occurs with gcc 5.3.0. The problem does not occur on a raspberry pi with gcc 6.1.1 (armv7l-unknown-linux-gnueabihf).