[GHC] #10476: Wrong ar during cross-compilation
GHC
ghc-devs at haskell.org
Tue Sep 8 08:03:34 UTC 2015
#10476: Wrong ar during cross-compilation
-------------------------------------+-------------------------------------
Reporter: jakzale | Owner: thomie
Type: bug | Status: new
Priority: low | Milestone:
Component: Build System | Version: 7.11
Resolution: | Keywords: cross-
| compiling
Operating System: MacOS X | Architecture:
Type of failure: Building GHC | Unknown/Multiple
failed | Test Case:
Blocked By: | Blocking:
Related Tickets: Phab:D1231 | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by Thomas Miedema <thomasmiedema@…>):
In [changeset:"864a9c4f83156caacae5777b3ad6b93b4da9c242/ghc" 864a9c4/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="864a9c4f83156caacae5777b3ad6b93b4da9c242"
Build system: remove hack for Mac OSX in configure.ac (#10476)
Cross-compilation on Mac OSX currently doesn't work. While building
stage 1, the build system uses the `ar` for the target architecture
instead of the `ar` for build/host architecture.
The cause is a hack added in 24746fe78024a1edab843bc710c79c55998ab134
(2010), to supporting bootstrap compilers built with older versions of
Xcode. Xcode 4.3 started installing command line tools in a different
location. Assuming this all behind us now, and the paths didn't change
again (you never now), we can delete the hack.
Deleting the hack fixes the cross compilation issue. Tested by Trac user
jakzale.
Reviewed by: austin
Differential Revision: https://phabricator.haskell.org/D1231
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10476#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list