From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AA2DB3858D37; Sat, 14 Jan 2023 21:43:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AA2DB3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673732597; bh=nZkQNpuhRMp5Cs3oi5UMNc4xOE4f5PVKaPmmMYNaqmo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=PKb+wqC31JDOUttZP2HIQxOIyVJd2NKyJEz72AY+vshRJSwQZWffMbtO+EE8zYEt7 XjkO9WE+gFENmnDRtSl8YEzJs3gh5XKN5G+aFgrrfEDwwWbZB3ZBE+Kdbq9G53xXUV CaHUWuzphieBiGLdJ2Pe/EO1Pm+mLY0zwjZDRQ+M= From: "hubicka 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: Sat, 14 Jan 2023 21:43:16 +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: hubicka 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 #7 from Jan Hubicka --- Thanks for looking into the incremental link of libbackend. I had it in my = tree for a while but never got around implementing correct way to enable it only during bootstrap since host compiler may not support it. It would be nice to have it in since it should reduce WPA memory use and also test this code pa= th. I also think it is the case where partial linking makes the symbol to be pu= lled into LTO binary at the initial link time. It should be optimized away if linker was not complaining.=