From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0EB243858C74; Mon, 2 Jan 2023 12:44:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0EB243858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1672663499; bh=IzCIz/FyKG1OvvEp5XzIcfEqCSq4RXhE+XfV6T3RWVM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=phUw4488MHktfLJgrY2h9cXs/bMpAZ3xO24p2eXO/M3hjFBTopSom7aX5ALXMjsF+ sPRo8ahxfQ1bnY1ELRdehIaWv9PmDkx/vPOnzwgQPTrmwprpbA7LDUkBf9hJBJuOga +P389gPpx1oEhDa/r5rQO0zt/RfIV3VpPwdjNbO8= From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107568] Darwin: Bootstrap fails with macOS13 sdk because sprintf and friends are deprecated in the SDK. Date: Mon, 02 Jan 2023 12:44:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: iains 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: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone 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=3D107568 Iain Sandoe changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |13.0 --- Comment #9 from Iain Sandoe --- (I don't have a macOS13 setup yet, limited hardware available here) ... so, if it is not fixed in the Xcode 14.x releases, we'll have to work around it in the GCC sources. Work-around is to add this to the 'make' command line. BOOT_CFLAGS=3D"-O2 -g -Wno-error=3Ddeprecated-declarations"=20 I think we can arrange for that to be added automatically to the build flag= s, it is intended to deal with this before 13 branches.=