On Sun, 16 Oct 2011 21:06:27 +0200, Karel Gardas <[email protected]> 
wrote:
> On 10/16/11 08:41 PM, Ben Gamari wrote:
> > On Sun, 16 Oct 2011 20:03:24 +0200, Karel Gardas<[email protected]>  
> > wrote:
> >>
> >> Also I'm quite out of idea what was your intention on line above so I'm
> >> not able to fix this myself.
> >>
> > Doh, yes. You are right. Fixed. I also fixed a serious oversight in my
> > target address calculation.
> 
> Unfortunately `A' is undeclared:
> 
Ouch, very sorry about that. Fixed. Also fixed a nearby cut-and-
paste-error.

> > Anyways, I'll try building a non-Thumb GHC next. How do I configure the
> > build system to accomplish this?
> 
> I'm just using build.mk I already provided. Then just ./configure; make -j2
> 
> nothing more is needed in order to compile build on my system. In fact 
> I'm quite surprised to consider your LLVM generates thumb by default 
> while mine generates ARM by default. Are you sure, your build really 
> generates Thumb?
> 
It seems you are right. There are some symbols that are definitely
emitted as Thumb, but these must have come from libraries. All of the
Haskell code is emitted as full 32-bit ARM instructions. In this case I
really don't know what to blame my SEGVs on.

Thanks for your patience with my many silly code mistakes.

Cheers,

- Ben


_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to