[GHC] #10981: Not detecting clang correctly

#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

#10981: Not detecting clang correctly -------------------------------------+------------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.11 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): Phab:D1336 Wiki Page: | -------------------------------------+------------------------------------- Changes (by erikd): * differential: => Phab:D1336 Old description:
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.
New description: I have Jenkins build job that builds GHC from Git using Clang as the C compiler. Recently a Debian update changed clang's `-v` 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#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10981: Not detecting clang correctly
-------------------------------------+-------------------------------------
Reporter: erikd | Owner: erikd
Type: bug | Status: new
Priority: normal | Milestone: 8.0.1
Component: Compiler | Version: 7.11
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): Phab:D1336
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Erik de Castro Lopo

#10981: Not detecting clang correctly -------------------------------------+------------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: closed Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.11 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1336 Wiki Page: | -------------------------------------+------------------------------------- Changes (by erikd): * status: new => closed * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10981#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC