From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ricardo Wurmus Newsgroups: gmane.lisp.guile.bugs Subject: bug#19180: Weak tables harmful to GC? Date: Thu, 26 Oct 2017 18:52:25 +0200 Message-ID: <87bmktn96e.fsf__12279.7766737223$1509036867$gmane$org@elephly.net> References: <87wp9gwz8m.fsf@gnu.org> <87fug4o8z2.fsf@pobox.com> <87wp54z3p5.fsf@gnu.org> <87zi9th1i6.fsf_-_@gnu.org> <87y3o454pr.fsf@gnu.org> <87r2tvncs5.fsf@dustycloud.org> <87wp3mwwef.fsf@gnu.org> <87mv4gd0ik.fsf@elephly.net> <87a80eie63.fsf@gnu.org> <87k1zimhmt.fsf@elephly.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1509036867 23487 195.159.176.226 (26 Oct 2017 16:54:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 26 Oct 2017 16:54:27 +0000 (UTC) User-Agent: mu4e 0.9.18; emacs 25.3.1 Cc: Andy Wingo , 19180@debbugs.gnu.org, guile-devel@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Oct 26 18:54:19 2017 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7lQ5-00044j-M4 for guile-bugs@m.gmane.org; Thu, 26 Oct 2017 18:54:14 +0200 Original-Received: from localhost ([::1]:53895 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7lQ5-0000Wt-1C for guile-bugs@m.gmane.org; Thu, 26 Oct 2017 12:54:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7lPw-0000VP-RR for bug-guile@gnu.org; Thu, 26 Oct 2017 12:54:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7lPu-0001hT-K4 for bug-guile@gnu.org; Thu, 26 Oct 2017 12:54:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54903) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e7lPu-0001h5-FK for bug-guile@gnu.org; Thu, 26 Oct 2017 12:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e7lPu-0007lK-51 for bug-guile@gnu.org; Thu, 26 Oct 2017 12:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 26 Oct 2017 16:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19180 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 19180-submit@debbugs.gnu.org id=B19180.150903682829818 (code B ref 19180); Thu, 26 Oct 2017 16:54:02 +0000 Original-Received: (at 19180) by debbugs.gnu.org; 26 Oct 2017 16:53:48 +0000 Original-Received: from localhost ([127.0.0.1]:35351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7lPg-0007ks-5V for submit@debbugs.gnu.org; Thu, 26 Oct 2017 12:53:48 -0400 Original-Received: from sender-of-o51.zoho.com ([135.84.80.216]:21025) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7lPb-0007kh-2u for 19180@debbugs.gnu.org; Thu, 26 Oct 2017 12:53:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1509036748; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=2684; bh=WOMnJT4bmAFJUooggk+2uWWdI7DOKNRTrtM+4bmJbcY=; b=GJl2TjUmVHx63dfVc2uLEt2A0Q0bxPImVEHIjdZT7xdO2dwRvIYj9b6+LSzU003w QTvF3eT6/10v6NTHis90JLw9IFlyqdLSIhAoDjU+YLfiJGSnF0fpPGYapWiNaR7+zca zpDgjXEA6WJLNCjWYNWBeDAQzWQv9bCtGit7kU+0= Original-Received: from localhost (port-92-200-82-198.dynamic.qsc.de [92.200.82.198]) by mx.zohomail.com with SMTPS id 150903674872773.84568259295543; Thu, 26 Oct 2017 09:52:28 -0700 (PDT) In-reply-to: <87k1zimhmt.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC X-ZohoMailClient: External X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8864 Archived-At: Hi again, I tried building this on my workstation with 32GB RAM and the bootstrap compilation got killed after consuming too much memory. --8<---------------cut here---------------start------------->8--- … Making all in bootstrap make[2]: Entering directory '/tmp/guix-build-guile-awesome-2.2.2.drv-0/guile-2.2.2/bootstrap' BOOTSTRAP GUILEC ice-9/eval.go wrote `ice-9/eval.go' BOOTSTRAP GUILEC ice-9/psyntax-pp.go BOOTSTRAP GUILEC language/cps/intmap.go BOOTSTRAP GUILEC language/cps/intset.go BOOTSTRAP GUILEC language/cps/utils.go BOOTSTRAP GUILEC ice-9/vlist.go BOOTSTRAP GUILEC srfi/srfi-1.go BOOTSTRAP GUILEC language/tree-il.go BOOTSTRAP GUILEC language/tree-il/analyze.go BOOTSTRAP GUILEC language/tree-il/compile-cps.go BOOTSTRAP GUILEC language/tree-il/canonicalize.go BOOTSTRAP GUILEC language/tree-il/debug.go BOOTSTRAP GUILEC language/tree-il/effects.go BOOTSTRAP GUILEC language/tree-il/fix-letrec.go BOOTSTRAP GUILEC language/tree-il/optimize.go BOOTSTRAP GUILEC language/tree-il/peval.go BOOTSTRAP GUILEC language/tree-il/primitives.go /gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-4.4.12/bin/bash: line 6: 30173 Killed GUILE_AUTO_COMPILE=0 ../meta/build-env guild compile --target="x86_64-unknown-linux-gnu" -O1 -L "/tmp/guix-build-guile-awesome-2.2.2.drv-0/guile-2.2.2/module" -L "/tmp/guix-build-guile-awesome-2.2.2.drv-0/guile-2.2.2/guile-readline" -o "ice-9/vlist.go" "../module/ice-9/vlist.scm" make[2]: *** [Makefile:1928: ice-9/vlist.go] Error 137 make[2]: *** Waiting for unfinished jobs.... … --8<---------------cut here---------------end--------------->8--- This is still with the same Guix package definition as before: --8<---------------cut here---------------start------------->8--- (define-public guile-2.2-awesome (package (inherit guile-2.2) (name "guile-awesome") (source (origin (inherit (package-source guile-2.2)) (patches (list "/home/rwurmus/0001-Remove-weak-tables-and-revert-to-weak-hash-tables.patch" "/home/rwurmus/0002-Keep-weak-hash-table-item-count-consistent.patch")))) (arguments (substitute-keyword-arguments (package-arguments guile-2.2) ((#:phases phases) `(modify-phases ,phases (add-before 'pre-configure 'bootstrap (lambda _ (zero? (system* "autoreconf" "-vif")))))))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) ("libtool" ,libtool) ("flex" ,flex) ("texinfo" ,texinfo) ("gettext" ,gettext-minimal) ,@(package-native-inputs guile-2.2))))) --8<---------------cut here---------------end--------------->8--- -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net