|
[GHC] #909: problems building base package with --make; wired in things are: msg#00091lang.haskell.glasgow.bugs
#909: problems building base package with --make; wired in things are assumed to not be in current package -------------------------+-------------------------------------------------- Reporter: igloo | Owner: simonpj Type: bug | Status: new Priority: normal | Milestone: 6.8 Component: Compiler | Version: 6.4.2 Severity: normal | Keywords: Os: Multiple | Difficulty: Unknown Architecture: Multiple | -------------------------+-------------------------------------------------- GHC currently assumes that wired in things are not in the current package. This causes problems when the base package is partially compiled (in particular, GHC.Base is built already) and you try to build the whole thing with --make. Each time it needs something from GHC.Base, GHC looks to see if it has been loaded from another package yet and, upon finding it hasn't, loads it from the current package. This results in it loading it multiple times, giving errors like: {{{ GHC/Foo.hs:6:6: Overlapping instances for Eq Bool arising from use of `==' at GHC/Foo.hs:6:6-17 Matching instances: instance Eq Bool -- Defined in GHC.Base instance Eq Bool -- Defined in GHC.Base instance Eq Bool -- Defined in GHC.Base In the expression: True == True In the definition of `foo': foo = True == True }}} This is now tested by base01 in the testsuite. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/909> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler_______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Summary of GHC 6.6 test suite failures on MSYS/MinGW, Brian Smith |
|---|---|
| Next by Date: | Re: Bogus stats when running SMP programs, Simon Marlow |
| Previous by Thread: | GHCi crash due to unsafe coerce ?, Mathew Mills |
| Next by Thread: | [GHC] #910: --make should have a -j flag for paralel building, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |