Compiling "primitive" with ghc head

Harendra Kumar harendra.kumar at gmail.com
Fri Nov 26 19:35:08 UTC 2021


Forgot to add subject in the previous email.

On Sat, 27 Nov 2021 at 01:01, Harendra Kumar <harendra.kumar at gmail.com>
wrote:

> Hi GHC devs,
>
> While compiling the primitive package using ghc head I ran into the
> following error:
>
> Data/Primitive/Types.hs:265:870: error:
>     • Couldn't match type ‘Word64#’ with ‘Word#’
>       Expected: Word64_#
>         Actual: Word64#
>     • In the fourth argument of ‘setWord64Array#’, namely ‘x#’
>       In the first argument of ‘internal’, namely
>         ‘(setWord64Array# arr# i n x#)’
>       In the first argument of ‘unsafeCoerce#’, namely
>         ‘(internal (setWord64Array# arr# i n x#))’
>     |
> 265 | derivePrim(Word64, W64#, sIZEOF_WORD64, aLIGNMENT_WORD64,
>     |
>
>
>
> Any idea what this is and how it can be fixed?
>
> -harendra
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20211127/29d10f95/attachment.html>


More information about the ghc-devs mailing list