GHC: Ticket #909: problems building base package with --make; wired in things are assumed to not be in current package
http://ghc.haskell.org/trac/ghc/ticket/909
<p>
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:
</p>
<pre class="wiki">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
</pre><p>
This is now tested by base01 in the testsuite.
</p>
en-usGHChttp://ghc.haskell.org/trac/ghc/chrome/site/ghc_logo.png
http://ghc.haskell.org/trac/ghc/ticket/909
Trac 1.2simonpjFri, 06 Oct 2006 14:04:12 GMTstatus changed; resolution set
http://ghc.haskell.org/trac/ghc/ticket/909#comment:1
http://ghc.haskell.org/trac/ghc/ticket/909#comment:1
<ul>
<li><strong>status</strong>
changed from <em>new</em> to <em>closed</em>
</li>
<li><strong>resolution</strong>
set to <em>fixed</em>
</li>
</ul>
<p>
Fixed. Simon
</p>
TicketiglooMon, 05 Nov 2007 15:03:53 GMTmilestone changed
http://ghc.haskell.org/trac/ghc/ticket/909#comment:2
http://ghc.haskell.org/trac/ghc/ticket/909#comment:2
<ul>
<li><strong>milestone</strong>
changed from <em>6.8 branch</em> to <em>6.8.1</em>
</li>
</ul>
TicketsimonmarTue, 30 Sep 2008 15:45:05 GMTarchitecture changed
http://ghc.haskell.org/trac/ghc/ticket/909#comment:3
http://ghc.haskell.org/trac/ghc/ticket/909#comment:3
<ul>
<li><strong>architecture</strong>
changed from <em>Multiple</em> to <em>Unknown/Multiple</em>
</li>
</ul>
TicketsimonmarTue, 30 Sep 2008 15:54:44 GMTos changed
http://ghc.haskell.org/trac/ghc/ticket/909#comment:4
http://ghc.haskell.org/trac/ghc/ticket/909#comment:4
<ul>
<li><strong>os</strong>
changed from <em>Multiple</em> to <em>Unknown/Multiple</em>
</li>
</ul>
Ticket