[GHC] #8786: libraries/primitive build failure on Solaris 10

GHC ghc-devs at haskell.org
Sat Feb 15 17:56:58 UTC 2014


#8786: libraries/primitive build failure on Solaris 10
-------------------------------------+-------------------------------------
       Reporter:  kgardas            |             Owner:
           Type:  bug                |            Status:  new
       Priority:  normal             |         Milestone:  7.8.1
      Component:  libraries (other)  |           Version:  7.8.1-rc1
       Keywords:                     |  Operating System:  Solaris
   Architecture:  x86_64 (amd64)     |   Type of failure:  Building GHC
     Difficulty:  Easy (less than 1  |  failed
  hour)                              |         Test Case:
     Blocked By:                     |          Blocking:
Related Tickets:                     |
-------------------------------------+-------------------------------------
 Solaris 10 is distributed with GNU C 3.4.3 compiler. This compiler does
 not support -ftree-vectorize command-line option and so its cc1 process
 fails on it which also mean that ghc-cabal fails compiling primitive
 package. The solution is simple to remove the -ftree-vectorize for solaris
 although it'll penalize Solaris 11 which is distributed with GNU C 4.6.2.
 I've solved that and provided a patch to primitive project in a pull
 request here: https://github.com/haskell/primitive/pull/6
 I've entered the bug here to also track it and lobby for this issue to be
 solved for 7.8.1 release.

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


More information about the ghc-tickets mailing list