[Bug libstdc++/100851] Using std::thread on Alpine Linux/musl causes SIGABRT after main when unloading a shared library.

2021-09-09 Thread michaldrozd at protonmail dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100851 --- Comment #4 from michaldrozd at protonmail dot ch --- PR 91737 seems similar enough to be related I've narrowed it down to the -Wl,-init functionality, if you comment out this lines it exits cleanly. https://github.com/eclipse/paho.mqtt.c/blob

[Bug libstdc++/100851] New: Using std::thread on Alpine Linux/musl causes SIGABRT after main when unloading a shared library.

2021-06-01 Thread michaldrozd at protonmail dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100851 Bug ID: 100851 Summary: Using std::thread on Alpine Linux/musl causes SIGABRT after main when unloading a shared library. Product: gcc Version: 10.2.1 Status: UNCONFIRME