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: Wed, 20 Mar 2024 16:40:20 -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> 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="10584"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Mike Gran , "guile-devel@gnu.org" , =?UTF-8?Q?Ludovic_Court=C3=A8s?= , Andy Wingo To: Jonas Hahnfeld Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Wed Mar 20 21:40:50 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 1rn2jy-0002ar-As for guile-devel@m.gmane-mx.org; Wed, 20 Mar 2024 21:40:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rn2jk-0004dO-MD; Wed, 20 Mar 2024 16:40:36 -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 1rn2jh-0004d2-Ub for guile-devel@gnu.org; Wed, 20 Mar 2024 16:40:33 -0400 Original-Received: from mail-qt1-x82b.google.com ([2607:f8b0:4864:20::82b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rn2jg-0002Zp-3H for guile-devel@gnu.org; Wed, 20 Mar 2024 16:40:33 -0400 Original-Received: by mail-qt1-x82b.google.com with SMTP id d75a77b69052e-42f52226f9bso1322981cf.3 for ; Wed, 20 Mar 2024 13:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=worcester-edu.20230601.gappssmtp.com; s=20230601; t=1710967231; x=1711572031; 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=yPQik2fXwy+PcnFeyfSudNLh6OQ0e9r42JZqmAgUTJA=; b=nbgVYTNNN5jXDa7hhe9unUl4UwbgfIqvyDNJxJn2rB4P/dvhCCXUAhgKDiw7+mQcgW ORxbSqTP7Ap49isxKnYOeY8ik+Fft4qQkz1iJ1uEmKlRL65UDHhfSufQmxA5gYb/h/xS e6TnEIr76ZlJYJslOTKoww3Gg3cGlRN27goky9dSt3lKPiiZi6QqJtS1mCp7mbAOxz0i eTQwVnYAKQlb0KP3CwC9jkVvW2x+N0YD+TY576bOnHNh8G8oTZc/Uc4rjgb2JMAzzRKd MaQxMV9P++4TJZFfNZNF8V2kV/6enjIEwNndu1uekpeg/OpZa4Ed4CTuLecTjqNOfTVd 6/8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710967231; x=1711572031; 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=yPQik2fXwy+PcnFeyfSudNLh6OQ0e9r42JZqmAgUTJA=; b=n3ex3pqeLmHQ+hUD+W1sawWW8Ke1HDvNlAH1wyYtq1Y7oTs39vLycSze9akHdgpDFW JzE5DoRKzIA6OeJDnaxZLbAETL7QLZzN81wHYIW4avHhcepdlw8BHWIUKzAWJ98C1Z7B WbEBkNpKOPIoLXuNIl83LgBswLzqVbnWSVaL3awn9SYTj/ktzk/AgiRTotxb6pfdSMtb q1517rvlofs/LSOfviS4NC3vjcrR6ZtZZH1Dgt3I+8wfEUiN6eos2XnCHmUhsS2fVU3F 7292lxjLDjr8Q6lcituqV1vopbg95YegtNP5ul7DyC5peEqmC0ImbF8kpv1pYeRdLduw kGwg== X-Forwarded-Encrypted: i=1; AJvYcCVS+79f40aO2GPmkr/ZwAs3xfWuLszcnlbTZu7JsJ5mC8Vz4A7VD7FrVXIkm3EOpPmGb048sMgTnKSPdYD5eAZfdBgZ X-Gm-Message-State: AOJu0Yzz+4k5RRctVblm453oTyQnyVSJSLggOlR2WX2Vq+z6Nytd880w AF9DWIOC7y0HwhmO7Px+UpKn1uYq5IHgQE/9xsetgOSH8J4so8xuVq9zngejrXPM0XxwLqIyiNP d+uwmR8Js8+uiB5qS1HOO8QUgxIa5xbd4g+GTXQ== X-Google-Smtp-Source: AGHT+IGUY2IQC2VVlQ9S10zkDg7v2AnGPRolhTv/L3L/WZOjGRCoaYJTciFc8zZliquT+wfSdpcL67EsrTYfC6wiMRM= X-Received: by 2002:ac8:5d8c:0:b0:42e:80ca:34e3 with SMTP id d12-20020ac85d8c000000b0042e80ca34e3mr23088815qtx.66.1710967230855; Wed, 20 Mar 2024 13:40:30 -0700 (PDT) In-Reply-To: <757086cd106c93d7db755fdff9165a04c39f9e97.camel@hahnjo.de> Received-SPF: pass client-ip=2607:f8b0:4864:20::82b; envelope-from=dthompson2@worcester.edu; helo=mail-qt1-x82b.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, T_SCC_BODY_TEXT_LINE=-0.01 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:22358 Archived-At: On Wed, Mar 20, 2024 at 4:29=E2=80=AFPM Jonas Hahnfeld w= rote: > > 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. > Compilation just works --with-threads, as long as bdwgc was built with > --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? > For the one known issue I mentioned above, the fix is also not too > difficult, just being a bit more careful with mixing scm_t_inum and > long (see second patch). The patch makes sense to me! > I'm also explicitly CC'ing Andy and Ludo - we really need a statement > by a maintainer whether this can land. From my point of view, it's a > clear improvement in terms of supported platforms, plus tested by > LilyPond since some time now which is probably one of the bigger > "customers". +1 on hearing from Andy and/or Ludo about this. Jonas' patches are small and should be relatively quick to review. :) If this stuff lands I will have to find a Windows machine to try it out sometime. Thanks Jonas! - Dave