Re: [GHC] #2753: GHC 6.10.1 cannot compile Crypto-4.1.0

2009-04-11 Thread GHC
#2753: GHC 6.10.1 cannot compile Crypto-4.1.0
-+--
Reporter:  thoughtpolice |Owner:  
Type:  bug   |   Status:  closed  
Priority:  normal|Milestone:  6.10.2  
   Component:  Compiler  |  Version:  6.10.1  
Severity:  critical  |   Resolution:  duplicate   
Keywords:|   Difficulty:  Unknown 
Testcase:|   Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
-+--
Changes (by igloo):

  * status:  new = closed
  * resolution:  = duplicate

Comment:

 Closing in favour of #2790.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2753#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] #2753: GHC 6.10.1 cannot compile Crypto-4.1.0

2009-01-23 Thread GHC
#2753: GHC 6.10.1 cannot compile Crypto-4.1.0
-+--
Reporter:  thoughtpolice |Owner:  
Type:  bug   |   Status:  new 
Priority:  normal|Milestone:  6.10.2  
   Component:  Compiler  |  Version:  6.10.1  
Severity:  critical  |   Resolution:  
Keywords:|   Difficulty:  Unknown 
Testcase:|   Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
-+--
Changes (by awick):

 * cc: awick (added)

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2753#comment:11
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] #2753: GHC 6.10.1 cannot compile Crypto-4.1.0

2009-01-20 Thread GHC
#2753: GHC 6.10.1 cannot compile Crypto-4.1.0
-+--
Reporter:  thoughtpolice |Owner:  
Type:  bug   |   Status:  new 
Priority:  normal|Milestone:  6.10.2  
   Component:  Compiler  |  Version:  6.10.1  
Severity:  critical  |   Resolution:  
Keywords:|   Difficulty:  Unknown 
Testcase:|   Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
-+--
Changes (by liesen):

 * cc: liesen (added)

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2753#comment:10
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] #2753: GHC 6.10.1 cannot compile Crypto-4.1.0

2009-01-17 Thread GHC
#2753: GHC 6.10.1 cannot compile Crypto-4.1.0
-+--
Reporter:  thoughtpolice |Owner:  
Type:  bug   |   Status:  new 
Priority:  normal|Milestone:  6.10.2  
   Component:  Compiler  |  Version:  6.10.1  
Severity:  critical  |   Resolution:  
Keywords:|   Difficulty:  Unknown 
Testcase:|   Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
-+--
Changes (by guest):

 * cc: gwe...@gmail.com (added)

Comment:

 Just to chip in: i386 Intrepid Ubuntu, GHC HQ's 6.10 binaries, darcs
 Crypto.

 Adding the -freg-graphs option to the sha1test stanza fixed the
 compilation problem for me.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2753#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] #2753: GHC 6.10.1 cannot compile Crypto-4.1.0

2008-11-24 Thread GHC
#2753: GHC 6.10.1 cannot compile Crypto-4.1.0
--+-
 Reporter:  thoughtpolice |  Owner:  
 Type:  bug   | Status:  new 
 Priority:  normal|  Milestone:  6.10.2  
Component:  Compiler  |Version:  6.10.1  
 Severity:  critical  | Resolution:  
 Keywords:| Difficulty:  Unknown 
 Testcase:|   Architecture:  Unknown/Multiple
   Os:  Unknown/Multiple  |  
--+-
Changes (by StefanKersten):

 * cc: [EMAIL PROTECTED] (added)

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2753#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] #2753: GHC 6.10.1 cannot compile Crypto-4.1.0

2008-11-17 Thread GHC
#2753: GHC 6.10.1 cannot compile Crypto-4.1.0
--+-
 Reporter:  thoughtpolice |  Owner:  
 Type:  bug   | Status:  new 
 Priority:  normal|  Milestone:  6.10.2  
Component:  Compiler  |Version:  6.10.1  
 Severity:  critical  | Resolution:  
 Keywords:| Difficulty:  Unknown 
 Testcase:|   Architecture:  Unknown/Multiple
   Os:  Unknown/Multiple  |  
--+-
Comment (by simonmar):

 Replying to [comment:6 igloo]:
  Oh, for some reason I thought that `-fregs-graph` was the default in
 6.10, which was why it worked in the past. Is there a reason not to make
 it the default?

 Partly paranoia: the linear-scan allocator has had a good shakedown, it
 only has two known bugs (this one and another one that doesn't actually
 show up in practice), whereas `-fregs-graph` has hardly been tested in the
 field.  Partly performance: I believe `-fregs-graph` is slower, but we
 haven't measured it systematically yet.  We'll probably want `-fregs-
 graph` to become the default in 6.12, however.  I'm still considering
 whether we want to keep the old allocator around too, perhaps for non-
 optimised compilations.

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


Re: [GHC] #2753: GHC 6.10.1 cannot compile Crypto-4.1.0

2008-11-16 Thread GHC
#2753: GHC 6.10.1 cannot compile Crypto-4.1.0
--+-
 Reporter:  thoughtpolice |  Owner:  
 Type:  bug   | Status:  new 
 Priority:  normal|  Milestone:  6.10.2  
Component:  Compiler  |Version:  6.10.1  
 Severity:  critical  | Resolution:  
 Keywords:| Difficulty:  Unknown 
 Testcase:|   Architecture:  Unknown/Multiple
   Os:  Unknown/Multiple  |  
--+-
Comment (by igloo):

 Oh, for some reason I thought that `-fregs-graph` was the default in 6.10,
 which was why it worked in the past. Is there a reason not to make it the
 default?

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2753#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] #2753: GHC 6.10.1 cannot compile Crypto-4.1.0

2008-11-14 Thread GHC
#2753: GHC 6.10.1 cannot compile Crypto-4.1.0
--+-
 Reporter:  thoughtpolice |  Owner:  
 Type:  bug   | Status:  new 
 Priority:  normal|  Milestone:  6.10.2  
Component:  Compiler  |Version:  6.10.1  
 Severity:  critical  | Resolution:  
 Keywords:| Difficulty:  Unknown 
 Testcase:|   Architecture:  Unknown/Multiple
   Os:  Unknown/Multiple  |  
--+-
Comment (by gregwebs):

 On debian Linux X86 ghc 6.10.1 I encountered this problem.  I was able to
 compile by modifying the cabal file to use -fregs-graph.

 {{{
  Executable  SHA1Test
   Main-Is: SHA1Test.hs
   Ghc-options: -fregs-graph
   Other-modules:   Codec.Text.Raw
Data.Digest.SHA1
 }}}

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2753#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] #2753: GHC 6.10.1 cannot compile Crypto-4.1.0

2008-11-10 Thread GHC
#2753: GHC 6.10.1 cannot compile Crypto-4.1.0
--+-
 Reporter:  thoughtpolice |  Owner:  
 Type:  bug   | Status:  new 
 Priority:  normal|  Milestone:  6.10.2  
Component:  Compiler  |Version:  6.10.1  
 Severity:  critical  | Resolution:  
 Keywords:| Difficulty:  Unknown 
 Testcase:|   Architecture:  Unknown/Multiple
   Os:  Unknown/Multiple  |  
--+-
Changes (by simonmar):

  * difficulty:  = Unknown
  * os:  MacOS X = Unknown/Multiple
  * milestone:  = 6.10.2

Comment:

 I don't think it was ever fixed, it may have just stopped happening for a
 while for unrelated reasons.

 The problem is that the spill code in the linear register allocator is
 pretty stupid and doesn't try to re-use spill slots.  Also, we only have a
 fixed number of spill slots, because we have a fixed-size frame on the C
 stack in which to spill into, which is currently 2048 words.  We could
 certainly bump the size of this without any serious adverse effects
 (`includes/Constants.h`, `RESERVED_C_STACK_BYTES`).  I suggest that as a
 workaround for 6.10.2.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2753#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] #2753: GHC 6.10.1 cannot compile Crypto-4.1.0

2008-11-09 Thread GHC
#2753: GHC 6.10.1 cannot compile Crypto-4.1.0
-+--
Reporter:  thoughtpolice |Owner: 
Type:  bug   |   Status:  new
Priority:  normal|Milestone: 
   Component:  Compiler  |  Version:  6.10.1 
Severity:  critical  |   Resolution: 
Keywords:| Testcase: 
Architecture:  Unknown/Multiple  |   Os:  MacOS X
-+--
Comment (by JohnMacFarlane):

 I'm getting the same problem on a Ubuntu linux x86 system.
 See also #2623.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2753#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] #2753: GHC 6.10.1 cannot compile Crypto-4.1.0

2008-11-09 Thread GHC
#2753: GHC 6.10.1 cannot compile Crypto-4.1.0
-+--
Reporter:  thoughtpolice |Owner: 
Type:  bug   |   Status:  new
Priority:  normal|Milestone: 
   Component:  Compiler  |  Version:  6.10.1 
Severity:  critical  |   Resolution: 
Keywords:| Testcase: 
Architecture:  Unknown/Multiple  |   Os:  MacOS X
-+--
Comment (by nominolo):

 SHA1 is a particular stress-test of the register allocator.  It's a known
 problem, but apparently #2623 claims it's been fixed.  So perhaps #2623
 should be re-opened and this one be marked as a duplicate.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2753#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] #2753: GHC 6.10.1 cannot compile Crypto-4.1.0

2008-11-07 Thread GHC
#2753: GHC 6.10.1 cannot compile Crypto-4.1.0
-+--
Reporter:  thoughtpolice |   Owner:  
Type:  bug   |  Status:  new 
Priority:  normal|   Component:  Compiler
 Version:  6.10.1|Severity:  critical
Keywords:|Testcase:  
Architecture:  Unknown/Multiple  |  Os:  MacOS X 
-+--
 While trying to install Crypto, I get this error message with GHC 6.10.1
 on Mac OS X 10.5:

 {{{
 $ cabal install Crypto
 ...
 Linking dist/build/SymmetricTest/SymmetricTest ...
 [1 of 4] Compiling Codec.Utils  ( Codec/Utils.hs, dist/build/SHA1Test
 /SHA1Test-tmp/Codec/Utils.o )
 [2 of 4] Compiling Data.Digest.SHA1 ( Data/Digest/SHA1.hs,
 dist/build/SHA1Test/SHA1Test-tmp/Data/Digest/SHA1.o )
 [3 of 4] Compiling Codec.Text.Raw   ( Codec/Text/Raw.hs,
 dist/build/SHA1Test/SHA1Test-tmp/Codec/Text/Raw.o )
 [4 of 4] Compiling Main ( SHA1Test.hs, dist/build/SHA1Test
 /SHA1Test-tmp/Main.o )

 ghc: panic! (the 'impossible' happened)
   (GHC version 6.10.1 for i386-apple-darwin):
 RegAllocLinear.getStackSlotFor: out of stack slots, try -fregs-
 graph

 ...
 $
 }}}

 Even with -fregs-graph specified (in the .cabal file) this happens.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2753
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] #2753: GHC 6.10.1 cannot compile Crypto-4.1.0

2008-11-07 Thread GHC
#2753: GHC 6.10.1 cannot compile Crypto-4.1.0
-+--
Reporter:  thoughtpolice |Owner: 
Type:  bug   |   Status:  new
Priority:  normal|Milestone: 
   Component:  Compiler  |  Version:  6.10.1 
Severity:  critical  |   Resolution: 
Keywords:| Testcase: 
Architecture:  Unknown/Multiple  |   Os:  MacOS X
-+--
Comment (by thoughtpolice):

 Actually, with -fregs-graph it does build (got cabal file wrong.) But
 without it this chokes on the SHA1Test.hs file.

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