[GHC] #9933: Cross-compile failure : Not in scope: ‘gcdInt'’

GHC ghc-devs at haskell.org
Mon Dec 29 02:49:02 UTC 2014


#9933: Cross-compile failure : Not in scope: ‘gcdInt'’
-------------------------------------+-------------------------------------
       Reporter:  erikd              |                   Owner:  erikd
           Type:  bug                |                  Status:  new
       Priority:  normal             |               Milestone:
      Component:  Compiler           |                 Version:  7.11
       Keywords:                     |        Operating System:
   Architecture:  Unknown/Multiple   |  Unknown/Multiple
     Difficulty:  Unknown            |         Type of failure:  Building
     Blocked By:                     |  GHC failed
Related Tickets:                     |               Test Case:
                                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
 When cross-compiling from x86_64-linux to armhf-linux using the `quick-
 cross` setting from `mk/build.mk.sample` I get:

 {{{
 libraries/base/GHC/Real.hs:28:25: Not in scope: ‘gcdInt'’
 libraries/base/GHC/Real.hs:28:34: Not in scope: ‘gcdWord'’
 }}}

 It turns out these functions are exported un-conditionally but are only
 defined within an `#ifdef`.

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


More information about the ghc-tickets mailing list