simons:
> Hi,
>
> has anyone successfully built the current GHC sources using GCC 3.3.1?
> I'm asking because I'm having lot's of problems doing it. The version
> I use here is the "hardened-gcc" package from Gentoo Linux [1]
>
> gcc (GCC) 3.3.1 20030927 (Gentoo Linux 3.3.1-r5, propolice)
>
> which adds transparent support for PaX/etdyn ASLR and Propolice/SSP
> stack protection to every binary.
I've built GHC with gcc+propolice on OpenBSD for a year or so. Propolice
was broken at first, and is now working on x86/OpenBSD. On sparc/OpenBSD
you must disable propolice code by inserting into your mk/build.mk:
SRC_CC_OPTS+=-fno-stack-protector
SRC_HC_OPTS+=-optc-fno-stack-protector
Or use whatever the gcc flag on your system is.
It is unsurprising that propolice, at least at first, breaks GHC,
considering the stack/variable mangling it does.
Note, you won't get propolice support in your code if you compile via
the native code generator, too.
-- Don
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc