Re: Porting GHC to powerpc-unknown-linux

2003-09-08 Thread Rafael Martinez Torres
On Sat, 6 Sep 2003, Donald Bruce Stewart wrote: > simonmar: > > > I was a bit too soon reporting the sparc-sun-solaris2, two > > > attempts have died with stg_ap_v_ret. Same result sparc-*-openbsd. > Also with mips-sgi-irix65 . An attempt died with stg_ap_v_ret . I'm trying to follow Ian's ste

Re: Porting GHC to powerpc-unknown-linux

2003-09-05 Thread Donald Bruce Stewart
simonmar: > > I was a bit too soon reporting the sparc-sun-solaris2, two > > attempts have died with stg_ap_v_ret. Same result sparc-*-openbsd. > > Is there an endianess thing here? What is the endianess of the > > amd64 and the powerpc? Are than any tricks I can try? > > Hmm. I'm still wonderin

Re: Porting GHC to powerpc-unknown-linux

2003-09-05 Thread Ian Lynagh
On Fri, Sep 05, 2003 at 02:56:19PM +1000, Donald Bruce Stewart wrote: > > (cough) > > I was a bit too soon reporting the sparc-sun-solaris2, two > attempts have died with stg_ap_v_ret. Same result sparc-*-openbsd. > > Here's an updated list: > > +-++-

RE: Porting GHC to powerpc-unknown-linux

2003-09-05 Thread Simon Marlow
> I was a bit too soon reporting the sparc-sun-solaris2, two > attempts have died with stg_ap_v_ret. Same result sparc-*-openbsd. > > Here's an updated list: > > +-++---+ > | HOST| TARGET| Unregisterised bootstra

Re: Porting GHC to powerpc-unknown-linux

2003-09-04 Thread Donald Bruce Stewart
simonmar: > dons: > > No. They are perfect. I've stress tested them today :p > > > > +-+++ > > | HOST| TARGET| Unregisterised bootstrap | > > +-++

Re: Porting GHC to powerpc-unknown-linux

2003-09-04 Thread Lunar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 04 September 2003 01:45, Donald Bruce Stewart wrote: > I did something very slightly incorrect, I think, though I don't > know what it was, because I got a working cross-port to freebsd > yesterday, on a box that had previously given me the

RE: Porting GHC to powerpc-unknown-linux

2003-09-04 Thread Simon Marlow
> Of course, alpha didn't build anyway due to the lack of memory > allocation (I think) code for generic 64-bit platforms that I > think was > mentioned on one of the lists recently. You might try using the hack I added to MBlock.h for x86_64. It's admittedly completely bogus, but it hasn't fa

Re: Porting GHC to powerpc-unknown-linux

2003-09-04 Thread Donald Bruce Stewart
rmartine: > On Thu, 4 Sep 2003, Simon Marlow wrote: > > +-+++ > | HOST| TARGET| Unregisterised bootstrap | > +-+++ > | i386-*-openbsd | i3

RE: Porting GHC to powerpc-unknown-linux

2003-09-04 Thread Rafael Martinez Torres
On Thu, 4 Sep 2003, Rafael Martinez Torres wrote: > > Could you release a (transient) ghc-6.01-unreg-hc.tar.gz ? > Sorry, I read the doc, and I understood the unreg (.hc) tar is built on host with a particular target "config.h" . I have to build it , hence. __

RE: Porting GHC to powerpc-unknown-linux

2003-09-04 Thread Rafael Martinez Torres
On Thu, 4 Sep 2003, Simon Marlow wrote: +-+++ | HOST| TARGET| Unregisterised bootstrap | +-+++ | i386-*-openbsd | i386-*-openbsd |

Re: Porting GHC to powerpc-unknown-linux

2003-09-04 Thread Ian Lynagh
On Thu, Sep 04, 2003 at 10:41:49AM +0100, Simon Marlow wrote: > > > | | alpha-dec-osf3 | dies on host with: | > > | || cc1: Invalid option `ieee' | > > > > So all 32-bit platforms have worked or are looking good, but > > the 64 bit

RE: Porting GHC to powerpc-unknown-linux

2003-09-04 Thread Simon Marlow
> simonmar: > > There's a small possibility that I've missed something out from the > > instructions, I suppose :) > > No. They are perfect. I've stress tested them today :p > > +-+++ > | HOST| TARGET| Unre

Re: Porting GHC to powerpc-unknown-linux

2003-09-04 Thread Donald Bruce Stewart
simonmar: > There's a small possibility that I've missed something out from the > instructions, I suppose :) No. They are perfect. I've stress tested them today :p +-+++ | HOST| TARGET| Unregisterised bootstr

RE: Porting GHC to powerpc-unknown-linux

2003-09-04 Thread Simon Marlow
> Following Donald Stewart efforts and Simon Marlow's new > porting guide, > I made two attempts of getting GHC working on Linux/PowerPC. > > I made a first attempt using cross-compiling from a Linux/i386 box. I > followed every instruction on the guide, but the compiler was > unusable, > r

Re: Porting GHC to powerpc-unknown-linux

2003-09-03 Thread Donald Bruce Stewart
dons: > lunar: > > I made a first attempt using cross-compiling from a Linux/i386 box. I > > followed every instruction on the guide, but the compiler was unusable, > > resulting in the following error message : > > hc-6.0.1: internal error: stg_ap_v_ret > > Please report this as a bug to [EM

Re: Porting GHC to powerpc-unknown-linux

2003-09-03 Thread Donald Bruce Stewart
lunar: > Hello, > > Following Donald Stewart efforts and Simon Marlow's new porting guide, > I made two attempts of getting GHC working on Linux/PowerPC. > > I made a first attempt using cross-compiling from a Linux/i386 box. I > followed every instruction on the guide, but the compiler was unu