From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AE2BE3858D33; Thu, 2 Mar 2023 00:57:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AE2BE3858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677718622; bh=VOMww/bAM2LJeFY32ugvIhFDJVvnXAKhrMXIqnyTmbc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VKp29iEUaBs2L9XjpnaW0ZRFQ7B1MYJtvMdC2WPi/TagrU0Mkk9cIhMdgBEn9Xk+V GhT/+REYbcLk6bVXEpUH4w2CC2gVxk70tNSLsRXMNXN81Tk/hZYWn4jLGIYeP3xr+5 HSshbOqaZVNEv2/vHIlBzzoKjsaU4yAXRS15qM7g= From: "costas.argyris at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/108865] gcc on Windows fails with Unicode path to source file Date: Thu, 02 Mar 2023 00:57:02 +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: costas.argyris at gmail dot com 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: --- 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 #13 from Costas Argyris --- With the changes in the attached patch, the utf8 object file gets linked in= to gcc.exe but not cc1.exe - How can I achieve this? Basically this object = file has to be linked pretty much in every executable as far as I can tell - we = want all of them to use the same encoding (although only those that take user-provided paths are really necessary). gcc/config.host says: # host_extra_objs List of extra host-dependent objects that should # be linked into the compiler proper. # # host_extra_gcc_objs List of extra host-dependent objects that should # be linked into the gcc driver. As seen in the patch, I added the new .o file in both of these variables.= =20=20=20 The driver certainly took it, but cc1 did not. From that description I t= ake it that host_extra_objs should have done it, no? I looked into the libcc1 folder but there is no config.host file there, or anything that looks like it enables host-specific configuration. Any thoughts on how I can extend the scope of where the new object file gets linked in, to cover at least cc1 and possibly more?=