[GHC] #9121: Presence of dyn_o files not checked upon recompilation

GHC ghc-devs at haskell.org
Sat Dec 12 08:53:04 UTC 2015


#9121: Presence of dyn_o files not checked upon recompilation
-------------------------------------+-------------------------------------
        Reporter:  andreas.abel      |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Driver            |              Version:  7.8.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by ppetr):

 I can confirm this happens for other packages as well. I was compiling
 arithmoi==0.4.1.3 against stackage-lts-3.17 with GHC 7.10.2 and cabal
 1.22.6.0 (cabal library 1.22.4.0). I interrupted cabal during the build
 phase, and when compiling again, it failed with

 {{{
 gcc: error: dist/build/Math/NumberTheory/GCD.dyn_o: No such file or
 directory
 }}}

 Recompiling diidn't help

 {{{
 $ cabal build -j
 Warning: /home/p/.cabal/config: Unrecognized field constraints on line 5
 Building arithmoi-0.4.1.3...
 Preprocessing library arithmoi-0.4.1.3...
 gcc: error: dist/build/Math/NumberTheory/GCD.dyn_o: No such file or
 directory
 }}}

 but ''cabal clean'' and rebuilding everything solved the problem.

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


More information about the ghc-tickets mailing list