GHC HEAD build failure on ARM [was: Re: kgardas-linux-arm-head (HEAD), build 20, Failure]

Ian Lynagh igloo at earth.li
Mon Mar 19 11:16:08 CET 2012


On Mon, Mar 19, 2012 at 08:32:32PM +1100, Manuel M T Chakravarty wrote:
> Karel,
> 
> > thanks for the tip how to fix the issue with ghc panic on Mondaic.hs. I'll use this once the build is working better. I also do have a patch which fixes GHC on ARM linux platforms with hard-float ABI (soon to be released debian/ubuntu) PR#5914, unfortunately I'm not able to test it (run testsuite), since my build always fails with this:
> > 
> > >>>> utils/haddock/src/Haddock/GhcUtils.hs:275:21:
> > >>>> Illegal record syntax (use -XTraditionalRecordSyntax): d {objectDir =
> > >>>> Just
> > >>>> f}
> > >>>> make[1]: *** [utils/haddock/dist/build/Haddock/GhcUtils.o] Error 1
> > >>>> make: *** [all] Error 2
> > 
> > 
> > error. So this is showstopper for me which I need to fix first. Hence I asked here for any idea how to proceed in this process or the idea if it looks familiar to someone or if this is really just badly miscompiled ghc-stage2? Or perhaps we're hit by ARM memory weak ordering model here again? Any idea how to debug this is highly welcome!
> 
> I don't know what the problem with this error is, but it sounds to me like a version mismatch.  Maybe your bootstrap compiler is too old or maybe some of your libraries aren't up to date?
> 
> Ian, any idea what that might be?

My guess is that stage2 is broken. With luck, running the testsuite with
stage1 will find a small testcase.


Thanks
Ian




More information about the Cvs-ghc mailing list