compilation with profiling makes gcc run out of memory
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>.
Trac metadata
Trac field | Value |
---|---|
Version | 6.6 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |