Re: [GHC] #7519: CLK_TCK is not always a constant

2013-01-02 Thread GHC
#7519: CLK_TCK is not always a constant
-+--
Reporter:  singpolyma|   Owner: 
Type:  bug   |  Status:  patch  
Priority:  normal|   Milestone: 
   Component:  libraries/base| Version:  7.7
Keywords:  qnx   |  Os:  Other  
Architecture:  Unknown/Multiple  | Failure:  Building GHC failed
  Difficulty:  Unknown   |Testcase: 
   Blockedby:|Blocking: 
 Related:|  
-+--
Changes (by igloo):

  * difficulty:  = Unknown


Comment:

 Does it expand to `sysconf(_SC_CLK_TCK)`?

 If `sysconf` and `_SC_CLK_TCK` are portable enough, then we may as well
 just unconditionally use that.

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

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7519: CLK_TCK is not always a constant

2013-01-02 Thread GHC
#7519: CLK_TCK is not always a constant
-+--
Reporter:  singpolyma|   Owner: 
Type:  bug   |  Status:  patch  
Priority:  normal|   Milestone: 
   Component:  libraries/base| Version:  7.7
Keywords:  qnx   |  Os:  Other  
Architecture:  Unknown/Multiple  | Failure:  Building GHC failed
  Difficulty:  Unknown   |Testcase: 
   Blockedby:|Blocking: 
 Related:|  
-+--

Comment(by singpolyma):

 That is what it expands to on QNX, yes.

 Well, it actually expands to `_sysconf(_SC_CLK_TCK)` which is an internal
 QNX wrapper, but the result is the same.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7519#comment:3
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[GHC] #7519: CLK_TCK is not always a constant

2012-12-20 Thread GHC
#7519: CLK_TCK is not always a constant
+---
Reporter:  singpolyma   |  Owner:  
Type:  bug  | Status:  new 
Priority:  normal   |  Component:  libraries/base  
 Version:  7.7  |   Keywords:  qnx 
  Os:  Other|   Architecture:  Unknown/Multiple
 Failure:  Building GHC failed  |  Blockedby:  
Blocking:   |Related:  
+---
 System/CPUTime.hsc assumes that if CLK_TCK is defined, it is a constant,
 but on QNX it expands to a procedure call.  The attached patch is one way
 to solve this problem.

 http://www.haskell.org/pipermail/cvs-ghc/2012-December/079075.html
 http://www.haskell.org/pipermail/cvs-ghc/2012-December/079079.html

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7519
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7519: CLK_TCK is not always a constant

2012-12-20 Thread GHC
#7519: CLK_TCK is not always a constant
+---
Reporter:  singpolyma   |  Owner:  
Type:  bug  | Status:  patch   
Priority:  normal   |  Component:  libraries/base  
 Version:  7.7  |   Keywords:  qnx 
  Os:  Other|   Architecture:  Unknown/Multiple
 Failure:  Building GHC failed  |  Blockedby:  
Blocking:   |Related:  
+---
Changes (by singpolyma):

  * status:  new = patch


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7519#comment:1
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs