[GHC] #6086: Cross compilation fails using system linker for other architecture binaries

GHC ghc-devs at haskell.org
Tue Sep 9 15:48:10 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):

 Try adding `--with-gcc=[whatever the path to the C cross-compiler is]` to
 the configure command line. I've found that I need to do this when cross-
 compiling.

 I think that configure detecting the C cross-compiler worked in 7.8.2 and
 broke in 7.8.3 but I'm not 100% sure.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/6086#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list