From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#19180: Weak tables harmful to GC? Date: Thu, 26 Oct 2017 10:17:15 -0700 Message-ID: <87o9othlr8.fsf__25131.0694883161$1509038298$gmane$org@gnu.org> 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: quoted-printable X-Trace: blaine.gmane.org 1509038298 1678 195.159.176.226 (26 Oct 2017 17:18:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 26 Oct 2017 17:18:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cc: Andy Wingo , 19180@debbugs.gnu.org, guile-devel@gnu.org To: Ricardo Wurmus Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Oct 26 19:18:13 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 1e7lnF-0007zi-BF for guile-bugs@m.gmane.org; Thu, 26 Oct 2017 19:18:09 +0200 Original-Received: from localhost ([::1]:53951 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7lnM-0003AK-OL for guile-bugs@m.gmane.org; Thu, 26 Oct 2017 13:18:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7lnE-0003A3-AS for bug-guile@gnu.org; Thu, 26 Oct 2017 13:18:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7ln8-0003ay-Jp for bug-guile@gnu.org; Thu, 26 Oct 2017 13:18:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54928) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e7ln8-0003al-H1 for bug-guile@gnu.org; Thu, 26 Oct 2017 13:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e7ln8-0001oq-0L for bug-guile@gnu.org; Thu, 26 Oct 2017 13:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 26 Oct 2017 17:18:01 +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.15090382436938 (code B ref 19180); Thu, 26 Oct 2017 17:18:01 +0000 Original-Received: (at 19180) by debbugs.gnu.org; 26 Oct 2017 17:17:23 +0000 Original-Received: from localhost ([127.0.0.1]:35376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7lmU-0001nq-Kc for submit@debbugs.gnu.org; Thu, 26 Oct 2017 13:17:23 -0400 Original-Received: from hera.aquilenet.fr ([141.255.128.1]:52466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7lmS-0001nh-A1 for 19180@debbugs.gnu.org; Thu, 26 Oct 2017 13:17:20 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 209DBF4F0; Thu, 26 Oct 2017 19:17:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Original-Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1cxMUvepHckR; Thu, 26 Oct 2017 19:17:20 +0200 (CEST) Original-Received: from ribbon (node-1w7jr9qot7winqrne9k8b99d1.ipv6.telus.net [IPv6:2001:569:7803:2c00:728:f466:18ad:22a5]) by hera.aquilenet.fr (Postfix) with ESMTPSA id CEA988B30; Thu, 26 Oct 2017 19:17:18 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 5 Brumaire an 226 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu In-Reply-To: <87k1zimhmt.fsf@elephly.net> (Ricardo Wurmus's message of "Thu, 26 Oct 2017 10:35:06 +0200") 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:8865 Archived-At: Hi Ricardo, Ricardo Wurmus skribis: > I tried building Guile with the following Guix package definition: > > (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-t= o-weak-hash-tables.patch" > "/home/rwurmus/0002-Keep-weak-hash-table-item-count= -consistent.patch")))) [...] > BOOTSTRAP GUILEC system/foreign.go > GC Warning: Repeated allocation of very large block (appr. size 230096896= ): > May lead to memory leak and poor performance > GC Warning: Repeated allocation of very large block (appr. size 230096896= ): > May lead to memory leak and poor performance > GC Warning: Repeated allocation of very large block (appr. size 230096896= ): > May lead to memory leak and poor performance > GC Warning: Repeated allocation of very large block (appr. size 230096896= ): > May lead to memory leak and poor performance > GC Warning: Repeated allocation of very large block (appr. size 230096896= ): > May lead to memory leak and poor performance > GC Warning: Repeated allocation of very large block (appr. size 230096896= ): > May lead to memory leak and poor performance > GC Warning: Repeated allocation of very large block (appr. size 230096896= ): > May lead to memory leak and poor performance > Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS > /gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-4.4.12/bin/bash:= line 6: 30796 Aborted GUILE_AUTO_COMPILE=3D0 ../meta/build= -env guild compile --target=3D"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-gui= le-awesome-2.2.2.drv-0/guile-2.2.2/guile-readline" -o "language/scheme/comp= ile-tree-il.go" "../module/language/scheme/compile-tree-il.scm" > make[2]: *** [Makefile:1928: language/scheme/compile-tree-il.go] Error 134 Blech, that doesn=E2=80=99t sound like an improvement. =E2=80=9Cmake clean -C module && make=E2=80=9D works for me, but now that I= think of it it might be reusing stuff from the prebuilt/ directory. I=E2=80=99ll try again later. Thanks for testing, Ludo=E2=80=99.