[GHC] #8498: gcc hardcoded in build scripts! (ignores the --with-gcc= flag in configure)

GHC ghc-devs at haskell.org
Thu Mar 13 12:40:17 UTC 2014


#8498: gcc hardcoded in build scripts! (ignores the --with-gcc= flag in configure)
---------------------------------+------------------------------------
        Reporter:  carter        |            Owner:
            Type:  bug           |           Status:  new
        Priority:  high          |        Milestone:  7.8.1
       Component:  Compiler      |          Version:  7.7
      Resolution:                |         Keywords:
Operating System:  MacOS X       |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |       Difficulty:  Unknown
       Test Case:                |       Blocked By:
        Blocking:                |  Related Tickets:
---------------------------------+------------------------------------

Comment (by simonmar):

 I don't off-hand know why this is happening, but regressions in `--with-
 gcc` are not uncommon since we don't test it regularly.

 Looks like there are at least two things wrong:

  * `$(CPP)` is mapped to `gcc`.  It comes directly from configure, so that
 should be easy enough to find.
  * The command that is building a file from the RTS is invoking GHC, so I
 suspect somehow GHC itself has a `gcc` baked into it (or passed in from
 configure?).

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


More information about the ghc-tickets mailing list