Bug#932941: ghc: FTBFS on all architectures which use the unregistered compiler

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Thu Jul 25 09:00:56 BST 2019


Hi!

On 7/25/19 12:39 AM, John Paul Adrian Glaubitz wrote:
> GHC currently fails to build from source on all architectures which use
> the unregisterised compiler.
James Clarke (CC'ed) has suggested to use these defines for bootstrapping 8.6.5:

In includes/rts/storage/ClosureTypes.h, it should be sufficient to add:

#define MUT_ARR_PTRS_FROZEN0 MUT_ARR_PTRS_FROZEN_DIRTY
#define MUT_ARR_PTRS_FROZEN MUT_ARR_PTRS_FROZEN_CLEAN

#define SMALL_MUT_ARR_PTRS_FROZEN0 SMALL_MUT_ARR_PTRS_FROZEN_DIRTY
#define SMALL_MUT_ARR_PTRS_FROZEN SMALL_MUT_ARR_PTRS_FROZEN_CLEAN

and for rts/RtsSymbols.c, we need to do something similar although I'm not sure
that #defines would work here. Either way, we need to temporarily get the
symbols stg_MUT_ARR_PTRS_FROZEN_info, stg_MUT_ARR_PTRS_FROZEN0_info,
stg_SMALL_MUT_ARR_PTRS_FROZEN_info and stg_SMALL_MUT_ARR_PTRS_FROZEN0_info
back to bootstrap GHC 8.6.5 for unregisterised.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the Pkg-haskell-maintainers mailing list