[GHC] #9603: getArgs path transformation is broken on Windows

GHC ghc-devs at haskell.org
Wed Sep 17 21:28:28 UTC 2014


#9603: getArgs path transformation is broken on Windows
-------------------------------------+-------------------------------------
              Reporter:  gintas      |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:              |          Version:  7.9
  libraries/base                     |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:  Windows     |       Difficulty:  Unknown
       Type of failure:  Incorrect   |       Blocked By:
  result at runtime                  |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by gintas):

 This turns out to be an issue with the old mingw gcc that is bundled with
 GHC in the ghc-tarballs repository. A simple C file printing it arguments
 prints a mangled string when compiled with the bundled gcc, but works fine
 when using the relatively up-to-date system gcc version.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9603#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list