id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
5732	Faliure building unregistered GHC: pprGlobalReg: Unsupported register: CCCS	nomeata	simonmar	"Hi,

the 7.4.1 release candidate failed to build on arm; previous versions built fine. It would be great if arm support would not be dropped, if it can be helped:

{{{
""inplace/bin/ghc-stage1""   -H32m -O -lffi -optl-pthread -optc-mlong-calls    -package-name ghc-prim-0.2.0.0 -hide-all-packages -i -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build -ilibraries/ghc-prim/dist-install/build/autogen -Ilibraries/ghc-prim/dist-install/build -Ilibraries/ghc-prim/dist-install/build/autogen -Ilibraries/ghc-prim/.    -optP-include -optPlibraries/ghc-prim/dist-install/build/autogen/cabal_macros.h -package rts-1.0  -package-name ghc-prim -XHaskell98 -XCPP -XMagicHash -XForeignFunctionInterface -XUnliftedFFITypes -XUnboxedTuples -XEmptyDataDecls -XNoImplicitPrelude -O2  -no-user-package-conf -rtsopts     -odir libraries/ghc-prim/dist-install/build -hidir libraries/ghc-prim/dist-install/build -stubdir libraries/ghc-prim/dist-install/build -hisuf hi -osuf  o -hcsuf hc -c libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs -o libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.o
ghc-stage1: panic! (the 'impossible' happened)
  (GHC version 7.4.0.20111219 for arm-unknown-linux):
	pprGlobalReg: Unsupported register: CCCS

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

make[2]: *** [libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.o] Error 1
}}}

(Full log at https://buildd.debian.org/status/fetch.php?pkg=ghc&arch=armel&ver=7.4.0.20111219-2&stamp=1324673390)

Thanks,
Joachim on behalf of the Debian Haskell Team"	bug	closed	highest	7.4.1	Compiler	7.3	fixed		pho@…	Unknown/Multiple	Unknown/Multiple	Building GHC failed	Unknown				
