[GHC] #6086: Cross compilation fails using system linker for other architecture binaries
GHC
ghc-devs at haskell.org
Tue Sep 9 21:18:05 UTC 2014
#6086: Cross compilation fails using system linker for other architecture binaries
----------------------------------------------+---------------------------
Reporter: mtjm | Owner:
Type: bug | Status: new
Priority: high | Milestone: 7.8.4
Component: Build System | Version: 7.8.3
Resolution: | Keywords:
Operating System: Linux | Architecture: arm
Type of failure: Building GHC failed | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Revisions: |
----------------------------------------------+---------------------------
Comment (by rwbarton):
libgmp should be being configured with `--host=arm-unknown-linux-gnueabi`.
I think this is a bug in the build system and currently you probably just
want to use integer-simple instead.
I don't think `make quick-cross` actually does anything... you should set
up a `build.mk` (copied from `build.mk.sample`) and add `INTEGER_LIBRARY =
integer-simple`. I think pretty much any `BuildFlavour` should work but
note that the `quick-cross` and `perf-cross` flavours only build a
''cross-compiler'' and not a ''cross-compiled compiler'' that runs on the
target.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/6086#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list