HEADS UP: New primops on the way

Geoffrey Mainland mainland at apeiron.net
Mon Sep 16 14:03:11 UTC 2013


On 09/16/2013 09:48 AM, Jan Stolarek wrote:
> There will be a major change in primops pushed into HEAD, hopefully with next 24 hours. This change
breaks backwards compatibility for comparison primops and ONCE IT IS
PUSHED will require you to:
>
> 1) Upgrade to latest versions of Alex and Happy (cabal update && cabal
install alex happy). These versions are not yet available. When they are
DO NOT INSTALL THEM UNTIL CHANGES ARE PUSHED INTO HEAD.
>
> 2) Blow away your build. Be sure to run ./configure to pick up new
versions of Alex and Happy
>
> 3) Rebase your branches on top of HEAD, if these branches were in a
repository affected by primop change. Repositories that will be
affected: GHC, testsuite, array, base, dph, ghc-prim, integer-gmp,
integer-simple, primitive, template-haskell.
>
> Janek

Does point #1 mean that these versions of alex and happy are not
backwards compatible, i.e., that they generate code that is only
compatible with the very latest, new-primop, version of ghc that you are
about to push? That seems like it would be a bad situation to be in...

Geoff




More information about the ghc-devs mailing list