[GHC] #10937: "ghc -no-link --make A.hs -o foo" does something silly

GHC ghc-devs at haskell.org
Fri Dec 11 19:48:25 UTC 2015


#10937: "ghc -no-link --make A.hs -o foo" does something silly
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                Owner:
            Type:  bug               |               Status:  new
        Priority:  lowest            |            Milestone:
       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 ezyang):

 A related silliness:

 {{{
 ghc -no-link --make -o foo A.hs a.c b.c
 }}}

 All of the products: the builds of A.hs, a.c and b.c are all placed in
 foo, clobbering each other.

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


More information about the ghc-tickets mailing list