From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.devel Subject: Re: Guile 64-bit Windows support, redux Date: Thu, 22 Jun 2023 13:36:16 +0000 (UTC) Message-ID: <1387320211.1933709.1687440976094@mail.yahoo.com> References: <1629803116.370682.1686084646758.ref@mail.yahoo.com> <1629803116.370682.1686084646758@mail.yahoo.com> <931231153.950814.1686257160813@mail.yahoo.com> 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="16150"; mail-complaints-to="usenet@ciao.gmane.io" To: "guile-devel@gnu.org" , Maxime Devos Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Thu Jun 22 15:40:06 2023 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 1qCKXe-00041W-36 for guile-devel@m.gmane-mx.org; Thu, 22 Jun 2023 15:40:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCKXH-0000vg-Lj; Thu, 22 Jun 2023 09:39:43 -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 1qCKXD-0000pu-F3 for guile-devel@gnu.org; Thu, 22 Jun 2023 09:39:40 -0400 Original-Received: from sonic319-28.consmr.mail.bf2.yahoo.com ([74.6.131.83]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qCKXA-0002w7-CB for guile-devel@gnu.org; Thu, 22 Jun 2023 09:39:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687441172; bh=HFsKG1JRKMbQHYUDkfg3y1GYZazpoC3z1KiExfXKzlY=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject:Reply-To; b=b8wzvJwj34u0NWqOfXbv0qZNleTg6EbRVCmCneiEfB+AM6Z6m/leoHeaMI/kZkxxgBAVaDhflUNcpQHJJghNWBRWIvI+PZ9RFEzqTeLg+oW+f85FcZJUMwy/zTI+TW+w9WL+e+y7wy1Jqu4lbgJNj2mBGYZFwOd24gictwMEG1vzOfCLdX3TtGzr1iw9AM7jUKvQM/1F4mXiTp0GMh2Kpg2IrPg0ScmnPrkNTLDxHMaYBq1HfB0DJEmrNs/Hk7/VAufsXlDAKBauVZgBp6KCZthRRJBELB3EIK4LPipUbjEqFmsQF17Lkr4H6t8zEOOXvFBB/8zXq7s8HLuU2NzIiA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687441172; bh=UIMJNoAbs+StZk2ZyOwo08DYlq1nKZpN6lMjdE3206x=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=AJGerngHJR63kIlRC0mrsOIuGVs+emEFU6p0T6xMkwWA+EnErDWkhrlTe/GKNnkKUVaSa9HDefw7+6IHKCirlq+InWlfBdlo/EiC+lGDDVS8Edzj2tEft3bOXeuI1lDuLFmDK+kNsHG4uYBd9Ac+fwYSMMwjzb8eX7spUxOaJTEddlLK7DHvk+hg/hzdETuy/3ZCI9p3ZzIfN8mAyZKl7LcCIKEt/spEqM+iiuIaRkgvBoyeCsf94UmLrAqbH/HMpTKgHdnKIhJo3CjuPNEquNoN1INYvUebSmu2kytj98ilZLiE9qy3n/gpxMJwbt+G3mMHhz7wHZZoR7LKxCEBmg== X-YMail-OSG: SqqcxqIVM1lkS4CLuL8jt8jTwtw6ew1A4oHhHdKRDXKUV1xu7T.fYWO4JHJwYA2 2fyc4uA55LD1tIvJQNkh4YHgJdHOKZPBjsMGy1uQNmHnVkRPR13U2tQON00aJSKYNLX7K9XsjgsT XuX96wF4R6ZnGJ_n9QUueIKKz_DVmZv0ozh0l3vZG_vUroooNCf.EKK1S3e3p8A.502rbpa5Dfjw avTWnaWj9tFwhzgvA.zoQf_uj_85UsRSYeA9_d3KOERzD5TWSAhsKfzrOjuUptgrdcANExvWqmoO eb58Q4n26lNJt47HvAfaMqa_AFlEuEzfk72xJN8jEcacAvjvOxFxBwx_g9cVpFuZoYEmdpFv4d9q JtKoQjz1kXacQNYf6Cijag.3P9TskjempU0nN._05rIsdOYVyJpqJqDCVxyqUHt510LCX5Hyc_rD r4buOi0vk5XJ_JE9yG_hZv8ixOG1WiXR1QfCIEEcF03D616EOcobpr10nDzXNEBfAX7qKjpSg2fo G0pZjuX3xjVUzHv8SwpgF5AjVKg9LZvSM3OqfT7NYwH0sD_8fCRul3NYxr2JnPdWtF8YT1..y8Jc gbQYLLUp5vSgOrPq_8NV9lIGhUxerwMr38S4zqHB0KZY.4DxkxBodCOno.XwSuPhqte5thSRCX3A DNtLzI1rk7vsQCdodlS3K4kaPCxD966bE4vZB0aB0zyrj.ttJq_O8AuqqUHIGWXVnFzw_6QanQRG DkbD_xvI1YXbnZO9ojffHXhF4Ul4nPeE9fag.eSxVHS7IuWcP2bgAjYGvdwzIa9bbfDf46DWLhBc 9t55F.JPcbGkYqLAaRlrqt9v6mZ.PfxD8crBz1RkgI X-Sonic-MF: X-Sonic-ID: a8df0a5b-6b38-41f7-9f69-d93155343a73 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic319.consmr.mail.bf2.yahoo.com with HTTP; Thu, 22 Jun 2023 13:39:32 +0000 In-Reply-To: X-Mailer: WebService/1.1.21557 YMailNorrin Received-SPF: pass client-ip=74.6.131.83; envelope-from=spk121@yahoo.com; helo=sonic319-28.consmr.mail.bf2.yahoo.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, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, 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:21875 Archived-At: Hey Guile- So I'm still plugging away at this Guile on Windows stuff. In a tree on Github [1], I started from the top and cleaned up the 64-bit Cygwin and MSYS problems.=C2=A0 Cygwin and MSYS are two related projects where you compile with GCC, with the newlib C library, and a link to a library that provides all of POSIX.=C2=A0 The POSIX emulation is good, so cleaning up support here is not hard. >From there I've spent a couple of weeks stuck on the 32-bit MINGW32 build.=C2=A0 MINGW32 is where you compile using GCC but with the Microsoft C library MSVCRT.=C2=A0 For a long time now, Guile kind of worked on 32-bit MinGW, but without threads and without JIT.=C2=A0 Getting JIT to work ended up being easy, but the threads part has been tough. Guile's use of BDW GC is complicated.=C2=A0 It is not the "just replace malloc with GC_MALLOC" described in the BDW GC docs. I'm stuck on a bug where somehow garbage ends up getting passed to the SMOB mark function by the GC, and then SMOB mark function calls abort(). Anyway, I'm down in it. Custom debug versions of libgc and printfs everywhere.=C2=A0 But if garbage getting passed to the smob mark function is a known issue that someone has already solved, please let me know. I haven't pushed anything back to the main Guile git repo=C2=A0 savannah yet, because I don't want y'all to see me flailing around. Regards, Mike [1] github.com/spk121/guile=C2=A0 =C2=A0'staging' branch