unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#59031: ld-wrapper replaces unicode character with question marks
@ 2022-11-05  0:50 two--- via Bug reports for GNU Guix
  0 siblings, 0 replies; only message in thread
From: two--- via Bug reports for GNU Guix @ 2022-11-05  0:50 UTC (permalink / raw)
  To: 59031

$ 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
$




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-05  0:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-05  0:50 bug#59031: ld-wrapper replaces unicode character with question marks two--- via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).