[GHC] #10981: Not detecting clang correctly

GHC ghc-devs at haskell.org
Sat Oct 17 08:29:35 UTC 2015


#10981: Not detecting clang correctly
-------------------------------------+-------------------------------------
           Reporter:  erikd          |             Owner:  erikd
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.0.1
          Component:  Compiler       |           Version:  7.11
           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:
-------------------------------------+-------------------------------------
 I have  Jenkins build job that builds GHC from Git using Clang as the C
 compiler.

 Recently a Debian update changed clang's `-v1 output to:

 {{{
 Debian clang version 3.5.2-2 (tags/RELEASE_352/final) (based on LLVM
 3.5.2)
 Target: x86_64-pc-linux-gnu
 Thread model: posix
 }}}

 which is no longer being detected by `compiler/main/SysTools.hs` as
 `Clang`.

 Working around this is trivially easy. Patch in progress.

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


More information about the ghc-tickets mailing list