id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
813	-optc-O2 used by default in GhcRtsHcOpts while building 6.5, leading make to fail	guest		"GHC-6.4.2 initial compiler

gcc (GCC) 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8)

making ghc-6.5-20060703 snapshot

download, unpack, configure with custom --prefix, and `make`
eventually errors with:
{{{
../compiler/ghc-inplace -H16m -O -optc-O2 -static -I. -#include HCIncludes.h -dcmm-lint   -#include posix/Itimer.h  -c PrimOps.cmm -o PrimOps.o
Prologue junk?:         .globl retryzh_fast
        .type   retryzh_fast, @function
retryzh_fast:
        mfcr 12
make[1]: *** [PrimOps.o] Error 255
make: *** [stage1] Error 1
}}}

Adding `GhcRtsHcOpts=-optc-O1` to mk/build.mk resolved this error upon running `make` again.

-- Isaac Dupree"	bug	closed	normal	_|_	Compiler	6.5	fixed		michal.terepeta@…	Linux	powerpc	None/Unknown	Unknown	N/A			
