From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 674BF3858C52; Fri, 2 Dec 2022 21:07:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 674BF3858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670015239; bh=PCi9kSohQcUiGycQ85xMB7a0qj9MD5PsQcdq9Cbh/jY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=l2dGIH3dQ61VnZ5bcsMTK7/uIgDYaAXIaH6pq7eKQC+Q1iBseGVQmd5ih5RbRy3Lb 0jex/VfXg9VRnQuhvd8eyIR75orLUdAzFK1dyZ3ZZ8r6TU+Z4U9Ljy2VAJ8+giIvQf d/mk3XR8uLRWNfiIWsxs0E5WHkwyLzJLatKi5Mug= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/107950] partial LTO linking of libbackend.a: gcc/gcc-rich-location.cc:207: undefined reference to `range_label_for_type_mismatch::get_text(unsigned int) const' Date: Fri, 02 Dec 2022 21:07:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW 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=3D107950 --- Comment #5 from Andrew Pinski --- It might be the case the object files were unused in the archive so they are not linked in the LTO front-end but now with using LTO partial linking, they are pulled in always.=