From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2CEA03857708; Thu, 7 Mar 2024 14:08:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2CEA03857708 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709820530; bh=x3gjvg1uLPn4Fdzp5vm3XSkxt8Ni46O0PtE1cF1MomE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VpBp3BWRnxxQW897eDYudkULH93F1knAdzlG/qQbdf5PavyFnTS4VPReybP9Cd/xE v3XWDJG+qNHWROlXqEDpJrU250Hu5u0ox9oIBZtJHN10jgMMpxEvGBCSCff5/9fRAE dy8unQUk2CmTjP4nPZiv+RP2pUkkV9PvnSCBayDE= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/113617] [14 Regression] Symbol ... referenced in section `.data.rel.ro.local' of ...: defined in discarded section ... since r14-4944 Date: Thu, 07 Mar 2024 14:08:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: link-failure, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 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=3D113617 --- Comment #22 from Jakub Jelinek --- (In reply to Francois-Xavier Coudert from comment #21) > That reduces a lot, but it's still missing main: >=20 > Excess errors: > Undefined symbols for architecture x86_64: > "_main", referenced from: > This is a shared library, so why should it have main?=