From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Thompson, David" Newsgroups: gmane.lisp.guile.devel Subject: Re: Guile 64-bit Windows support, redux Date: Fri, 29 Mar 2024 13:20:14 -0400 Message-ID: References: <1629803116.370682.1686084646758.ref@mail.yahoo.com> <1629803116.370682.1686084646758@mail.yahoo.com> <3f3c0be57479e0566ada30b0a012d9d6876281d5.camel@hahnjo.de> <51cc0f0cf30873208358c1254df47e30ca02348d.camel@hahnjo.de> <757086cd106c93d7db755fdff9165a04c39f9e97.camel@hahnjo.de> <4f3f523b444c6d38efc0f4ad0a142ab8a8c28600.camel@hahnjo.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33274"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "guile-devel@gnu.org" To: Jonas Hahnfeld Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Fri Mar 29 18:20:59 2024 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rqFuV-0008U3-EA for guile-devel@m.gmane-mx.org; Fri, 29 Mar 2024 18:20:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rqFu2-0002Ou-Gf; Fri, 29 Mar 2024 13:20:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rqFu0-0002Oi-MM for guile-devel@gnu.org; Fri, 29 Mar 2024 13:20:28 -0400 Original-Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rqFty-0003ei-Qc for guile-devel@gnu.org; Fri, 29 Mar 2024 13:20:28 -0400 Original-Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-432c947e92eso2718751cf.0 for ; Fri, 29 Mar 2024 10:20:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=worcester-edu.20230601.gappssmtp.com; s=20230601; t=1711732825; x=1712337625; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=wlKv2IdVe277/pOA/7XICaq0rnDlARwCp3K4KOWggOI=; b=2qFBxhJuBSWI6tj3Fl9hvUfjTz2eq8L0tS49dt1fh41qbF2/346G19I/Ry5rTEyhMD AIlQljZGaPHbk8NUm6/25Oe/qra1fWdmu2TH3uncqurcWv/p49Az+5BdP5idIZQu9NLQ K0GJx7uOkR4QE27mor5AkTZoMH8b8rKwfIxsBJ07RRZV1U3z9HH5AfvzO+pGuGFpZlPC gIaN5SxqIauUhpkUarsTvbFB8NrXGjK0quz9FhtY5Sfkj53/Ju9w0BJ+e+GiE/LLUWYt UhY4YskfQ/xmKrdqGg66OAcMwOU3GLHQJkGzK+pjLOjps8ZXZ68IiHVVK2CBD71hBEIZ Od9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711732825; x=1712337625; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wlKv2IdVe277/pOA/7XICaq0rnDlARwCp3K4KOWggOI=; b=IF7R5X1uAP8kCjD8Xtss7Jh+ZGV5YRUmkGzjJ8UiAqiiyzGX0w2GnsdskGRJGwqh9E E4HejwqxiMuUw9EQUb/wTPaCSHM0shn0PIgjsR67C9iQG3RG7ep2poLiepZvpBkbeoTX GvgRXIfMOV9Q4egWxBBVGX5+/bv3Xh+EDT9XwaX8nFROu+QxqdyNPZ80xqSOFkkK7qz0 nSGQgJYZWboxQ2XKy7zXIqcqi+l7T1qBBd+5UyXA0v1KX0oPGAYfemAHstI6w64leb5Z fWjjlNjVI9hYYSb7YWLnqn13Opx9hZVp4yR7RhkX813n17+aBm7JLMuER/yUntSRdfcf fvzQ== X-Gm-Message-State: AOJu0Yxjk6TJXnhZM3yAvWJm0YIkxWO5MlrjyhvSbhucKszWognM7oaX +sMa0durEt2rxQnYJK/HcfA8vhNKd2ojbhbqoy43R7GQ+5AJ4hCgFpdJQLH3K6X4ER3n3RvWXnE N671xUTiodEB4fO9SSqEbjap7HOLpKebD1Z59U8e5MrAkhqAT X-Google-Smtp-Source: AGHT+IH9XV+BdwbthiiOBk65/ZBODgscRnYj34hbtkNDwEdQ7XHyEa2jx6vnEO+MicCJoAKjhA4WqlMwvJsOOsGjb/Q= X-Received: by 2002:ac8:5906:0:b0:431:3b20:40c6 with SMTP id 6-20020ac85906000000b004313b2040c6mr8558816qty.2.1711732825419; Fri, 29 Mar 2024 10:20:25 -0700 (PDT) In-Reply-To: <4f3f523b444c6d38efc0f4ad0a142ab8a8c28600.camel@hahnjo.de> Received-SPF: pass client-ip=2607:f8b0:4864:20::834; envelope-from=dthompson2@worcester.edu; helo=mail-qt1-x834.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.devel:22378 Archived-At: On Sat, Mar 23, 2024 at 11:09=E2=80=AFAM Jonas Hahnfeld = wrote: > > On Wed, 2024-03-20 at 16:40 -0400, Thompson, David wrote: > > On Wed, Mar 20, 2024 at 4:29=E2=80=AFPM Jonas Hahnfeld wrote: > > > So I can confirm that JIT indeed doesn't work right now on 64-bit > > > MinGW, but it's relatively easy to fix (first patch). In essence > > > lightening was getting the calling convention wrong. > > > > Wow! Have you seen the JIT do its thing (via GUILE_JIT_LOG) or just > > verified that compilation succeeds when JIT is enabled? Either way, a > > big step forward. The patch is very simple, too. > > I had only verified that the produced LilyPond executable still worked, > but I can now confirm that setting GUILE_JIT_LOG shows that something > is happening. I don't have performance data on this yet, I asked the > community to test the version on larger inputs. > > > > Compilation just works --with-threads, as long as bdwgc was built wit= h > > > --enable-threads=3Dposix to override the automatic detection of win32 > > > threading. I haven't tested if it actually works, but there might be = a > > > good chance. > > > > This is also encouraging! Anyone out there want to run a test using > > call-with-new-thread? > > So for the fun, I tried compiling --with-threads again and (call-with- > new-thread) seems to return new threads. Your patches look *very very* promising, then! I'm excited. :) - Dave