id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
3471	configure fails for GHC 6.10.4 on Mac OS X 10.6 in 64-bit mode with previously-built GHC	paulrbrown		"The environment is a Mac with 10.6 running in 64-bit mode but with a ghc that was built under 10.5.

Running configure produces the following output:

{{{
$ ./configure --prefix=/Users/prb/opt/localchecking build system type... i386-apple-darwin10.0.0
checking host system type... i386-apple-darwin10.0.0
checking target system type... i386-apple-darwin10.0.0
Canonicalised to: i386-apple-darwin
checking for ghc... /Users/prb/opt/local/bin/ghc
checking version of ghc... 6.10.1
checking for nhc... no
checking for nhc98... no
checking for hbc... no
checking for ld... /usr/bin/ld
checking for path to top of build tree... 
/var/folders/V+/V+RuS+kKF50QvE4Dmj4MPE+++TI/-Tmp-/ghc19350_0/ghc19350_0.s:144:0:
    suffix or operands invalid for `push'

/var/folders/V+/V+RuS+kKF50QvE4Dmj4MPE+++TI/-Tmp-/ghc19350_0/ghc19350_0.s:189:0:
    suffix or operands invalid for `push'

/var/folders/V+/V+RuS+kKF50QvE4Dmj4MPE+++TI/-Tmp-/ghc19350_0/ghc19350_0.s:892:0:
    suffix or operands invalid for `push'

/var/folders/V+/V+RuS+kKF50QvE4Dmj4MPE+++TI/-Tmp-/ghc19350_0/ghc19350_0.s:941:0:
    suffix or operands invalid for `push'

/var/folders/V+/V+RuS+kKF50QvE4Dmj4MPE+++TI/-Tmp-/ghc19350_0/ghc19350_0.s:967:0:
    32-bit absolute addressing is not supported for x86-64

/var/folders/V+/V+RuS+kKF50QvE4Dmj4MPE+++TI/-Tmp-/ghc19350_0/ghc19350_0.s:967:0:
    cannot do signed 4 byte relocation

/var/folders/V+/V+RuS+kKF50QvE4Dmj4MPE+++TI/-Tmp-/ghc19350_0/ghc19350_0.s:970:0:
    32-bit absolute addressing is not supported for x86-64

/var/folders/V+/V+RuS+kKF50QvE4Dmj4MPE+++TI/-Tmp-/ghc19350_0/ghc19350_0.s:970:0:
    cannot do signed 4 byte relocation
./configure: line 3211: utils/pwd/pwd: No such file or directory
configure: error: cannot determine current directory
}}}

Changing this to the usual pwd commands makes the configure run complete, but make fails immediately with a similar trace."	bug	closed	normal		Build System	6.10.4	duplicate	configure		Unknown/Multiple	x86						
