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

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 24 Apr 2024 18:30:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278551

--- Comment #11 from Ed Maste <emaste@freebsd.org> ---
I did not reproduce a problem with g++13, with -Wl,--eh-frame-hdr:

$ g++13 -Wl,--eh-frame-hdr -std=c++20 -static-libgcc -static-libstdc++ -static
-pthread -O3 "main.cpp" -o "main_g++" && ./main_g++
kernel
FreeBSD RELEASE 14.0 doesn't reach here.
$

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