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

#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

#8786: libraries/primitive build failure on Solaris 10 -------------------------------------+------------------------------------- Reporter: kgardas | Owner: Type: bug | Status: patch Priority: normal | Milestone: 7.8.1 Component: libraries | Version: 7.8.1-rc1 (other) | Keywords: Resolution: | Architecture: x86_64 (amd64) Operating System: Solaris | Difficulty: Easy (less than 1 Type of failure: Building GHC | hour) failed | Blocked By: Test Case: | Related Tickets: Blocking: | -------------------------------------+------------------------------------- Changes (by kgardas): * status: new => patch Comment: My patch was merged upstream. I'm switching state to patch to show that it's possible now to merge it from upstream to GHC HEAD -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8786#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8786: libraries/primitive build failure on Solaris 10 -------------------------------------+------------------------------------- Reporter: kgardas | Owner: Type: bug | Status: merge Priority: normal | Milestone: 7.8.1 Component: libraries | Version: 7.8.1-rc1 (other) | Keywords: Resolution: | Architecture: x86_64 (amd64) Operating System: Solaris | Difficulty: Easy (less than 1 Type of failure: Building GHC | hour) failed | Blocked By: Test Case: | Related Tickets: Blocking: | -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: patch => merge -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8786#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8786: libraries/primitive build failure on Solaris 10 -------------------------------------+------------------------------------- Reporter: kgardas | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.8.1 Component: libraries | Version: 7.8.1-rc1 (other) | Keywords: Resolution: fixed | Architecture: x86_64 (amd64) Operating System: Solaris | Difficulty: Easy (less than 1 Type of failure: Building GHC | hour) failed | Blocked By: Test Case: | Related Tickets: Blocking: | -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: merge => closed * resolution: => fixed Comment: Herbert merged this into the 7.8 branch. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8786#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC