#1423: compilation with profiling makes gcc run out of memory
------------------------------------------+---------------------------------
  Reporter:  guest                        |          Owner:                     
      
      Type:  bug                          |         Status:  new                
      
  Priority:  normal                       |      Milestone:                     
      
 Component:  Compiler                     |        Version:  6.6                
      
  Severity:  normal                       |       Keywords:  via-c gcc compile 
profile
Difficulty:  Unknown                      |             Os:  Linux              
      
  Testcase:  http://malde.org/~ketil/bio  |   Architecture:  x86                
      
------------------------------------------+---------------------------------
Compiling a cabal library with profiling turned on caused gcc to run out
 of (1.5Gb of) memory and crash.  Specifying -fasm in the cabal file works.

 The repository can be darcsed from [http://malde.org/~ketil/bio
 ].  Tested with ghc-6-6 (Ubuntu Feisty default install).

 <ketil at malde dot org>

 {{{
 % ./Setup.hs configure -p
   [...]
 % ulimit -d 1500000
 % ./Setup.hs build
 Preprocessing library bio-0.3.1...
 Building bio-0.3.1...
 [ 1 of 15] Compiling Bio.Alignment.Matrices ( Bio/Alignment/Matrices.hs,
 dist/build/Bio/Alignment/Matrices.p_o )
 gcc: Internal error: Killed (program cc1)
 Please submit a full bug report.
 See <URL:http://gcc.gnu.org/bugs.html> for instructions.
 For Debian GNU/Linux specific bug reporting instructions, see
 <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
 }}}

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