On Thu, 2006-03-16 at 17:19 +0000, Duncan Coutts wrote: > > > We have some arch-specific defaults for wether to enable certain ghc > > > features. I think these would be suitable defaults for everyone: > > > > > > alpha, hppa and ppc64 should use GhcWithInterpreter=NO > > > > This corresponds to the current default except for ppc64. Does GHCi not > > work on ppc64? (I don't see any ppc64-specific stuff in rts/Linker.c, > > so maybe). > > I can double check. The ppc64 ABI is somewhat different to that of ppc.
We tested this again and ghci does not work "out of the box" on ppc64 with ghc-6.4.1. We think this is related to a "TOC overflow" problem that we get with the ppc64 ABI. The ppc64 ABI has this limited-size TOC table for referencing global symbols. The gnu binutils has some support for making more TOCs when they overflow so most of the time one can ignore the TOC size restriction. Unfortunately this doesn't seem to work when all the little .o files in a package are linked together into one GHCi-style .o file. Since the GHCi .o files are unusable, GHCi itself becomes unusable. > > > alpha, hppa, ppc, ppc64 and sparc should use SplitObjs=NO > > > > This corresponds to the current default except for sparc and powerpc. > > What's the problem with those? > > At one time they did not work. I'll double check. You're quite right, we tested this again and SplitObjs=YES does indeed work on sparc and ppc. Duncan _______________________________________________ Cvs-ghc mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-ghc
