#3060: impossible internal bug while building darcs
-------------------------+--------------------------------------------------
    Reporter:  quick     |        Owner:          
        Type:  bug       |       Status:  reopened
    Priority:  normal    |    Milestone:          
   Component:  Compiler  |      Version:  6.10.1  
    Severity:  minor     |   Resolution:          
    Keywords:            |   Difficulty:  Unknown 
    Testcase:            |           Os:  Linux   
Architecture:  x86       |  
-------------------------+--------------------------------------------------
Comment (by duncan):

 GHC-6.10.1 bundles unix-2.3.1.0. There are several other installed
 packages that come with ghc-6.10.1 that depend on unix-2.3.1.0. You cannot
 in general substitute an installed package without also rebuilding all the
 other packages that depend on it. There is no guarantee that you can
 rebuild the package and get the same ABI as previously.

 In this case you are fortunate that you get errors at compile time due to
 mismatches in .hi files rather than linker errors or segfaults.

 At the moment we do not track ABIs so Cabal and ghc-pkg do not prevent you
 from doing unwise things. The short term solution is to "not do that". The
 medium term solution is to track the ABI and use it as a check. The longer
 term solution is to allow installing multiple instances based on their
 ABI.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3060#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to