[GHC] #11063: ghc -split-objs fails on Unicode file names

#11063: ghc -split-objs fails on Unicode file names -------------------------------------+------------------------------------- Reporter: strake888 | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.10.2 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- 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 éééé $ }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11063 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11063: ghc -split-objs fails on Unicode file names -------------------------------------+------------------------------------- Reporter: strake888 | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by strake888): * Attachment "example.tar.gz" added. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11063 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11063: ghc -split-objs fails on Unicode file names -------------------------------------+------------------------------------- Reporter: strake888 | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by strake888): GHC in this mode generates an ld script in compiler/main/DriverPipeline.hs with the paths to all the split obj files, which ld parses wrongly if they have such characters. I think double-quoting the paths written to this script would work but I have yet to test it. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11063#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11063: ghc -split-objs fails on Unicode file names -------------------------------------+------------------------------------- Reporter: strake888 | Owner: strake888 Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by strake888): * owner: => strake888 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11063#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11063: ghc -split-objs fails on Unicode file names -------------------------------------+------------------------------------- Reporter: strake888 | Owner: strake888 Type: bug | Status: patch Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1442 Wiki Page: | -------------------------------------+------------------------------------- Changes (by strake888): * status: new => patch * differential: => Phab:D1442 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11063#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11063: ghc -split-objs fails on Unicode file names
-------------------------------------+-------------------------------------
Reporter: strake888 | Owner: strake888
Type: bug | Status: patch
Priority: normal | Milestone: 8.0.1
Component: Compiler | Version: 7.10.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D1442
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#11063: ghc -split-objs fails on Unicode file names -------------------------------------+------------------------------------- Reporter: strake888 | Owner: strake888 Type: bug | Status: closed Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.10.2 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1442 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: patch => closed * resolution: => fixed Comment: This has been merged. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11063#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC