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#20272: Support reproducible builds Date: Sun, 05 Mar 2017 21:49:58 +0100 Message-ID: <8737er5tzd.fsf@gnu.org> References: <87bmxxnjd7.fsf@gnu.org> <87shqtwxcb.fsf@gnu.org> <87twa6iikd.fsf@gnu.org> <87vaumgk80.fsf@gnu.org> <87mvfygjs1.fsf@gnu.org> <87eg12fbog.fsf@gnu.org> <871sx0vnyn.fsf@gnu.org> <87efyio399.fsf@pobox.com> 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 1488747073 12689 195.159.176.226 (5 Mar 2017 20:51:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 5 Mar 2017 20:51:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 20272@debbugs.gnu.org, Jan Nieuwenhuizen To: Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Mar 05 21:51:09 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 1ckd7U-0002mD-1f for guile-bugs@m.gmane.org; Sun, 05 Mar 2017 21:51:08 +0100 Original-Received: from localhost ([::1]:40330 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckd7a-0002Iq-02 for guile-bugs@m.gmane.org; Sun, 05 Mar 2017 15:51:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckd7R-0002IZ-KM for bug-guile@gnu.org; Sun, 05 Mar 2017 15:51:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ckd7O-0000rG-At for bug-guile@gnu.org; Sun, 05 Mar 2017 15:51:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43171) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ckd7O-0000qm-0T for bug-guile@gnu.org; Sun, 05 Mar 2017 15:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ckd7N-0007Hc-QW for bug-guile@gnu.org; Sun, 05 Mar 2017 15:51:01 -0500 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: Sun, 05 Mar 2017 20:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20272 X-GNU-PR-Package: guile X-GNU-PR-Keywords: patch Original-Received: via spool by 20272-submit@debbugs.gnu.org id=B20272.148874703527962 (code B ref 20272); Sun, 05 Mar 2017 20:51:01 +0000 Original-Received: (at 20272) by debbugs.gnu.org; 5 Mar 2017 20:50:35 +0000 Original-Received: from localhost ([127.0.0.1]:41370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ckd6x-0007Gw-9K for submit@debbugs.gnu.org; Sun, 05 Mar 2017 15:50:35 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48931) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ckd6u-0007Gj-Pu for 20272@debbugs.gnu.org; Sun, 05 Mar 2017 15:50:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ckd6l-0000MG-EG for 20272@debbugs.gnu.org; Sun, 05 Mar 2017 15:50:27 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35046) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckd6Q-00009f-Rf; Sun, 05 Mar 2017 15:50:02 -0500 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]:53488 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ckd6P-0001UJ-TC; Sun, 05 Mar 2017 15:50:02 -0500 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 =?UTF-8?Q?Vent=C3=B4se?= an 225 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-unknown-linux-gnu In-Reply-To: <87efyio399.fsf@pobox.com> (Andy Wingo's message of "Tue, 28 Feb 2017 14:26:26 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:8652 Archived-At: Hi! Andy Wingo skribis: > On Thu 22 Dec 2016 00:53, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> +(define (module-generate-unique-id! m) >> + (let ((i (module-next-unique-id m))) >> + (set-module-next-unique-id! m (+ i 1)) >> + i)) > > This introduces a race condition when expanding from multiple threads at > once. Any plan here? Good point! We could grab a per-module mutex for that, though that=E2=80= =99s again a fat mutex. Thoughts? Ludo=E2=80=99.