簡體   English   中英

“cabal安裝快樂”導致內存溢出。 (GHC 7.8.2)

[英]“cabal install happy” causes memory overflow. (GHC 7.8.2)

我一直試圖為過去幾天正確安裝而感到高興,雖然我發現讓cabal install happy不僅僅是錯誤(通過使用apt-get安裝happy-1.19並添加/opt/happy/1.19.3/binPATH ),現在它通過源運行直到它到達ProduceCode (15/18)並且似乎進入無限循環。 它累積內存,直到我按下Ctrl+C或當整個系統無響應時關閉電源。

我想我記得這根本不是GHC-HEAD的問題,但我不想使用頭部,因為它似乎每隔幾天更新一次,要求我不斷重建我的包裹,除非有一個技巧我不要“知道有關遷移從headhead+1

$ ghc -v
Glasgow Haskell Compiler, Version 7.8.2, stage 2 booted by GHC version 7.4.1
Using binary package database: /opt/ghc/7.8.2/lib/ghc-7.8.2/package.conf.d/package.cache
Using binary package database: /home/house/.ghc/x86_64-linux-7.8.2/package.conf.d/package.cache
package oeis-0.3.5-26e4c8a4e89d20dbd9e2d89ad4774bd0 is unusable due to missing or recursive dependencies:
HTTP-4000.2.12-2793df5d0fb675f1a42bc04cfdf74851
hiding package Cabal-1.18.1.3 to avoid conflict with later version Cabal-1.20.0
hiding package Cabal-1.19.2 to avoid conflict with later version Cabal-1.20.0
wired-in package ghc-prim mapped to ghc-prim-0.3.1.0-948744e1f99cc8bcc7c7d3ba60c7c2d8
wired-in package integer-gmp mapped to integer-gmp-0.5.1.0-dc47f6b546fc171f67a7f7d311684a99
wired-in package base mapped to base-4.7.0.0-018311399e3b6350d5be3a16b144df9b
wired-in package rts mapped to builtin_rts
wired-in package template-haskell mapped to template-haskell-2.9.0.0-dcc8c210fb02937e104bc1784d7b0f06
wired-in package dph-seq not found.
wired-in package dph-par not found.
Hsc static flags: 
*** Deleting temp files:
Deleting: 
*** Deleting temp dirs:
Deleting: 
ghc: no input files
Usage: For basic information, try the `--help' option.

$ cabal --version 
cabal-install version 1.20.0.0
using version 1.20.0 of the Cabal library 

社區Wiki回答評論:

“對我來說,它適用於-O-O2 -fno-spec-constr ,但當我嘗試使用-O2構建時,我在ghc達到4gb RAM后就殺了它”

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM