From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wNw5LrEL5WD4gwEAgWs5BA (envelope-from ) for ; Wed, 07 Jul 2021 04:04:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ePL8KbEL5WDiJQAAB5/wlQ (envelope-from ) for ; Wed, 07 Jul 2021 02:04:33 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C885917C26 for ; Wed, 7 Jul 2021 04:04:32 +0200 (CEST) Received: from localhost ([::1]:41606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0wvO-0001hJ-Gb for larch@yhetil.org; Tue, 06 Jul 2021 22:04:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0wuw-0001eW-Vc for bug-guix@gnu.org; Tue, 06 Jul 2021 22:04:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38916) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0wuw-0000Ja-ON for bug-guix@gnu.org; Tue, 06 Jul 2021 22:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m0wuw-0001XV-Gq for bug-guix@gnu.org; Tue, 06 Jul 2021 22:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49220: luajit doesn't support powerpc64le Resent-From: Chris Marusich Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 07 Jul 2021 02:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49220 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Efraim Flashner Received: via spool by 49220-submit@debbugs.gnu.org id=B49220.16256233885843 (code B ref 49220); Wed, 07 Jul 2021 02:04:02 +0000 Received: (at 49220) by debbugs.gnu.org; 7 Jul 2021 02:03:08 +0000 Received: from localhost ([127.0.0.1]:50462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0wu3-0001WB-KI for submit@debbugs.gnu.org; Tue, 06 Jul 2021 22:03:07 -0400 Received: from mail-pj1-f46.google.com ([209.85.216.46]:50908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0wu1-0001Vg-PN for 49220@debbugs.gnu.org; Tue, 06 Jul 2021 22:03:06 -0400 Received: by mail-pj1-f46.google.com with SMTP id ie21so636615pjb.0 for <49220@debbugs.gnu.org>; Tue, 06 Jul 2021 19:03:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=yfq/sq2f3Of3+8Si34c44rD2RrOms36vlxiD5fyx/Og=; b=n5COgyd069ZTB+ismSxEoxMvSf+ag2QyIqJDTnWs7G9JzEYgy2X3yBqKUB3qUdywpD hv66zSFd6NatHi5sHdQKGPQa44Xpl8EDnJrDt94Phfko08odghCArflboMNJu0AQt8oF B6g9+9aCy17JwLlnvITO2Udkob5NSJaaF2wTOTaaMPwtLGM4R9ONaG2ULRXOmGKi8oVZ Htas+lYKOhtPEz8XiIM7cGfGeJCLwS95K/MKGrwPi1h6qrK51scVxg3+C4Zrd/HK+b0c kO4ofFkBRaz0vyXG+RGmwTzDaVlzhyhRpP0McbWHa0OFE4nxx09A6QzQVwoTDvBfxOYc okNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=yfq/sq2f3Of3+8Si34c44rD2RrOms36vlxiD5fyx/Og=; b=CGBApN9ftvy7UsIBc7+x1k+TPIi+ihfX8/5gEn4hEBOHXeW2HpbNvh+HuXA7Ar5dLX Hv2aIpCJjaIfn4LHbYnsVtQ9Jz/N9r3S7RF2/6fZCyRnZeCxLNkjinv/pJTI8ocXvIAg layZmfs+UTStvFl47MVGavgMEFRIeO2UNHilwf6BE7ekjaqCpK1odj4o0XTr9l71uQfI z5snoLbwlopUCOCrWeMv5HA+naL5+xdJ4henRe5Z55k6X813a4IQOIO48+nRrPk62Qpc nMBbVBhhzaL8spZ09R57PXCopYJKCmCrD7ULESvJvAeJQHVgEjtIRp3djZXeHTSjnO2h KgQA== X-Gm-Message-State: AOAM530c8i1EOSOpb3mxZv5a0Zr48zOizyhfzRouFo3XQRf7lhdZ9+M/ glt6MXP4tr4cVxIS8quKW/gqPA2zhVFV4A== X-Google-Smtp-Source: ABdhPJymzZFn0U44Frl4dLa39Umm5N0npcue1cddf/F+taH0oMU+V3K8N6aT0naKuFCZIvo4HTUGZg== X-Received: by 2002:a17:902:b08e:b029:129:a9a8:6dbb with SMTP id p14-20020a170902b08eb0290129a9a86dbbmr5528207plr.21.1625623379413; Tue, 06 Jul 2021 19:02:59 -0700 (PDT) Received: from garuda-lan ([2601:601:9d01:3f90::9985]) by smtp.gmail.com with ESMTPSA id v14sm20479821pgo.89.2021.07.06.19.02.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jul 2021 19:02:58 -0700 (PDT) From: Chris Marusich References: <87pmwa4gzc.fsf@gmail.com> <87im224gii.fsf@gmail.com> Date: Tue, 06 Jul 2021 19:02:54 -0700 In-Reply-To: (Efraim Flashner's message of "Mon, 28 Jun 2021 09:13:07 +0300") Message-ID: <87im1mvq29.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 49220@debbugs.gnu.org, luajit@freelists.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625623473; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=yfq/sq2f3Of3+8Si34c44rD2RrOms36vlxiD5fyx/Og=; b=Flr6Q13KMqb5L1lEYnqNdSEoIYxmkj40QZOo0WazS3lfAGAzWUwIf4hxkFZulw26sPMuJR 2CscEZWE/yFLFI/Ld4kv12mQAVDmrNmropH8aO0eorXDUoLp+oN6hukWadZmUHAFnU3QWZ TxIQrJvFGP6CZnrkEnEZj10KOkOCFmh65iD5x/sGx9utphCKZPavAtkTCwSgv0e10HUsC7 DjKQsFXdTred1RT5WTottXjKtyifymOIdW6hUNLKF+VaWYA4RZ79P4TaTGyNfFb1Gda+iI 9FluL8MWee3C8wJXMOj852evTJ5Ll7L2Cql+hh6F578rmdB1foyJMQLq+2FPKQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625623473; a=rsa-sha256; cv=none; b=dDiD15AhxRuP3ovcL0SGI4m09eFBb869dqoicDJ88YBn+PyTnUpkU51P/3naHyQWKk0n0P vmTNRD69E28pOgH26Uums7N0HTlE41LDk94Yt5h2HGywK1R7ijveMHc2GuttCUWAyA8B6l tJgIcU5wepRiq3/fTDUl/YbyAXDxb2Ec7QLgDtOWGEr3HLg9hUHPAfdouhrprnPgIV1D6K mJb3kEe0bHlSYhKSUuEC2808EbYUjU66C2aSEzpFAvg3eE+uRqFgVxu5q1x0OoYVyxTDou DOilDof6iV9uQVlKjihc0uP+kyHvXQRYNPXmYLvnL1+TisHL1PlMt4EjAjsWWw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=n5COgyd0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=n5COgyd0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: C885917C26 X-Spam-Score: -3.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: QSD8OYAsURtU --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Efraim Flashner writes: > On Thu, Jun 24, 2021 at 11:15:01PM -0700, Chris Marusich wrote: >> Hi LuaJIT community, >>=20 >> Is anyone in the LuaJIT community actively working on adding support for >> the powerpc64le architecture? Specifically, I am wondering about the >> powerpc64le-linux-gnu triplet, running on POWER9-based systems like the >> Talos II and Blackbird sold by Raptor Computing Systems. >>=20 >> I ask because LuaJIT has been packaged for Guix, but it currently fails >> to build on this platform, as explained in the following Guix bug >> report: >>=20 >> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D49220 >>=20 >> Based on the error output, it seems that this platform just isn't >> supported yet: >>=20 > > I have successfully built luajit on our ppc64le porter box using the > patch Debian uses to add powerpc64 support. I have tested it on my > 32-bit powerpc machine and adding the patch breaks luajit for it, but I > think we can work something out. > > =C2=B9 https://sources.debian.org/src/luajit/2.1.0%7Ebeta3+dfsg-6/debian/= patches/0004-Add-ppc64-support-based-on-koriakin-GitHub-patchset.patch/ Thank you for sharing that. I see that it came from this GitHub pull request: "Enable !LJ_GC64 interpreter on PPC64." https://github.com/LuaJIT/LuaJIT/pull/140 I wonder if the LuaJIT maintainers are aware of that pull request? It looks like the pull request has been open for about 5 years, and it hasn't been merged. Unless the situation changes, this probably means that if we choose to use this patch in Guix, we (and the Debian folks, I guess) will be responsible for maintaining it and dealing with any bugs. Personally, I'm not interested in doing that right now, mainly because LuaJIT doesn't seem like a necessary dependency. The only reason this caught my attention is because Guix's texlive-latex-base package failed to build on powerpc64le-linux. It failed to build because the luajithbtex engine is missing on powerpc64le-linux. It's missing because LuaJIT doesn't support the platform. Issues like that can be worked around by just using the non-JIT version of Lua (the "luahbtex" engine in this case). That's good enough for me. Of course, if someone else wants to step up and maintain a port for powerpc64le platforms (ideally upstream in collaboration with the current LuaJIT maintainer(s)), that would be great. But it takes time and effort, and I'm happy enough to just use normal Lua for now. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAmDlC04VHGNtbWFydXNp Y2hAZ21haWwuY29tAAoJEN1AmhXYIkadRHYQAIAQD24ePu3u7fWDEZCQPNAgOu3q 63Xa1ysxwMHYJpDLYlDKSvtESfYN/K/JM315zy1Tj9bmHXGwgcxCtaBVnw0AtTZv pm2MNh3ZqFgFN7R29Fp5a7nzczeoMRRzbxMqnfes7JB7teCgIg1ml2M24+F/dmDf qKbui8uDdDIdx1mHotXnChoiCjQ8RABWw6Cg/bgedsZ7nj5uRXoZRmVP4t6/2wGd YOOkNXF6SoKEWpEjUpd05YH9P6Qg07mJL/gvDKq4y7Dk3MgMQumcffSDgLqAh2Hm bGW14qrRGTIYgtPCN/zRMuoqxtkBBRGIyPcH6LLUbPjcv5OuzMvaBIm2lDZ9miKh opqPz+qfedQ9JaRGav9CPPVnTV/VkZH2ViHSiBUIzlNOJJoP1k3vD7+tP4/gKPyc XHxDcMkYYArtOQuVlA1wc84ccC+J0RwMye9ig8oWwEc1/elLaE7+duQOyX929kYK ka7RUj4WsL5RuKI/YjLW8h7nfvZhYs/jrZJnScI3qhQxkbYs3rT1d3NuMAHvPOfP nCLq21RL0EAre0qRIZfsF7lIX4KjCo6H0rVk2c4090cA08tm63JA+5aOk75OkKsi mm9WV7hBaqC5abvfZgErX5dUTpp06DqoJ1vRXVLfsvLvQsGlUR3RTUQfHJZ4v5Iy BKvVcCUnxoOJbTjT =kn3F -----END PGP SIGNATURE----- --=-=-=--