GNU bug report logs - #59031
ld-wrapper replaces unicode character with question marks

Previous Next

Package: guix;

Reported by: two <at> envs.net

Date: Sat, 5 Nov 2022 00:51:02 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: two <at> envs.net
To: bug-guix <at> gnu.org
Subject: ld-wrapper replaces unicode character with question marks
Date: Sat, 05 Nov 2022 00:50:07 -0000
$ echo 'int main() {return 0;}' >програма.c
$ guix shell --container gcc-toolchain -- gcc програма.c -o програма.o
$ ls *.o
'????????????????.o'
$ rm *.o
$ # binutils overrides the built-in ld-wrapper, which breaks some libraries, but fixes this example
$ guix shell --container gcc-toolchain binutils -- gcc програма.c -o програма.o
$ ls *.o
програма.o
$ # c files and executables are rarely named with unicode, but this behavior makes some build systems unusable, as they pass a full path, e.g. /home/user/Документи/... to gcc and ld
$




This bug report was last modified 2 years and 282 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.