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

GHC ghc-devs at haskell.org
Thu Sep 11 18:23:45 UTC 2014


#6086: Cross compilation fails using system linker for other architecture binaries
----------------------------------------------+---------------------------
              Reporter:  mtjm                 |            Owner:
                  Type:  bug                  |           Status:  closed
              Priority:  high                 |        Milestone:  7.8.4
             Component:  Build System         |          Version:  7.8.3
            Resolution:  fixed                |         Keywords:
      Operating System:  Linux                |     Architecture:  arm
       Type of failure:  Building GHC failed  |       Difficulty:  Unknown
             Test Case:                       |       Blocked By:
              Blocking:  9421                 |  Related Tickets:
Differential Revisions:                       |
----------------------------------------------+---------------------------

Comment (by cetu86):

 You don't need to start over. You just need ncurses.
 I downloaded ncurses and cross compiled it for arm, then put it in the
 cross-tools' sysroot directory under sysroot/usr.
 Or I guess you could just copy ncurses from your existing installation on
 your raspberry pi. That way you can be sure you got the right version.
 Cause when you create dynamically linked executable, you have to have
 matching versions.

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


More information about the ghc-tickets mailing list