From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DAB043836C74; Mon, 15 Feb 2021 10:12:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DAB043836C74 From: "hubicka at ucw dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/99097] profiledbootstrap fails with LTO and disabled plugin Date: Mon, 15 Feb 2021 10:12:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at ucw dot cz X-Bugzilla-Status: WAITING 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2021 10:12:33 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99097 --- Comment #6 from Jan Hubicka --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99097 >=20 > --- Comment #5 from Martin Li=C5=A1ka --- > (In reply to Jan Hubicka from comment #3) > > > I've just tried to reproduce it: > > > ../configure --with-build-config=3Dbootstrap-lto --enable-checking=3D= release > > > --disable-plugin > > >=20 > > > But the build is fine for me. >=20 > Ah, my bad, I used BFD. >=20 > > On our dhcp230 (zen III machine) it works if you make system linker ld, > > if system linker is gold (from tumbleweed) it fails > >=20 > > GNU gold (GNU Binutils 2.36.50.20210211) 1.16 >=20 > Note that this isn't ld.gold from openSUSE Tumbleweed. We still have 2.35= .1 > release in the distribution. This must be a built gold from source files? Ah, you are right. It is binutils trunk (unpatched). Will figure out what is going on here. Honza=