Skip to content

configure fails for GHC 6.10.4 on Mac OS X 10.6 in 64-bit mode with previously-built GHC

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.

Trac metadata
Trac field Value
Version 6.10.4
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information