[GHC] #15758: hsc2hs broken due to incorrect argument passing to the hsc2hs executable
GHC
ghc-devs at haskell.org
Wed Oct 17 18:24:24 UTC 2018
#15758: hsc2hs broken due to incorrect argument passing to the hsc2hs executable
-------------------------------------+-------------------------------------
Reporter: osa1 | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version:
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 ckoparkar):
I forgot to mention the Cabal bits in comment:3. In Cabal, the decision of
whether or not to use response files for invoking {{{hsc2hs}}} is made
based only on the version of {{{hsc2hs}}}.
{{{#!haskell
if hsc2hs_version >= 0.68.4
then use response files
else regular command-line arguments
}}}
But we can have a {{{hsc2hs-0.68.4}}} that is compiled with GHC < 8.6,
which won't support response file arguments. I think this is what's
happening in the {{{regex-posix}}} example that osa1 posted.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15758#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list