From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AC1E53858C50; Mon, 2 Jan 2023 14:00:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AC1E53858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1672668032; bh=AG7i5sthBfdp0ZLGj4XhGSns/r+jCfJzMzAw4tMuoZg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=T6dnmZiIrWEYoTbdqbt/bCz9Cc3ndtqDZc4t1nfc3iCmGGcrNVar0Rne78KPXpBFW a1alPICyh5KyP3VuhKp9zd9rnBW1cgOklVn0Diu8Un35bQLB4HNvNJ5xqgkXBQ7ydU OhaJsjCQajChpSdUt5kxbzPiuAaZVY3OZjCcI5I4= From: "juergen.reuter at desy dot de" 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 14:00:32 +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: juergen.reuter at desy dot de 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: 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 --- Comment #10 from J=C3=BCrgen Reuter --- (In reply to Iain Sandoe from comment #9) > (I don't have a macOS13 setup yet, limited hardware available here) >=20 > ... so, if it is not fixed in the Xcode 14.x releases, we'll have to work > around it in the GCC sources. >=20 > Work-around is to add this to the 'make' command line. >=20 > BOOT_CFLAGS=3D"-O2 -g -Wno-error=3Ddeprecated-declarations"=20 >=20 > I think we can arrange for that to be added automatically to the build > flags, it is intended to deal with this before 13 branches. Hm, this doesn't work for me, neither when adding to the configure line nor when adding it to the make command. Sorry for being ignorant, but how do I = have to apply this?=