From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BDB2A3858C66; Wed, 15 Nov 2023 01:31:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BDB2A3858C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700011905; bh=8qFTCqbgEiOeXmpWKDKVD0/FI0FvfROFmNk9KhSRHSQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CehvvtldPkNUBVDjVDkMVnoqYmR4BWTV0dvCn8LaXV+0+1eppOt3IVlYv+aIT3g9Y ahwYPqgxRpbb5i8DkZspu6FRwLPcR1QVGgDpyb7uD5B5eVyDZ4k/RJWvZYK3AwxQJ4 5PsibowH/qhIpbiyXesXzgDK+Z9rva97WfmvvMA4= From: "lh_mouse at 126 dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/108865] gcc on Windows fails with Unicode path to source file Date: Wed, 15 Nov 2023 01:31:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lh_mouse at 126 dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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=3D108865 --- Comment #38 from LIU Hao --- (In reply to Andrew Pinski from comment #35) > (In reply to peter0x44 from comment #34) > > Unfortunately, this option breaks GCC running under Windows XP. >=20 > XP has not been supported by mingw for a long time so I have no idea how = you > have been building there. In the last year, some efforts have been made to ensure that the mingw-w64 = CRT no longer references symbols that did not exist on XP (e.g. to provide our alternative when there was no `llabs()`). While I didn't test it (I do not = have XP installed on any device) it was said to make GNU toolchains produce executables that run on XP. I'd say XP is still sort of 'supported'. However one still has to take care, for example, not pass `%lld` to `printf()`.=