Ticket #1423 (closed bug: fixed)

Opened 6 years ago

Last modified 5 years ago

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

Changed 6 years ago by igloo

  • milestone set to 6.8

I get a "500 Internal Server Error" when trying to access the repo.

Changed 6 years ago by guest

  • cc ketil@… added

Changed 6 years ago by simonmar

  • owner set to igloo
  • milestone changed from 6.8 branch to 6.8.3

Changed 5 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

No problems here with 6.8.2 and a 200M ulimit. The default is now -fasm, but even specifying -fvia-C it was fine.

If you're still having problems, please reopen this report (or open a new one if that seems more appropriate).

Note: See TracTickets for help on using tickets.