On Thu, 2006-03-16 at 16:58 +0000, Simon Marlow wrote:
> Duncan Coutts wrote:
> 
> > We have 2 patches. One to fix compilation of OpenAL:
> > http://haskell.org/~gentoo/gentoo-haskell/portage/dev-lang/ghc/files/ghc-6.4.1-openal.patch
> > (I know this is fixed in darcs, I've not checked cvs ghc-6.4-branch)
> 
> I'm waiting for feedback from Sven on that one.

Ok.

> > The other to allow us to enable/disable building the X11, HGL packages:
> > http://haskell.org/~gentoo/gentoo-haskell/portage/dev-lang/ghc/files/ghc-6.4.1-configure.patch
> > (this is so we don't get untracked deps on X11, eg when building on one
> > machine and installing on another)
> 
> I've committed those.

Thanks.

> > The next fix is probably not appropriate for everyone. It's to allow ghc
> > to work with a "hardened" version of gcc, basically by turning off the
> > hardened features (since they upset the mangler). It's not suitable for
> > everyone because not all distros use a gcc that has the hardened
> > features and such gcc's would not recognise the -fno-blah flags.
> > 
> > We have a temporary fix for:
> > http://hackage.haskell.org/trac/ghc/ticket/703
> > which is to use -opta-Wa,--noexecstack in SRC_HC_OPTS, -Wa,--noexecstack
> > in SRC_CC_OPTS and -opta-Wa,--noexecstack in the ghc wrapper script.
> > 
> > We currently don't support building the pdf docs because there is a bug
> > in the latest version of libxslt that makes xsltproc segfault when
> > processing the docbook stuff.
> > http://bugs.gentoo.org/show_bug.cgi?id=106992
> > http://bugzilla.gnome.org/show_bug.cgi?id=316861
> 
> Looks like you should keep these as local patches for now.

Yes.

> > We found that using -fno-warn-deprecations in SRC_HC_OPTS fixed the
> > wierd "tee: write error" issues we had when logging the build process.
> 
> probably accidental.

Yeah, it just makes it less likely to happen by reducing the volume of
output. It's not the right fix, just a temporary hack.

> > 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.

> > alpha, and hppa should use GhcUnregisterised=YES
> 
> I've added these defaults.

Ta.

> > 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.

Duncan

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

Reply via email to