From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 36181384B11C; Wed, 24 Apr 2024 17:55:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 36181384B11C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713981355; bh=ASSFvJaugqDiT42fDZ7neT9LxpySsBSQzmFaAPQWp2g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=E3ffGskHVT7Ze6MajD+UXg1Xa4rr6XSYAdub9AsBYfViot6vyIOwLIr8sumNJKj64 C2+MW/qmBc64AT0Ay4D4c2KLWTIr5pkozAmWQp/CiSWMWpd/tUClOR5Hpo6ujBuXB7 Lkj+8wGcO4zB/pbj3kmWVkE/6UcPtr40PUSq3PSs= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114839] g++-linked FreeBSD static binaries abort upon exception Date: Wed, 24 Apr 2024 17:55:54 +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: pinskia at gcc dot gnu.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 #1 from Andrew Pinski --- >From gcc/config/freebsd.h: #if defined(HAVE_LD_EH_FRAME_HDR) #define LINK_EH_SPEC "%{!static|static-pie:--eh-frame-hdr} " #endif The !static part comes from r0-95899-g2208d2ac9546de .=