Ticket #778 (closed bug: fixed)
building with gcc-4.1.x causes ghc to enter infinite allocation loop
| Reported by: | guest | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.4.3 |
| Component: | Runtime System | Version: | 6.4.2 |
| Keywords: | memory gcc-4 | Cc: | |
| Operating System: | Linux | Architecture: | x86 |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description (last modified by simonmar) (diff)
I have the same program using both ghci and ghc. ghci gives:
___ ___ _ / _ \ /\ /\/ __(_) / /_\// /_/ / / | | GHC Interactive, version 6.4.2, for Haskell 98. / /_\\/ __ / /___| | http://www.haskell.org/ghc/ \____/\/ /_/\____/|_| Type :? for help. ghc-6.4.2: out of memory (requested 1048576 bytes)
and ghc gives:
ghc -ignore-package Cabal --make -Wall -fno-warn-unused-matches -cpp -i. -odir dist/tmp -hidir dist/tmp Setup.lhs -o setup ghc-6.4.2: out of memory (requested 1048576 bytes)
I have 2 gigs of ram, and 3 of swap. When I run ghci, my free memory quickly drops from ~1.9 Gb to less than 10 Mb, at which point, I get the out of memory error. I'm running gentoo on my laptop, with gcc 4.1.1 and kernel 2.6.17-rc1-mm2
Change History
Note: See
TracTickets for help on using
tickets.
