Re: Reinstallable lib:ghc (was: [core libraries] Upgradeable base (smallest step forward))

2017-07-26 Thread Edward Z. Yang
Reinstalled GHC should be completely ABI compatible. This should actually not be difficult to achieve, since we already rely on this in the GHC build system: we assume that ghc-stage1 generated hi files can be compatibly read and used by ghc-stage2. Excerpts from Joachim Breitner's message of 201

Re: Reinstallable lib:ghc (was: [core libraries] Upgradeable base (smallest step forward))

2017-07-24 Thread Joachim Breitner
Hi, Am Montag, den 24.07.2017, 12:24 +0200 schrieb Herbert Valerio Riedel: > Also, I'd like to know if you can think of reasons why or situations > when the reinstalled lib:ghc wouldn't work; or other reasons why this > is a bad idea. I’d am mostly worried about ABI compatibility. Will the .hi fi

Reinstallable lib:ghc (was: [core libraries] Upgradeable base (smallest step forward))

2017-07-24 Thread Herbert Valerio Riedel
Hi everyone, As part of the recent GHC 8.2.1 release and the associated boot-library publishing to Hackage, I picked up again experimenting with a reinstallable lib:ghc package primarily for the benefit of uploading haddocks for lib:ghc (w/ `--hyperlinked-source`) to Hackage: http://hackage.has