
#10476: Wrong ar during cross-compilation -------------------------------------+------------------------------------- Reporter: jakzale | Owner: Type: bug | Status: infoneeded Priority: low | Milestone: Component: Build System | Version: 7.11 Resolution: | Keywords: cross- Operating System: MacOS X | compiling Type of failure: Building GHC | Architecture: failed | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by rwbarton): * os: Unknown/Multiple => MacOS X Comment: Aaaaaa never mind... from `configure.ac`: {{{ if test "x$OS_STAGE0" != "xOSDarwin"; then BOOTSTRAPPING_GHC_INFO_FIELD([AR_STAGE0],[ar command]) BOOTSTRAPPING_GHC_INFO_FIELD([AR_OPTS_STAGE0],[ar flags]) BOOTSTRAPPING_GHC_INFO_FIELD([ArSupportsAtFile_STAGE0],[ar supports at file]) else AR_STAGE0='$(AR)' AR_OPTS_STAGE0='$(AR_OPTS)' ArSupportsAtFile_STAGE0='$(ArSupportsAtFile)' fi }}} This certainly explains your problem (since you are on Darwin)... git blame points to 24746fe78024a1edab843bc710c79c55998ab134. I wonder if it is okay to remove this hack by now? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10476#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler