GNU bug report logs -
#59031
ld-wrapper replaces unicode character with question marks
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
$ 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.