[GHC] #6164: GHC installation configure error

2012-06-15 Thread GHC
#6164: GHC installation configure error
--+-
 Reporter:  rohithkumar-av|  Owner:  
 Type:  bug   | Status:  new 
 Priority:  normal|  Component:  GHCi
  Version:  7.4.2 |   Keywords:  
   Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown  |   Testcase:  
Blockedby:|   Blocking:  
  Related:|  
--+-
 Hi,

 I was trying to install Haskell from this link
 https://gist.github.com/1524859
  Got this issue in it.
  After this step $ cd ghc-7.0.4

 :~/ghc-7.0.4$ ./configure
  checking for path to top of build tree... ./configure: line 1792: utils
 /ghc-pwd/dist/build/tmp/ghc-pwd: cannot execute binary file
  configure: error: cannot determine current directory

 I have ubuntu 12.04.

 Kindly help what to do

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6164
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] #6164: GHC installation configure error

2012-06-15 Thread GHC
#6164: GHC installation configure error
---+
 Reporter:  rohithkumar-av |  Owner:  
 Type:  bug| Status:  new 
 Priority:  normal |  Component:  GHCi
  Version:  7.4.2  |   Keywords:  
   Os:  Linux  |   Architecture:  Unknown/Multiple
  Failure:  GHC rejects valid program  |   Testcase:  
Blockedby: |   Blocking:  
  Related: |  
---+
Changes (by rohithkumar-av):

  * failure:  None/Unknown = GHC rejects valid program
  * os:  Unknown/Multiple = Linux


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6164#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


Re: [GHC] #6041: Program hangs when run under Ubuntu Precise

2012-06-15 Thread GHC
#6041: Program hangs when run under Ubuntu Precise
+---
  Reporter:  dsf|  Owner:  
  Type:  bug| Status:  new 
  Priority:  high   |  Milestone:  7.4.2   
 Component:  Compiler   |Version:  7.4.1   
Resolution: |   Keywords:  
Os:  Linux  |   Architecture:  Unknown/Multiple
   Failure:  Runtime crash  | Difficulty:  Unknown 
  Testcase: |  Blockedby:  
  Blocking: |Related:  
+---
Changes (by simonmar):

 * cc: ross (added)


Comment:

 Thanks for the diagnosis.

 Ross - please see the bug report against transformers above.  I'm closing
 this ticket here.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6041#comment:14
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] #6041: Program hangs when run under Ubuntu Precise

2012-06-15 Thread GHC
#6041: Program hangs when run under Ubuntu Precise
+---
  Reporter:  dsf|  Owner:  
  Type:  bug| Status:  closed  
  Priority:  high   |  Milestone:  7.4.2   
 Component:  Compiler   |Version:  7.4.1   
Resolution:  invalid|   Keywords:  
Os:  Linux  |   Architecture:  Unknown/Multiple
   Failure:  Runtime crash  | Difficulty:  Unknown 
  Testcase: |  Blockedby:  
  Blocking: |Related:  
+---
Changes (by simonmar):

  * status:  new = closed
  * resolution:  = invalid


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6041#comment:15
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] #6156: Optimiser bug on linux-powerpc

2012-06-15 Thread GHC
#6156: Optimiser bug on linux-powerpc
+---
Reporter:  erikd|Owner: 
Type:  bug  |   Status:  closed 
Priority:  normal   |Component:  Compiler   
 Version:  7.4.1|   Resolution:  fixed  
Keywords:   |   Os:  Linux  
Architecture:  powerpc  |  Failure:  Incorrect result at runtime
Testcase:   |Blockedby: 
Blocking:   |  Related: 
+---

Comment(by nomeata):

 Hi,

 as Debian cannot upgrade to ghc 7.4.2 at this stage
 (http://lists.debian.org/debian-haskell/2012/06/msg00038.html) we need to
 backport the fix to 7.4.1. If it is not the patch from #5900, what else is
 it?

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6156#comment:5
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] #4012: Compilation results are not deterministic

2012-06-15 Thread GHC
#4012: Compilation results are not deterministic
---+
  Reporter:  kili  |  Owner:  
  Type:  bug   | Status:  new 
  Priority:  high  |  Milestone:  7.6.1   
 Component:  Compiler  |Version:  6.12.2  
Resolution:|   Keywords:  
Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
   Failure:  Other | Difficulty:  Difficult (2-5 days)
  Testcase:|  Blockedby:  
  Blocking:|Related:  
---+

Comment(by nomeata):

 Let me illustrate one consequence of this problem. In Debian, the freeze
 for wheezy is near. We have just managed to migrate ghc-7.4.1 to wheezy,
 but there are a few remaining bugs of various severity (#5991, #6156) and
 having GHCi on ARM would be nice as well. Alas, we cannot upgrade to
 ghc-7.4.2 which provides all this, as it would require rebuilding
 everything, which is not possible at this stage any more
 (http://lists.debian.org/debian-haskell/2012/06/msg00038.html).

 What we will probably do is to backport fixes from 7.4.2 onto 7.4.1, but
 this is not nice either, as it might introduce new bugs and makes our ghc
 deviate more and more from upstream.

 Ideally, if 7.4.2 does not change anything about the actual ABI, it would
 not force it to change completely. Currently, it does, by encoding the
 version number in every hash (#5328; granted, I filed that, but that does
 not mean its the best solution :-)). It should do something like haddock:
 Keep an internal counter, separate from the version number, that is
 increased if indeed everything needs to be rebuilt, e.g. changes in the
 .hi file format, in the calling convention etc. (← identifying this list
 is probably non-trivial). And if a new compiler version is released that
 does not do any of these, the number stays the same and previously
 compiled packages can be re-used.

 This would also require the file names of installed packages to not
 include the ghc version but the ghc abi interface number; but configuring
 this can be left to the distributions.

 (Hmm, this is not _really_ this bug, but closely related.)

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4012#comment:17
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] #6156: Optimiser bug on linux-powerpc

2012-06-15 Thread GHC
#6156: Optimiser bug on linux-powerpc
+---
Reporter:  erikd|Owner: 
Type:  bug  |   Status:  closed 
Priority:  normal   |Component:  Compiler   
 Version:  7.4.1|   Resolution:  fixed  
Keywords:   |   Os:  Linux  
Architecture:  powerpc  |  Failure:  Incorrect result at runtime
Testcase:   |Blockedby: 
Blocking:   |  Related: 
+---

Comment(by nomeata):

 Replying to [comment:3 erikd]:
  Hmm, interesting!
 
  The patch from bug #5900 doesn't fix this. Now trying 7.4.2.

 Are you sure it does not fix it? I just read through the diff between
 7.4.1 and 7.4.2, and could not find any other related code.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6156#comment:6
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] #6131: -fprof-auto adds cost centers to INLINE functions

2012-06-15 Thread GHC
#6131: -fprof-auto adds cost centers to INLINE functions
---+
Reporter:  akio|   Owner: 
Type:  bug |  Status:  infoneeded 
Priority:  normal  |   Milestone: 
   Component:  Compiler| Version:  7.4.2-rc1  
Keywords:  |  Os:  Linux  
Architecture:  x86_64 (amd64)  | Failure:  Incorrect result at runtime
  Difficulty:  Unknown |Testcase: 
   Blockedby:  |Blocking: 
 Related:  |  
---+

Comment(by akio):

 I used to use an INLINE pragma as a handy way to prevent a cost center
 from being added to a function. Most of the time I wanted this feature
 because adding a cost center to a frequently-called small function tends
 to distort profiling results by adding a significant cost to that
 function, including costs of lost optimizations.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6131#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] #6131: -fprof-auto adds cost centers to INLINE functions

2012-06-15 Thread GHC
#6131: -fprof-auto adds cost centers to INLINE functions
---+
Reporter:  akio|   Owner: 
Type:  bug |  Status:  new
Priority:  high|   Milestone:  7.6.1  
   Component:  Profiling   | Version:  7.4.2-rc1  
Keywords:  |  Os:  Linux  
Architecture:  x86_64 (amd64)  | Failure:  Incorrect result at runtime
  Difficulty:  Unknown |Testcase: 
   Blockedby:  |Blocking: 
 Related:  |  
---+
Changes (by simonmar):

  * priority:  normal = high
  * status:  infoneeded = new
  * component:  Compiler = Profiling
  * milestone:  = 7.6.1


Comment:

 Seems reasonable.  I'll look into fixing it.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6131#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


Re: [GHC] #6163: GHC stops producing runnable code in OSX Mountain Lion DP4

2012-06-15 Thread GHC
#6163: GHC stops producing runnable code in OSX Mountain Lion DP4
---+
Reporter:  smidget |   Owner:   
  
Type:  bug |  Status:  new  
  
Priority:  highest |   Milestone:  
7.6.1  
   Component:  Compiler| Version:  
7.4.2  
Keywords:  OSX, Mountain Lion, strange closure, abort  |  Os:  
MacOS X
Architecture:  Unknown/Multiple| Failure:  
Incorrect result at runtime
  Difficulty:  Unknown |Testcase:   
  
   Blockedby:  |Blocking:   
  
 Related:  |  
---+
Changes (by simonmar):

  * priority:  normal = highest
  * difficulty:  = Unknown
  * milestone:  = 7.6.1


Comment:

 We had problems with DP1 and DP2, but they went away with DP3 and XCode
 4.4 DP5 (see #5899).  I really hope the problem has not reappeared.

 Can you confirm that you're on the latest XCode too?

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6163#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


Re: [GHC] #6108: Haddock's prune option is not regarded for DEPRECATED things

2012-06-15 Thread GHC
#6108: Haddock's prune option is not regarded for DEPRECATED things
-+--
Reporter:  SimonHengel   |   Owner:  waern   
Type:  bug   |  Status:  new 
Priority:  highest   |   Milestone:  7.4.3   
   Component:  Documentation | Version:  7.4.2-rc1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--
Changes (by pcapriotti):

  * milestone:  = 7.4.3


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6108#comment:5
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] #6131: -fprof-auto adds cost centers to INLINE functions

2012-06-15 Thread GHC
#6131: -fprof-auto adds cost centers to INLINE functions
---+
Reporter:  akio|   Owner: 
Type:  bug |  Status:  new
Priority:  high|   Milestone:  7.6.1  
   Component:  Profiling   | Version:  7.4.2-rc1  
Keywords:  |  Os:  Linux  
Architecture:  x86_64 (amd64)  | Failure:  Incorrect result at runtime
  Difficulty:  Unknown |Testcase: 
   Blockedby:  |Blocking: 
 Related:  |  
---+

Comment(by igloo):

 Would a NO_SCC pragma also make sense?

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6131#comment:4
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] #5841: seg fault in ghci but not ghc when using chart-gtk code

2012-06-15 Thread GHC
#5841: seg fault in ghci but not ghc when using chart-gtk code
---+
Reporter:  carter  |   Owner:  
Type:  bug |  Status:  new 
Priority:  normal  |   Milestone:  7.6.1   
   Component:  Compiler| Version:  7.4.1   
Keywords:  |  Os:  MacOS X 
Architecture:  x86_64 (amd64)  | Failure:  None/Unknown
  Difficulty:  Unknown |Testcase:  
   Blockedby:  |Blocking:  
 Related:  5816|  
---+
Changes (by pcapriotti):

  * milestone:  = 7.6.1


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5841#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] #5846: Add GHC.Stats.gcStatsEnabled

2012-06-15 Thread GHC
#5846: Add GHC.Stats.gcStatsEnabled
--+-
Reporter:  tibbe  |   Owner:  
Type:  feature request|  Status:  new 
Priority:  normal |   Milestone:  7.6.1   
   Component:  libraries (other)  | Version:  7.4.1   
Keywords: |  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple   | Failure:  None/Unknown
  Difficulty:  Unknown|Testcase:  
   Blockedby: |Blocking:  
 Related: |  
--+-
Changes (by pcapriotti):

  * difficulty:  = Unknown
  * milestone:  = 7.6.1


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5846#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


Re: [GHC] #5856: numrun012 test fails on i686 works on x86_64

2012-06-15 Thread GHC
#5856: numrun012 test fails on i686 works on x86_64
-+--
Reporter:  td123 |   Owner:  
Type:  bug   |  Status:  new 
Priority:  normal|   Milestone:  7.6.1   
   Component:  Test Suite| Version:  7.4.1   
Keywords:  numrun012 unexpected failure  |  Os:  Linux   
Architecture:  x86   | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  numrun012   
   Blockedby:|Blocking:  
 Related:|  
-+--
Changes (by pcapriotti):

  * difficulty:  = Unknown
  * milestone:  = 7.6.1


Comment:

 Thanks for the report.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5856#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] #6131: -fprof-auto adds cost centers to INLINE functions

2012-06-15 Thread GHC
#6131: -fprof-auto adds cost centers to INLINE functions
---+
Reporter:  akio|   Owner: 
Type:  bug |  Status:  new
Priority:  high|   Milestone:  7.6.1  
   Component:  Profiling   | Version:  7.4.2-rc1  
Keywords:  |  Os:  Linux  
Architecture:  x86_64 (amd64)  | Failure:  Incorrect result at runtime
  Difficulty:  Unknown |Testcase: 
   Blockedby:  |Blocking: 
 Related:  |  
---+

Comment(by simonmar):

 Yes, NO_SCC would make sense.  However, it turns out that adding SCCs to
 INLINE functions exposes another bug elsewhere that is harder to fix, so
 I'm going to do as originally suggested and not add SCCs to INLINE
 functions.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6131#comment:5
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] #5863: Deriving Typeable for data families

2012-06-15 Thread GHC
#5863: Deriving Typeable for data families
-+--
Reporter:  simonpj   |   Owner:  
Type:  bug   |  Status:  new 
Priority:  normal|   Milestone:  7.6.1   
   Component:  Compiler  | Version:  7.4.1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--
Changes (by pcapriotti):

  * milestone:  = 7.6.1


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5863#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


Re: [GHC] #5871: Patch for compilation on Hurd

2012-06-15 Thread GHC
#5871: Patch for compilation on Hurd
-+--
Reporter:  nomeata   |   Owner: 
Type:  bug   |  Status:  patch  
Priority:  normal|   Milestone:  7.4.3  
   Component:  Build System  | Version:  7.4.1  
Keywords:|  Os:  Other  
Architecture:  Unknown/Multiple  | Failure:  Building GHC failed
  Difficulty:  Unknown   |Testcase: 
   Blockedby:|Blocking: 
 Related:|  
-+--
Changes (by pcapriotti):

  * difficulty:  = Unknown
  * milestone:  = 7.4.3


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5871#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] #5877: Make StringPrimL take [Word8]

2012-06-15 Thread GHC
#5877: Make StringPrimL take [Word8]
-+--
Reporter:  reinerp   |   Owner:  igloo   
Type:  feature request   |  Status:  patch   
Priority:  normal|   Milestone:  7.6.1   
   Component:  Template Haskell  | Version:  7.4.1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:  5218  |  
-+--
Changes (by pcapriotti):

  * difficulty:  = Unknown
  * milestone:  = 7.6.1


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5877#comment:4
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] #5882: Template Haskell declaration quote reports error with GADT syntax

2012-06-15 Thread GHC
#5882: Template Haskell declaration quote reports error with GADT syntax
+---
  Reporter:  goldfire   |  Owner:   
 
  Type:  bug| Status:  closed   
 
  Priority:  normal |  Milestone:  7.6.1
 
 Component:  Template Haskell   |Version:  7.4.1
 
Resolution:  fixed  |   Keywords:  TemplateHaskell 
GADTSyntax
Os:  Unknown/Multiple   |   Architecture:  Unknown/Multiple 
 
   Failure:  GHC rejects valid program  | Difficulty:  Unknown  
 
  Testcase:  th/T5882   |  Blockedby:   
 
  Blocking: |Related:   
 
+---
Changes (by pcapriotti):

  * status:  new = closed
  * resolution:  = fixed
  * milestone:  = 7.6.1


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5882#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


Re: [GHC] #5889: -fno-prof-count-entries leads to linking errors

2012-06-15 Thread GHC
#5889: -fno-prof-count-entries leads to linking errors
---+
Reporter:  akio|   Owner:   
Type:  bug |  Status:  new  
Priority:  normal  |   Milestone:  7.6.1
   Component:  Compiler| Version:  7.4.1
Keywords:  |  Os:  Linux
Architecture:  x86_64 (amd64)  | Failure:  GHC rejects valid program
  Difficulty:  Unknown |Testcase:   
   Blockedby:  |Blocking:   
 Related:  |  
---+
Changes (by pcapriotti):

  * difficulty:  = Unknown
  * milestone:  = 7.6.1


Comment:

 Thanks for the report.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5889#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


Re: [GHC] #5890: Illegal instance declaration for `Show Doc'

2012-06-15 Thread GHC
#5890: Illegal instance declaration for `Show Doc'
-+--
Reporter:  mcandre   |   Owner:  
Type:  bug   |  Status:  new 
Priority:  normal|   Milestone:  7.6.1   
   Component:  Template Haskell  | Version:  7.4.1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--
Changes (by pcapriotti):

  * difficulty:  = Unknown
  * milestone:  = 7.6.1


Comment:

 Thanks for the report.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5890#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


Re: [GHC] #6164: GHC installation configure error

2012-06-15 Thread GHC
#6164: GHC installation configure error
+---
  Reporter:  rohithkumar-av |  Owner:  
  Type:  bug| Status:  closed  
  Priority:  normal |  Milestone:  
 Component:  GHCi   |Version:  7.4.2   
Resolution:  invalid|   Keywords:  
Os:  Linux  |   Architecture:  Unknown/Multiple
   Failure:  GHC rejects valid program  | Difficulty:  Unknown 
  Testcase: |  Blockedby:  
  Blocking: |Related:  
+---
Changes (by simonmar):

  * status:  new = closed
  * difficulty:  = Unknown
  * resolution:  = invalid


Comment:

 On Ubuntu 12.04 you can use `sudo apt-get install ghc` to install GHC.
 Alternatively use `sudo apt-get install haskell-platform` to install the
 Haskell Platform, which includes GHC.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6164#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] #5907: Crashed loading package Safe

2012-06-15 Thread GHC
#5907: Crashed loading package Safe
-+--
Reporter:  guest |   Owner:
Type:  bug   |  Status:  new   
Priority:  normal|   Milestone:  7.6.1 
   Component:  Package system| Version:  7.0.3 
Keywords:|  Os:  Windows   
Architecture:  Unknown/Multiple  | Failure:  GHCi crash
  Difficulty:  Unknown   |Testcase:
   Blockedby:|Blocking:
 Related:|  
-+--
Changes (by pcapriotti):

  * difficulty:  = Unknown
  * milestone:  = 7.6.1


Old description:

 Loading package array-0.3.0.2 ... linking ... done.
 Loading package containers-0.4.0.0 ... linking ... done.
 Loading package safe-0.3.3 ... ghc: panic! (the 'impossible' happened)
   (GHC version 7.0.3 for i386-unknown-mingw32):
 loadObj C:\\Documents and
 Settings\\\1042\1083\1072\1076\1099\1082\1072\\Application
 Data\\cabal\\safe-0.3.3\\ghc-7.0.3\\HSsafe-0.3.3.o: failed

 Before that I installed package Safe using cabal.

New description:

 {{{
 Loading package array-0.3.0.2 ... linking ... done.
 Loading package containers-0.4.0.0 ... linking ... done.
 Loading package safe-0.3.3 ... ghc: panic! (the 'impossible' happened)
   (GHC version 7.0.3 for i386-unknown-mingw32):
 loadObj C:\\Documents and
 Settings\\\1042\1083\1072\1076\1099\1082\1072\\Application
 Data\\cabal\\safe-0.3.3\\ghc-7.0.3\\HSsafe-0.3.3.o: failed
 }}}

 Before that I installed package Safe using cabal.

--

Comment:

 Thanks for the report.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5907#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


Re: [GHC] #5908: Issues with RebindableSyntax

2012-06-15 Thread GHC
#5908: Issues with RebindableSyntax
-+--
Reporter:  scooty-puff   |   Owner:   
Type:  bug   |  Status:  new  
Priority:  normal|   Milestone:  7.6.1
   Component:  Compiler  | Version:  7.0.3
Keywords:|  Os:  Unknown/Multiple 
Architecture:  Unknown/Multiple  | Failure:  GHC rejects valid program
  Difficulty:  Unknown   |Testcase:   
   Blockedby:|Blocking:   
 Related:|  
-+--
Changes (by pcapriotti):

  * difficulty:  = Unknown
  * milestone:  = 7.6.1


Comment:

 Thanks for the report.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5908#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


Re: [GHC] #5873: runghc does not exist in versioned form

2012-06-15 Thread GHC
#5873: runghc does not exist in versioned form
-+--
Reporter:  JamesFisher   |   Owner:  
Type:  feature request   |  Status:  new 
Priority:  normal|   Milestone:  7.6.1   
   Component:  None  | Version:  7.4.1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--
Changes (by pcapriotti):

  * difficulty:  = Unknown
  * milestone:  = 7.6.1


Comment:

 I agree it makes sense to provide a versioned executable for `runghc`.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5873#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


Re: [GHC] #5911: Add write-only variant of newTChan

2012-06-15 Thread GHC
#5911: Add write-only variant of newTChan
--+-
Reporter:  joeyadams  |   Owner:  
Type:  feature request|  Status:  new 
Priority:  normal |   Milestone:  7.6.1   
   Component:  libraries (other)  | Version:  7.4.1   
Keywords: |  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple   | Failure:  None/Unknown
  Difficulty:  Unknown|Testcase:  
   Blockedby: |Blocking:  
 Related: |  
--+-
Changes (by pcapriotti):

  * difficulty:  = Unknown
  * milestone:  = 7.6.1


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5911#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


Re: [GHC] #5913: Type class dictionary call loops at runtime

2012-06-15 Thread GHC
#5913: Type class dictionary call loops at runtime
-+--
Reporter:  mnislaih  |   Owner:  
Type:  bug   |  Status:  new 
Priority:  normal|   Milestone:  7.6.1   
   Component:  Compiler  | Version:  7.4.1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  Runtime crash   
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--
Changes (by pcapriotti):

  * milestone:  = 7.6.1


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5913#comment:4
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] #5916: runST isn't free

2012-06-15 Thread GHC
#5916: runST isn't free
-+--
Reporter:  tibbe |   Owner:  
Type:  bug   |  Status:  new 
Priority:  normal|   Milestone:  7.6.1   
   Component:  Compiler  | Version:  7.4.1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--
Changes (by pcapriotti):

  * milestone:  = 7.6.1


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5916#comment:8
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] #5918: hsc2hs forces wordsize (i.e. -m32 or -m64) to be the choice of GHC instead of allowing a different (or no/default choice)

2012-06-15 Thread GHC
#5918: hsc2hs forces wordsize (i.e. -m32 or -m64) to be the choice of GHC 
instead
of allowing a different (or no/default choice)
+---
Reporter:  Atze |   Owner: 
Type:  feature request  |  Status:  new
Priority:  low  |   Milestone:  7.6.1  
   Component:  hsc2hs   | Version:  7.4.1  
Keywords:   |  Os:  MacOS X
Architecture:  x86  | Failure:  Other  
  Difficulty:  Unknown  |Testcase: 
   Blockedby:   |Blocking: 
 Related:   |  
+---
Changes (by pcapriotti):

  * priority:  normal = low
  * difficulty:  = Unknown
  * type:  bug = feature request
  * milestone:  = 7.6.1


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5918#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


Re: [GHC] #5936: Support for data families in generics

2012-06-15 Thread GHC
#5936: Support for data families in generics
-+--
Reporter:  reinerp   |   Owner:  dreixel 
Type:  feature request   |  Status:  patch   
Priority:  normal|   Milestone:  7.6.1   
   Component:  Compiler  | Version:  7.4.1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--
Changes (by pcapriotti):

  * milestone:  = 7.6.1


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5936#comment:9
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] #5897: GHC runtime task workers are not released with C FFI

2012-06-15 Thread GHC
#5897: GHC runtime task workers are not released with C FFI
---+
  Reporter:  sanketr   |  Owner:
  Type:  bug   | Status:  closed
  Priority:  highest   |  Milestone:  7.4.3 
 Component:  Runtime System|Version:  7.4.1 
Resolution:  fixed |   Keywords:  worker, ffi   
Os:  Unknown/Multiple  |   Architecture:  x86_64 (amd64)
   Failure:  None/Unknown  | Difficulty:  Unknown   
  Testcase:|  Blockedby:
  Blocking:|Related:  #4262 
---+
Changes (by pcapriotti):

  * status:  merge = closed
  * resolution:  = fixed


Comment:

 Merged as d677a952d666e5e7144e60524efb6989dddeb383 (plus testsuite fix
 e8fae135f7b7820f7dc213182903e8e4fb5170b6).

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5897#comment:17
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] #6131: -fprof-auto adds cost centers to INLINE functions

2012-06-15 Thread GHC
#6131: -fprof-auto adds cost centers to INLINE functions
---+
Reporter:  akio|   Owner: 
Type:  bug |  Status:  new
Priority:  high|   Milestone:  7.6.1  
   Component:  Profiling   | Version:  7.4.2-rc1  
Keywords:  |  Os:  Linux  
Architecture:  x86_64 (amd64)  | Failure:  Incorrect result at runtime
  Difficulty:  Unknown |Testcase: 
   Blockedby:  |Blocking: 
 Related:  |  
---+

Comment(by marlowsd@…):

 commit 6181e007f0e1e8eddba7acf0d5fbcbaf46806249
 {{{
 Author: Simon Marlow marlo...@gmail.com
 Date:   Fri Jun 15 10:30:35 2012 +0100

 Don't put auto sccs on INLINE functions (#6131)

 There was also a bug caused by INLINEs getting SCCs, but unfortunately
 I have lost the test case.  The Note in the code describes the problem
 though.

  compiler/deSugar/Coverage.lhs |   36 +---
  1 files changed, 33 insertions(+), 3 deletions(-)
 }}}

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6131#comment:6
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] #5928: INLINABLE fails to specialize in presence of simple wrapper

2012-06-15 Thread GHC
#5928: INLINABLE fails to specialize in presence of simple wrapper
-+--
Reporter:  tibbe |   Owner:  
Type:  bug   |  Status:  new 
Priority:  normal|   Milestone:  7.6.1   
   Component:  Compiler  | Version:  7.4.1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--
Changes (by pcapriotti):

  * milestone:  = 7.6.1


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5928#comment:12
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] #6041: Program hangs when run under Ubuntu Precise

2012-06-15 Thread GHC
#6041: Program hangs when run under Ubuntu Precise
+---
  Reporter:  dsf|  Owner:  
  Type:  bug| Status:  closed  
  Priority:  high   |  Milestone:  7.4.2   
 Component:  Compiler   |Version:  7.4.1   
Resolution:  invalid|   Keywords:  
Os:  Linux  |   Architecture:  Unknown/Multiple
   Failure:  Runtime crash  | Difficulty:  Unknown 
  Testcase: |  Blockedby:  
  Blocking: |Related:  
+---

Comment(by cliffordbeshers):

 The modified program provided by guest does not loop for me, using
 SeeReason's Ubuntu package environment where the bug was originally
 witnessed (albeit with the packages rebuilt many times since.)  ghc 7.4.1
 and transformers 0.3.

 Ross, if you make a new ticket, please drop a forwarding link here.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6041#comment:16
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] #6162: defer-type-errors + unsafeCoerce

2012-06-15 Thread GHC
#6162: defer-type-errors + unsafeCoerce
--+-
Reporter:  guest  |   Owner:  
Type:  feature request|  Status:  new 
Priority:  normal |   Milestone:  
   Component:  Compiler   | Version:  7.5 
Keywords:  defer-type-errors  |  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple   | Failure:  None/Unknown
  Difficulty:  Unknown|Testcase:  
   Blockedby: |Blocking:  
 Related: |  
--+-
Changes (by simonpj):

  * difficulty:  = Unknown


Comment:

 But under unfavourable conditions you get a segmentation fault!  The whole
 point of `-fdefer-type-errors` is that you get the same guarantees about
 lack of seg-faults and memory safety for type in-correct programs that you
 get for type-correct cones.  As [http://research.microsoft.com/en-
 us/um/people/simonpj/papers/ext-f/ the paper] discusses.  So I don't
 propose to change this.

 Simon

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6162#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


Re: [GHC] #6041: Program hangs when run under Ubuntu Precise

2012-06-15 Thread GHC
#6041: Program hangs when run under Ubuntu Precise
+---
  Reporter:  dsf|  Owner:  
  Type:  bug| Status:  closed  
  Priority:  high   |  Milestone:  7.4.2   
 Component:  Compiler   |Version:  7.4.1   
Resolution:  invalid|   Keywords:  
Os:  Linux  |   Architecture:  Unknown/Multiple
   Failure:  Runtime crash  | Difficulty:  Unknown 
  Testcase: |  Blockedby:  
  Blocking: |Related:  
+---

Comment(by guest):

 @cliffordbeshers: Does the original Main.hs given by dsf gives loop on
 your machine while my reduced version does not? That would be extremely
 strange and if so I would reopen the ticket. I can reproduce looping on
 both programs, with Ubuntu Precise, 3.2.0-25-generic-pae, GHC 7.4.1.

 I am pretty sure of my overall diagnosis. Please note that all fixes (1) -
 (4) given in initial bug report are connected to the state monad. The
 program puts infinite loop as a state with `modify id`, and then attempts
 to read it with `readTVar u`. For example, if you change `_ - liftIO $
 atomically $ readTVar u` to `print $ seq u ()`, the behaviour is the same,
 indicating that TVars are not core of the issue and can be replaced with
 ().

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6041#comment:17
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] #5846: Add GHC.Stats.gcStatsEnabled

2012-06-15 Thread GHC
#5846: Add GHC.Stats.gcStatsEnabled
--+-
Reporter:  tibbe  |   Owner:  
Type:  feature request|  Status:  patch   
Priority:  normal |   Milestone:  7.6.1   
   Component:  libraries (other)  | Version:  7.4.1   
Keywords: |  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple   | Failure:  None/Unknown
  Difficulty:  Unknown|Testcase:  
   Blockedby: |Blocking:  
 Related: |  
--+-
Changes (by pcapriotti):

  * status:  new = patch


Comment:

 Attached are patches implementing `getGCStatsEnabled`.

 I don't think the value can change at runtime, but I used an `IO Bool`
 type anyway, to keep the `-XSafe` flag on `GHC.Stats`.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5846#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] #5846: Add GHC.Stats.gcStatsEnabled

2012-06-15 Thread GHC
#5846: Add GHC.Stats.gcStatsEnabled
--+-
Reporter:  tibbe  |   Owner:  
Type:  feature request|  Status:  patch   
Priority:  normal |   Milestone:  7.6.1   
   Component:  libraries (other)  | Version:  7.4.1   
Keywords: |  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple   | Failure:  None/Unknown
  Difficulty:  Unknown|Testcase:  
   Blockedby: |Blocking:  
 Related: |  
--+-

Comment(by tibbe):

 Patch looks good to me.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5846#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


Re: [GHC] #6164: GHC installation configure error

2012-06-15 Thread GHC
#6164: GHC installation configure error
+---
  Reporter:  rohithkumar-av |  Owner:  
  Type:  bug| Status:  closed  
  Priority:  normal |  Milestone:  
 Component:  GHCi   |Version:  7.4.2   
Resolution:  invalid|   Keywords:  
Os:  Linux  |   Architecture:  Unknown/Multiple
   Failure:  GHC rejects valid program  | Difficulty:  Unknown 
  Testcase: |  Blockedby:  
  Blocking: |Related:  
+---

Comment(by rohithkumar-av):

 I downloaded the software. And your commands would make me download whole
 thing again

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6164#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


Re: [GHC] #6164: GHC installation configure error

2012-06-15 Thread GHC
#6164: GHC installation configure error
+---
  Reporter:  rohithkumar-av |  Owner:  
  Type:  bug| Status:  closed  
  Priority:  normal |  Milestone:  
 Component:  GHCi   |Version:  7.4.2   
Resolution:  invalid|   Keywords:  
Os:  Linux  |   Architecture:  Unknown/Multiple
   Failure:  GHC rejects valid program  | Difficulty:  Unknown 
  Testcase: |  Blockedby:  
  Blocking: |Related:  
+---
Changes (by pcapriotti):

  * status:  new = closed
  * resolution:  = invalid


Comment:

 Looks like you downloaded a GHC tarball for the wrong architecture. You
 are probably on 32bit linux, and are trying to install GHC using a 64bit
 binary package.

 In any case, you should really be using Ubuntu's package manager (`apt-
 get`) to install GHC or the Haskell Platform, as suggested by Simon.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6164#comment:5
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] #6166: Performance regression in mwc-random since 7.0.x

2012-06-15 Thread GHC
#6166: Performance regression in mwc-random since 7.0.x
-+--
 Reporter:  bos  |  Owner:
 Type:  bug  | Status:  new   
 Priority:  normal   |  Component:  Compiler  
  Version:  7.4.2|   Keywords:
   Os:  Unknown/Multiple |   Architecture:  x86_64 (amd64)
  Failure:  Runtime performance bug  |   Testcase:
Blockedby:   |   Blocking:
  Related:   |  
-+--
 I've had a report that the performance of the mwc-random package has
 regressed seriously after upgrading from GHC 7.0 to 7.4. It turns out that
 7.2 also has the regression.

 Here's a sample program.

 {{{
 import qualified Data.Vector.Unboxed as U

 import qualified System.Random.MWC as R
 import System.Random.MWC.Distributions (standard)

 count = 1000 * 1000

 fast gen = standard gen

 slow gen = standard gen = return

 -- Edit this to choose fast or slow.
 which gen = slow gen

 main = do
   gen - R.create
   v - U.replicateM count (which gen)
   print (U.last v)
 }}}

 With GHC 7.0.3 -O2, this runs in 0.294 sec, regardless of whether `fast`
 or `slow` is used.

 Under 7.4, `fast` runs in 0.062 sec (a nice speedup!), but `slow` now
 takes 9.2 sec (yikes!).

 Roman suggested compiling the `slow` version with `-fno-state-hack`, which
 brings performance back up to 0.062 sec.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6166
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] #6156: Optimiser bug on linux-powerpc

2012-06-15 Thread GHC
#6156: Optimiser bug on linux-powerpc
+---
Reporter:  erikd|Owner: 
Type:  bug  |   Status:  closed 
Priority:  normal   |Component:  Compiler   
 Version:  7.4.1|   Resolution:  fixed  
Keywords:   |   Os:  Linux  
Architecture:  powerpc  |  Failure:  Incorrect result at runtime
Testcase:   |Blockedby: 
Blocking:   |  Related: 
+---

Comment(by erikd):

 Not sure what I did wrong the first time, but the fix for #5900 does
 indeed fix this problem.

 I'll update the debian packaging metadata for 7.4.1.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6156#comment:7
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] #6167: Compile stalls with pause returning ERESTARTNOHAND

2012-06-15 Thread GHC
#6167: Compile stalls with pause returning ERESTARTNOHAND
-+--
 Reporter:  erikd|  Owner:  
 Type:  bug  | Status:  new 
 Priority:  normal   |  Component:  Compiler
  Version:  7.4.1|   Keywords:  
   Os:  Linux|   Architecture:  Unknown/Multiple
  Failure:  Building GHC failed  |   Testcase:  
Blockedby:   |   Blocking:  
  Related:   |  
-+--
 I'm using ghc 7.4.1 from the debian package to compile GHC from git HEAD
 on linux powerpc.

 The build all seems to go fine until it reaches this:

 {{{
   HC [stage 1] libraries/containers/dist-install/build/Data/Sequence.o
 }}}

 At which stage the compile stalls. By stalls, I mean the compiler seems to
 make no further progress and consumes less than 1% CPU and less than 1%
 memory.

 Killing the compile with Ctrl-C and running 'make' again and it stalls
 again in the same place. Doing a 'make clean' and starting again and it
 stall in the same place once more.

 The command that is being run at the stall is:

 {{{
 /home/erikd/Git/ghc-upstream-git/inplace/lib/ghc-stage1 \
 -B/home/erikd/Git/ghc-upstream-git/inplace/lib -H64m -O0 -fasm
 -package-name \
 containers-0.5.0.0 -hide-all-packages -i -ilibraries/containers/. \
 -ilibraries/containers/dist-install/build -ilibraries/containers/dist-
 install/build/autogen \
 -Ilibraries/containers/dist-install/build -Ilibraries/containers/dist-
 install/build/autogen \
 -Ilibraries/containers/include -optP-include \
 -optPlibraries/containers/dist-install/build/autogen/cabal_macros.h
 -package array-0.3.0.3 \
 -package base-4.5.0.0 -package deepseq-1.2.0.1 -package ghc-
 prim-0.2.0.0 -O2 -Wall -XHaskell98 \
 -O0 -dcore-lint -no-user-package-db -rtsopts -odir
 libraries/containers/dist-install/build \
 -hidir libraries/containers/dist-install/build -stubdir
 libraries/containers/dist-install/build \
 -hisuf hi -osuf o -hcsuf hc -c libraries/containers/./Data/Sequence.hs
 -o \
  libraries/containers/dist-install/build/Data/Sequence.o
 }}}

 If I run that under strace I find that at the stall its doing the
 following:

 {{{

 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
 pause() = ? ERESTARTNOHAND (To be
 restarted)
 --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
 sigreturn() = ? (mask now [])
 pause() = ? ERESTARTNOHAND (To be
 restarted)
 --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
 sigreturn() = ? (mask now [])
 pause() = ? ERESTARTNOHAND (To be
 restarted)
 --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
 sigreturn() = ? (mask now [])
 pause() = ? ERESTARTNOHAND (To be
 restarted)
 --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---

 }}}

 A bit of googling tells me that ERESTARTNOHAND is supposedly a kernel
 level
 errno that is not supposed to escape into userland. See

 https://lkml.org/lkml/2011/12/23/117

 Will continue the investigation.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6167
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] #6168: Assembler error message in GHC 7.2.2

2012-06-15 Thread GHC
#6168: Assembler error message in GHC 7.2.2
+---
 Reporter:  selinger|  Owner:
 Type:  bug | Status:  new   
 Priority:  normal  |  Component:  Compiler  
  Version:  7.2.2   |   Keywords:
   Os:  Linux   |   Architecture:  x86_64 (amd64)
  Failure:  Compile-time crash  |   Testcase:
Blockedby:  |   Blocking:
  Related:  |  
+---
 This is related to #5649, although a different combination of options
 produces this bug.

 ghc -O Bug.hs
 [1 of 1] Compiling Bug  ( Bug.hs, Bug.o )
 /tmp/ghc23962_0/ghc23962_0.s: Assembler messages:

 /tmp/ghc23962_0/ghc23962_0.s:2849:0:
  Error: symbol `aKS_info' is already defined

 /tmp/ghc23962_0/ghc23962_0.s:3291:0:
  Error: symbol `aKS_info' is already defined

 I realize the bug is not present in 7.4, but I am using 7.2.2 in a
 production system and this is messing things up. Is there any chance the
 fix for this bug could be backported to 7.2.2?

 Further info: the attached file seems pretty minimal in producing this
 bug. For example, if using up to 8-tuples, the bug is not present; it is
 present if 9-tuples and 10-tuples are used. The -O option is necessary;
 neither -O0 nor -O2 produces the bug.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6168
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