[Bug target/113891] On FreeBSD, a statically linked program which runs a std::thread aborts

2024-02-13 Thread stffn.mobil at freenet dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113891 --- Comment #4 from Steffen --- I'm not sure how to get this done. I tried it with -Wl,--no-as-needed, which aborts as well and -Wl,--whole-archive but that does not compile with undefined reference errors

[Bug other/113891] On FreeBSD, a statically linked program which runs a std::thread aborts

2024-02-12 Thread stffn.mobil at freenet dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113891 --- Comment #2 from Steffen --- The program was compiled with g++13 -pthread -static main.cc

[Bug other/113891] On FreeBSD, a statically linked program which runs a std::thread aborts

2024-02-12 Thread stffn.mobil at freenet dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113891 --- Comment #1 from Steffen --- Created attachment 57401 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57401&action=edit main.ii

[Bug other/113891] New: On FreeBSD, a statically linked program which runs a std::thread aborts

2024-02-12 Thread stffn.mobil at freenet dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113891 Bug ID: 113891 Summary: On FreeBSD, a statically linked program which runs a std::thread aborts Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: norm