From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MKhROrP562ICpQAAbAwnHQ (envelope-from ) for ; Thu, 04 Aug 2022 18:54:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yHMlOrP562IUwwAAauVa8A (envelope-from ) for ; Thu, 04 Aug 2022 18:54:11 +0200 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 909E7F821 for ; Thu, 4 Aug 2022 18:54:11 +0200 (CEST) Received: from localhost ([::1]:50478 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJe6s-0007ff-NI for larch@yhetil.org; Thu, 04 Aug 2022 12:54:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJe6m-0007dQ-GC for bug-guix@gnu.org; Thu, 04 Aug 2022 12:54:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36559) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJe6k-0004S6-Lc for bug-guix@gnu.org; Thu, 04 Aug 2022 12:54:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJe6k-0003iY-Hl for bug-guix@gnu.org; Thu, 04 Aug 2022 12:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55657: libgccjit is unusable Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 04 Aug 2022 16:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55657 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Andrew Whatson Cc: John Kehayias , Tobias Geerinckx-Rice , "remco@remworks.net" , "55657@debbugs.gnu.org" <55657@debbugs.gnu.org> Received: via spool by 55657-submit@debbugs.gnu.org id=B55657.165963198514222 (code B ref 55657); Thu, 04 Aug 2022 16:54:02 +0000 Received: (at 55657) by debbugs.gnu.org; 4 Aug 2022 16:53:05 +0000 Received: from localhost ([127.0.0.1]:54541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJe5o-0003hK-Ox for submit@debbugs.gnu.org; Thu, 04 Aug 2022 12:53:05 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:40904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJe5j-0003gk-4C for 55657@debbugs.gnu.org; Thu, 04 Aug 2022 12:53:03 -0400 Received: by mail-ed1-f67.google.com with SMTP id f22so388847edc.7 for <55657@debbugs.gnu.org>; Thu, 04 Aug 2022 09:52:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=SmVjLJt3XdrpDXF37rWRctE+O6yf8OxgHFZlsuu9DzU=; b=dcILN8zW5N21rOLXQRBsE2LRO1Ej1KdBQzBJL5IIZ2pOUMDMyI+PgMIAw3mnn5ePTb 4R4l2r/+dh2c0Ho1ailTvs6xI4sXIQ2cxRbWgGsjBPrxLmFHldigpp8SJFeGiTtGhBBM PDvloRExu6dElLaJ2u+d2J1cZKtQhpzYZGWQUza8n9oxb2rYUIXtx7eb87D3EMKEnA74 DJVvIwas2ivn2dTz1tXo9jv7tfazqO360k45aDgtkiEGyApNiodF0ALigo4uW5LQ1Xii x3fNTSrgmuEaFC8iYRPGjnYPtEpbNxkTroTLZfj6UtTorFaCmWfLIBSfMBLpMTpG0fcM e6ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=SmVjLJt3XdrpDXF37rWRctE+O6yf8OxgHFZlsuu9DzU=; b=fjPCxcqbqZ3SQiFKXmhgVvdGQURHY7qL0N3jW/VE9qLrzWADoPvKU1wG7FrMgzo0kO 2/JiI1q6GVCAl/GPFx7HfzxSMKJkRnWXm8VBzzkYE8+yaoFtyrsjreeGPouj2oD1Pm0+ eScC4LHI/5Zleqxlzkfcpw+GvlnU8A8IkT7xDua07kxLcD+zyHZc5hMgierJJt+A6whA +fZilTfQ8u6iulRUCCF/PNekes5Q1w+7dxzbgtUA60rC1I3fVVQyTHxpXaFTOn4Vz8un NPrxglJIySVmN0zq5mhaC0yuHyROwfqwmTcnyHC8Fi5Rr+LYxNwtUebImo7F6zOtidTu sO8Q== X-Gm-Message-State: ACgBeo1B3HYpWb7fD5zsQHjZ7pJ/myso77iR4FNtYqK24s8wU6uLprQ5 jm7yQelotkwPiIpb0KJAVas= X-Google-Smtp-Source: AA6agR70svSUgwRFqDO1mt49gEYNACiFcO4J6kzSASfZ10xBU8D+DktsSc1qlr27/agdsEMCQyUOwg== X-Received: by 2002:aa7:dbca:0:b0:43e:6707:d298 with SMTP id v10-20020aa7dbca000000b0043e6707d298mr2949267edt.133.1659631973142; Thu, 04 Aug 2022 09:52:53 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id z7-20020a50cd07000000b0043bea0a48d0sm905061edi.22.2022.08.04.09.52.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Aug 2022 09:52:52 -0700 (PDT) Message-ID: From: Liliana Marie Prikler Date: Thu, 04 Aug 2022 18:52:51 +0200 In-Reply-To: References: <-WzfXRgBunfV6CTG4v5TA24Vk7Vty4mGqGpQdTTU2OkJpt-i1gM2iOOEDl9ODBZd1xuARNui4gnp1gZfkPtmHwlSwMmdagPc2fEXJyCWRJI=@protonmail.com> <67ca146d031c320b484979c6aa5a89b9c9b8472d.camel@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659632051; 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: content-transfer-encoding:content-transfer-encoding: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=SmVjLJt3XdrpDXF37rWRctE+O6yf8OxgHFZlsuu9DzU=; b=GXPMsbRpByx1ByQINhUDbIshsDuX37MBWsLRkKoPEVFeomBQyFfGoD1j/lAX9L8RxbkrO5 vYCnpNUIiNU8o29N7oFQ5Xv2PtfuDLYPd29IAtJ9TVOtcmd2rCRVEdpSYc8UW6rAd9KiZE LECyi7jfE8EPmjpDBVakD1dfAwXsLnF7BlsS7shD4ipa2OKPnwzyOoIkpbg6OoA9spmMuO qUPVbYg6/OVp8XUknd6WSL5xhZIfVIikD+0AcSlwiLnQo6zfiIuzMSPUM9xavxCCVL4IS3 8eMe6aKS1kqNtwaECeM0m8FBmbp7Ac37jgjRkEm0kEvJaNZP7Hd12jzfMK42Qw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659632051; a=rsa-sha256; cv=none; b=qQ2IuOtUug5htVO4qJLzyQqEz1j8oqHycHnjIPyBfEy+MrHpDBW8CTHQkKZVNRasXFuJYW TgBt3WnbpKbU5XC1tCFVxOod/hF9VoIcYWNzD6+feTVEp2G/iAb0Y9ikMptZ+q0Z5jd7XM AJnukfWUEbVDaYd534FIECnAHNhkWJPDuQRkLMTNQ4vH0L3BK0BZ0UNXTdmtVO1j1HT02n 24TwOs01vit6pIyDoSxZxUH23EOyg1WqgA0beGOW83ndLWN5z/DWQjTGLu1QJSMraesn0n EK5aEMYc+u6znSJ8Lsbr0fBWtsyrHtHDx8bk/73UDxbmC4kHk+d+mw3wHii4kg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=dcILN8zW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=dcILN8zW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 909E7F821 X-Spam-Score: 5.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6Hy4kpa6eCSA Am Donnerstag, dem 04.08.2022 um 04:48 +0000 schrieb Andrew Whatson: > Hi John, Liliana, > > Sorry I haven't jumped in before now, I appreciate your efforts to > bring emacs native-comp to guix! > > On Thu, 4 Aug 2022 at 04:26, Liliana Marie Prikler > wrote: > > > > while this does help insofar as I now know which snippet I forgot > > to > > copy, I do still think that this leaves us with two unreasonable > > options if we want to use emacs to compile other packages: > > > > 1. Propagate gcc-toolchain from emacs. > > 2. Patch LIBRARY_PATH not just before configuration, but also via a > > wrapper. > > > > At the very least I don't see how Emacs would be able to compile > > other > > packages to native code without either of the above. > > > > WDYT? > > The solution used in the package-definition in my channel is to patch > `comp.el` to directly reference the necessary gcc/glibc paths instead > of relying on the environment.  This occurs in the > "patch-driver-options" step immediately after the "set-libgccjit- > path" step mentioned earlier.  This makes gcc-toolchain part of emacs > closure, without requiring it to be propagated into the profile. > > If I understand the problem correctly, that should suffice? But if I read your recipe correctly, you're not resolving %host-type in those options. Does that really suffice?