Ticket #1423 (closed bug: fixed)
compilation with profiling makes gcc run out of memory
| Reported by: | guest | Owned by: | igloo |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.8.3 |
| Component: | Compiler | Version: | 6.6 |
| Keywords: | via-c gcc compile profile | Cc: | ketil@… |
| Operating System: | Linux | Architecture: | x86 |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | http://malde.org/~ketil/bio | Blocked By: | |
| Blocking: | Related Tickets: |
Description
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>.
Change History
Note: See
TracTickets for help on using
tickets.
