[GHC] #13356: gmp/ghc.mk's use of TARGETPLATFORM and BUILDPLATFORM is wrong

GHC ghc-devs at haskell.org
Mon Oct 23 10:42:35 UTC 2017


#13356: gmp/ghc.mk's use of TARGETPLATFORM and BUILDPLATFORM is wrong
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Build System      |              Version:  8.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Building GHC      |  Unknown/Multiple
  failed                             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by nicolast):

 * cc: nicolast (added)


Comment:

 Interesting, I wasn't aware those variables don't correspond to what
 Autoconf handles when landing the related change
 (https://phabricator.haskell.org/D1960)

 Somewhat related: looking for `TargetPlatformAll` in the GHC tree, I
 noticed

 {{{
 rules/build-package-data.mk:$1_$2_CONFIGURE_OPTS += --configure-
 option=--host=$(TargetPlatformFull)
 }}}

 which seems a bit odd.

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


More information about the ghc-tickets mailing list