#3471: configure fails for GHC 6.10.4 on Mac OS X 10.6 in 64-bit mode with
previously-built GHC
-----------------------------+----------------------------------------------
Reporter:  paulrbrown        |          Owner:              
    Type:  bug               |         Status:  new         
Priority:  normal            |      Component:  Build System
 Version:  6.10.4            |       Severity:  normal      
Keywords:  configure         |       Testcase:              
      Os:  Unknown/Multiple  |   Architecture:  x86         
-----------------------------+----------------------------------------------
 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.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3471>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to