From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 899A63846402; Wed, 24 Apr 2024 20:29:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 899A63846402 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713990543; bh=1CavypWbfYIelgUM0K2NL+jhWcf1fIU0XUtLs6LuZRE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BIe8sRdrGYsAY3mWUIP7bzV+Jxs5OGEA4u2bnJjEaLcYUn4pq1J6/W59gQiBVxXGm Vj1ajJCQvYDGZUFAkzQsrPt15NWlCqnW7MuGfVPYiOM20ytuG+Mcl9WNj6T7C6bcSo dxnqHXbUHKnmznu9qH7hhTLxEDMO5Dbdx1jvsaW8= From: "emaste at freebsd dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114839] g++-linked FreeBSD static binaries abort upon exception Date: Wed, 24 Apr 2024 20:29:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: emaste at freebsd dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114839 --- Comment #4 from Ed Maste --- Thanks - 54568 adds some good context. Based on that I think it may that fr= ame registration calls are not present in the FreeBSD crt bits used for static binaries, which could explain the differences in OSes. We could look into adding the registration calls, but it seems that using --eh-frame-hdr always is the best path for us.=