Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2024 17:51:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 278551] lang/gcc: exceptions do not work in statically linked binaries
Message-ID:  <bug-278551-29464-nMAi0lMYz0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278551-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-278551-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278551

--- Comment #9 from Ed Maste <emaste@freebsd.org> ---
from g++13 -dumpspecs it looks like --eh-frame-header is not included for
statically linked binaries

*link:
%{!static|static-pie:--eh-frame-hdr}   %{m32:-m elf_i386_fbsd}%{!m32:-m
elf_x86_64_fbsd}   %{p:%nconsider using '-pg' instead of '-p' with gprof(1)=
}=20=20
%{v:-V}   %{assert*} %{R*} %{rpath*} %{defsym*}   %{shared:-Bshareable %{h*}
%{soname*}}     %{!shared:       %{!static:         %{rdynamic:-export-dyna=
mic}
    -dynamic-linker %(fbsd_dynamic_linker) }     %{static:-Bstatic}}=20=20
%{symbolic:-Bsymbolic}

I've opened a GCC bug for this:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114839

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278551-29464-nMAi0lMYz0>