<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Thanks! The clean rebuild worked.<br><br>Di, Yu<br>1.11<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Simon Peyton-Jones &lt;simonpj@microsoft.com&gt;<br>To: Yu Di &lt;diyu60607@yahoo.com&gt;; Bryan O'Sullivan &lt;bos@serpentine.com&gt;<br>Cc: "glasgow-haskell-users@haskell.org" &lt;glasgow-haskell-users@haskell.org&gt;<br>Sent: Thursday, January 10, 2008 3:18:39 AM<br>Subject: RE: problem with GHC installaion on x86_64<br><br>



 
 

<style>
<!--
 _filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman", "serif";}
a:link, span.MsoHyperlink
        {color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
span.EmailStyle17
        {font-family:"Calibri", "sans-serif";color:#1F497D;}
.MsoChpDefault
        {font-size:10.0pt;}
 _filtered {margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {}
-->
</style>



<div class="Section1">

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">This is a fixed bug</span></p> 

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a rel="nofollow" target="_blank" href="http://hackage.haskell.org/trac/ghc/ticket/2011">http://hackage.haskell.org/trac/ghc/ticket/2011</a></span></p> 

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">However I hadn’t realised that it’s in 6.8.2; I thought we’d
fixed it prior to the 6.8.2 release.</span></p> 

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);"> &nbsp;</span></p> 

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">The workaround is simple: do a “make clean”.&nbsp; (That’s why our
tests didn’t pick it up; they all start from clean.)</span></p> 

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);"> &nbsp;</span></p> 

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">Simon</span></p> 

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);"> &nbsp;</span></p> 

<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">

<p class="MsoNormal"><b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US"> glasgow-haskell-users-bounces@haskell.org
[mailto:glasgow-haskell-users-bounces@haskell.org] <b>On Behalf Of </b>Yu Di<br>
<b>Sent:</b> 09 January 2008 21:47<br>
<b>To:</b> Bryan O'Sullivan<br>
<b>Cc:</b> glasgow-haskell-users@haskell.org<br>
<b>Subject:</b> Re: problem with GHC installaion on x86_64</span></p> 

</div>

</div>

<p class="MsoNormal"> &nbsp;</p> 

<div>

<div>

<p class="MsoNormal" style="margin-bottom: 12pt;">Hi, I found that the x86_64
binary package for version 6.4.1 can be installed successfully on my machine
(the x86_64 builds for higher versions either require <a target="_blank" href="http://libreadline.so">libreadline.so</a>.5 or have
problems with timer_create), and then I tried to use that to compile 6.8.2 from
source, but I got the following problem:<br>
<br>
make[2]: Entering directory `.../ghc-6.8.2/libraries/base'<br>
../../compiler/stage1/ghc-inplace -package-name base-3.0.1.0 -hide-all-packages
-split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude
-#include "HsBase.h" -odir dist/build -hidir dist/build -stubdir
dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -XCPP
-idist/build&nbsp; -H16m -O -O -Rghc-timing -fgenerics -c Control/Concurrent.hs
-o dist/build/Control/Concurrent.o&nbsp; -ohi dist/build/Control/Concurrent.hi<br>
ghc-6.8.2: panic! (the 'impossible' happened)<br>
&nbsp; (GHC version 6.8.2 for x86_64-unknown-linux):<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lookupVers1 base:GHC.Prim sym{tc}<br>
<br>
Please report this as a GHC bug:&nbsp; <a rel="nofollow" target="_blank" href="http://www.haskell.org/ghc/reportabug">http://www.haskell.org/ghc/reportabug</a><br>
<br>
&lt;&lt;ghc: 107290456 bytes, 19 GCs, 3592250/7424504 avg/max bytes residency
(3 samples), 20M in use, 0.00 INIT (0.00 elapsed), 0.17 MUT (0.23 elapsed),
0.06 GC (0.07 elapsed) :ghc&gt;&gt;<br>
<br>
What is this problem? (I can use 6.4.1 but my programs were last developed with
6.8.1 and contains some function calls that are added later, so I would prefer
to use 6.8.1 and above) Thanks,<br>
<br>
Di, Yu<br>
1.9<br>
<br>
</p> 

<div>

<p class="MsoNormal">----- Original Message ----<br>
From: Bryan O'Sullivan &lt;bos@serpentine.com&gt;<br>
To: Yu Di &lt;diyu60607@yahoo.com&gt;<br>
Cc: glasgow-haskell-users@haskell.org<br>
Sent: Tuesday, January 8, 2008 10:07:16 PM<br>
Subject: Re: problem with GHC installaion on x86_64<br>
<br>
Yu Di wrote:<br>
&gt; Hi, I am trying to use ghc on a 64-bit machine (uname -a shows: Linux<br>
&gt; ... 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64<br>
&gt; x86_64 GNU/Linux),<br>
<br>
Since you're using RHEL4, you could try grabbing a GHC source RPM for<br>
Fedora and building that.&nbsp; It might take a bit of tweaking, but probably<br>
very little.&nbsp; (For instructions on building binary RPMs from source,<br>
Google around.)<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;b</p> 

</div>

<p class="MsoNormal"> &nbsp;</p> 

</div>

</div>

<p class="MsoNormal"> &nbsp;</p> 

<div class="MsoNormal" style="text-align: center;" align="center">

<hr align="center" size="1" width="100%">

</div>

<p class="MsoNormal">Never miss a thing. <a rel="nofollow" target="_blank" href="http://us.rd.yahoo.com/evt=51438/*http:/www.yahoo.com/r/hs">Make Yahoo
your homepage.</a> </p> 

</div>

</div>

</div><br></div></div><br>
      <hr size=1>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping"> 
Find them fast with Yahoo! Search.</a></body></html>