[GHC] #11684: Fix tests with Clang

GHC ghc-devs at haskell.org
Mon Mar 7 10:56:57 UTC 2016


#11684: Fix tests with Clang
-------------------------------------+-------------------------------------
        Reporter:  erikd             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by erikd):

 If I hack `aclocal.m4` to add `-Qunused-arguments` so that it end up in
 the `settings` file then do `./configure --with-gcc=clang` and build, the
 the stage0 fails building `ghc-cabal` because GCC doesn't understand
 `-Qunused-arguments`.

 @thomie should the stage0 C compiler be using the CFLAGs from the
 `settings` file?

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


More information about the ghc-tickets mailing list