<html><head></head><body style="zoom: 0%;"><div dir="auto">Hi,<br><br></div>
<div dir="auto">We now always use Word64# to implement Word64.<br><br><br></div>
<div dir="auto">You can find the patch for primitive and many other packages in head.hackage:<br><br></div>
<div dir="auto"><a href="https://gitlab.haskell.org/ghc/head.hackage/-/blob/master/patches/primitive-0.7.3.0.patch">https://gitlab.haskell.org/ghc/head.hackage/-/blob/master/patches/primitive-0.7.3.0.patch</a><br><br><br></div>
<div dir="auto">Cheers,<br></div>
<div dir="auto">Sylvain<br></div>
<div class="gmail_quote" >Le 26 nov. 2021, à 20:35, Harendra Kumar <<a href="mailto:harendra.kumar@gmail.com" target="_blank">harendra.kumar@gmail.com</a>> a écrit:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">
<div>
Forgot to add subject in the previous email.
<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">
On Sat, 27 Nov 2021 at 01:01, Harendra Kumar <
<a href="mailto:harendra.kumar@gmail.com">harendra.kumar@gmail.com</a>> wrote:
<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>
Hi GHC devs,
</div>
<div>
<br>
</div>
<div>
While compiling the primitive package using ghc head I ran into the following error:
</div>
<div>
<br>
</div>
<div>
Data/Primitive/Types.hs:265:870: error:
<br> • Couldn't match type ‘Word64#’ with ‘Word#’
<br> Expected: Word64_#
<br> Actual: Word64#
<br> • In the fourth argument of ‘setWord64Array#’, namely ‘x#’
<br> In the first argument of ‘internal’, namely
<br> ‘(setWord64Array# arr# i n x#)’
<br> In the first argument of ‘unsafeCoerce#’, namely
<br> ‘(internal (setWord64Array# arr# i n x#))’
<br> |
<br>265 | derivePrim(Word64, W64#, sIZEOF_WORD64, aLIGNMENT_WORD64,
<br> |
<br>
</div>
<div>
<br>
</div>
<div>
Any idea what this is and how it can be fixed?
</div>
<div>
<br>
</div>
<div>
-harendra
<br>
</div>
</div>
</blockquote>
</div>
</div>
<pre class="blue"> <hr><br>ghc-devs mailing list<br>ghc-devs@haskell.org<br><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br></pre></blockquote></div></body></html>