Skip to content

ghc -split-objs fails on Unicode file names

See enclosed example.

$ chdir example
$ ghc -split-objs Main
[1 of 2] Compiling Példa            ( Példa.hs, Példa.o )
/usr/bin/ld: cannot find /home/strake/example/./P
/usr/bin/ld: cannot find lda_o_split/P
/usr/bin/ld: cannot find lda__1.o
/usr/bin/ld: cannot find /home/strake/example/./P
/usr/bin/ld: cannot find lda_o_split/P
/usr/bin/ld: cannot find lda__2.o
collect2: error: ld returned 1 exit status
éééé
$ 
Trac metadata
Trac field Value
Version 7.10.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information