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

GHC ghc-devs at haskell.org
Wed Sep 10 18:50:04 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:                       |
----------------------------------------------+---------------------------
Changes (by rwbarton):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Replying to [comment:17 cetu86]:
 > This did it. Thank you!

 Glad it's working. I took the opportunity to clean up
 Building/GettingTheSources a bit and investigate why `-with-gcc` is needed
 (https://phabricator.haskell.org/D204).

 Replying to [comment:19 jpmasseria]:
 {{{
 libraries/dph/ghc.mk:134: *** dph_th_deps(v): libraries/dph/dph-base_dist-
 install_GHCI_LIB not defined!.  Stop.
 }}}

 I encountered this error too when messing around with this stuff. I didn't
 really investigate what caused it, it seemed to be due to configure
 detecting the wrong C compiler possibly. I "resolved" it by removing
 `libraries/dph` since it isn't needed anyways and slows down the build.

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


More information about the ghc-tickets mailing list