#2722: <<loop> when compiling with -O option with ghc-6.10.0.20081019
-----------------------------------------+----------------------------------
  Reporter:  uwe                         |          Owner:  simonpj       
      Type:  bug                         |         Status:  infoneeded    
  Priority:  normal                      |      Milestone:  7.0.3         
 Component:  libraries (other)           |        Version:  7.0.1         
Resolution:                              |       Keywords:  arrows        
  Testcase:  tyepcheck/should_run/T2722  |      Blockedby:                
Difficulty:  Unknown                     |             Os:  Linux         
  Blocking:                              |   Architecture:  x86_64 (amd64)
   Failure:  Runtime crash               |  
-----------------------------------------+----------------------------------

Comment(by litoh):

 The problem remains, here's what I did:

 Installed new darcs to avoid sleeping:
 $ darcs -v
 > 2.5.1 (release)

 I followed the GHC build guides at
 http://hackage.haskell.org/trac/ghc/wiki/Building/Hacking (with --no-cache
 option)
 $ darcs get --lazy --no-cache http://darcs.haskell.org/ghc
 $ ./darcs-all --testsuite get

 in mk/build.mk:
 BuidlFlavour = prof

 $ perl boot
 $ ./configure --with-ghc=/usr/local/bin/ghc-7.0.1.20110217
 (I had to recompile for profiling support and define an older GHC build. I
 used the current RC build)
 $ make -j2
 $ make install
 $ ghc --version
 > The Glorious Glasgow Haskell Compilation System, version 7.1.20110223

 $ cabal install yampa
 $ ghc --make Test.hs -o test -O2 -fforce-recomp
 > test: <<loop>>

 :/

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2722#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to