rebuilding newer haskell for EL6

Jens Petersen petersen at redhat.com
Tue Mar 12 04:59:36 UTC 2013


> On 03/10/2013 12:33 AM, Jens Petersen wrote:
> > 1. build and install ghc-rpm-macros
> > 2. build and install ghc with bootstrapping set in ghc.spec
> > 3. build and install bootstrap (static) hscolour (I should probably
> > just give up and make it statically linked)
> > 4. rebuild ghc (with bootstrapping unset) and install it
> > 5. rebuild dynamic hscolour (can also be done later as needed)
> > 
> > Then you should be fine.  I hope I didn't miss anything.
> 
> Thanks! If I need to build ghc-rpm-macros twice (it doesn't seem to
> build non-bootstrapped before the new ghc is built), where in the
> process does the non-bootstrap build come? Or does it matter much?

Okay sorry I think you right and I forgot that detail:

0. build and install bootstrap ghc-rpm-macros (ie with without_hscolour defined)

(that is newer)

> The symptom I was seeing was segfaults, specifically in HsSyck.
> Given that I wasn't confident in my build, and had seen some anomalies
> while working on it, I want to make sure that I have the stack properly
> built, then try to chase down whatever might be wrong on the HsSyck side.

I doubt bootstrapping issues would lead to such a segfault.
It might be the same issue that Garrett mentioned.

Jens


More information about the haskell mailing list