From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9E5AA382FC98; Thu, 24 Nov 2022 16:49:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9E5AA382FC98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669308554; bh=QW7XK4nr1IQOSViLYAHXtIY1zdMPtpIsEUr7CY+Fs4w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=leUHIi20AYHbyXwVal6JUU/aKDnsTmokdagxmJksc5SDH+lRxKlAeKcxM1L3bLKRR WMJtqci2zWnKIHi+A+J175/6R+mQmE/W9KNnywjUopf6k2OI5iuyD5KszTKF3Lg4+v 4Ar7t6fCfAwmJy9ovREsuYEdmlT2ZU8RigYdjMKs= From: "arnout at mind dot be" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/107728] with -O0, libgcc in the first stage compiler has reference to libc functions Date: Thu, 24 Nov 2022 16:49:14 +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: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arnout at mind dot be X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: MOVED 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: cc 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=3D107728 Arnout Vandecappelle changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arnout at mind dot be --- Comment #4 from Arnout Vandecappelle --- This bug was already reported before at glibc: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29621 There it was concluded that it is due to gcc stage1 being built with CFLAGS_FOR_TARGET=3D"-O0". This is not something that is tested in glibc's testing infrastructure. It's not clear to me whether the issue needs to be solved in GCC or in glib= c.=