[Bug 278551] lang/gcc: exceptions do not work in statically linked binaries

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 28 Apr 2024 04:08:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278551

--- Comment #23 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #21)

Another combination that works uses libc++ instead
(pthread example again):

g++13 -static -pthread -stdlib=libc++
lang-gcc-g++-exception-handling-with-threads.cpp -o
lang-gcc-g++-exception-handling-with-threads &&
./lang-gcc-g++-exception-handling-with-threads

-- 
You are receiving this mail because:
You are the assignee for the bug.