From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 6PTZJZ1K62JPEAEAbAwnHQ (envelope-from ) for ; Thu, 04 Aug 2022 06:27:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YFwEJp1K62KJSwEA9RJhRA (envelope-from ) for ; Thu, 04 Aug 2022 06:27:09 +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 2F0D036D9C for ; Thu, 4 Aug 2022 06:27:09 +0200 (CEST) Received: from localhost ([::1]:37000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJSRw-00015n-4I for larch@yhetil.org; Thu, 04 Aug 2022 00:27:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJSRq-00015Y-V9 for bug-guix@gnu.org; Thu, 04 Aug 2022 00:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60993) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJSRq-0002v7-MS for bug-guix@gnu.org; Thu, 04 Aug 2022 00:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJSRq-0002mk-ID for bug-guix@gnu.org; Thu, 04 Aug 2022 00:27: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 04:27: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: John Kehayias Cc: Andrew Whatson , 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.165958721710692 (code B ref 55657); Thu, 04 Aug 2022 04:27:02 +0000 Received: (at 55657) by debbugs.gnu.org; 4 Aug 2022 04:26:57 +0000 Received: from localhost ([127.0.0.1]:50742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJSRl-0002mM-81 for submit@debbugs.gnu.org; Thu, 04 Aug 2022 00:26:57 -0400 Received: from mail-ej1-f67.google.com ([209.85.218.67]:34544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJSRh-0002m6-VP for 55657@debbugs.gnu.org; Thu, 04 Aug 2022 00:26:56 -0400 Received: by mail-ej1-f67.google.com with SMTP id tl27so16925756ejc.1 for <55657@debbugs.gnu.org>; Wed, 03 Aug 2022 21:26:53 -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=cCurP3zyWDdG4f++xsiV7Kk/qOt/wvIym2b8/H5dvGI=; b=eEAEvIaRrKcASkr4TGMWCZkUPasxZZIfOMLqBjv9y/mHJRSB2LFTqDKxaWSxRcHVUn cdt3z1QBcXAquBktmYnQ09FuirGvbvGQNIa26VVcnIiLOiA6KPm/Z2VOGwo9v+wtQWa9 N2DtMOq8A5EBz9c4HeT2zL2lKGeNL43slQWbI1d1NMETuhm5Xqu1L7MtsFrln92SDQlf SkQXKZHOZ1JT8P4CpAs4A3x5Iyru7A/nYOzoR6mRbKkFzcztaFk8tVkCmfKCQSALO/1F ChayVeQBjb9p88IkNSw3xV2Qk/IBCtWVEZeJEbR9RO50YInWrWAeiiUoXhCMpAgl/LWr KVIg== 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=cCurP3zyWDdG4f++xsiV7Kk/qOt/wvIym2b8/H5dvGI=; b=U+coe4Lq2oZ730/afUM0t+vDkT5/Ffv8EUha+R/2/U3RBnnKYo66ISHo350LRpBVOv rkvuxjYFZ8vmVCDimDErJU++H2tCX48xfcRoPxN0dI0F8/C5Gm9Vh6tfTqG0cwB2Ia3F iR34HWHjJ0T1XZUoqdef/JLUHpLfrpR2McMuAjOHXY7UjfQMoKLKfqnZm8naArXD96Wc xXuR/tS8MDBhNI545WQtknONJl0GMppL2h5kFsvlTf4vTEgDZxuRwXw6ePRuoOvfVnQa /9D4vo2k3JKE4Vdrq7OICWnErpwOyYgW/1QbhdyJEUUthh9E+1RCi0kHm1xqMCSor9LI uuNQ== X-Gm-Message-State: ACgBeo0qVVmuOlTYLXecM9LUM1TAj00805FRElEnSHzvNluwd/FepwoL BAqZ7lhI5+RRIz9V5thTZos= X-Google-Smtp-Source: AA6agR4lxXSpSfTjj76LDOSVYXajm8Tse0UpEYio67WIkrEyX38xoltZYy2jgTvfoS1Meb6kpB5ltw== X-Received: by 2002:a17:907:2ccb:b0:730:aaca:fc10 with SMTP id hg11-20020a1709072ccb00b00730aacafc10mr6239940ejc.153.1659587207974; Wed, 03 Aug 2022 21:26:47 -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 kw19-20020a170907771300b007121361d54asm8012078ejc.25.2022.08.03.21.26.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Aug 2022 21:26:47 -0700 (PDT) Message-ID: From: Liliana Marie Prikler Date: Thu, 04 Aug 2022 06:26:46 +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: 7bit 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=1659587229; 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=cCurP3zyWDdG4f++xsiV7Kk/qOt/wvIym2b8/H5dvGI=; b=U7k/pR4PuIznhep1g+AvDbdoRHJEXhgQUFddxu6mkna5WCpSKRUhHiHzU0GNavAzBk1nT6 KUGqPcZW2CyfpIcbGAbGl5nOF6L/2aLSEBONluSyyW8BY+c+bxYsUfpBuzC4wQ0XQqj34v T6sHrVd+OyDb7b9+PmYKd4cN9EHrXYCuHUmVbyc27OjjLgLy4egCX0w5F60gu2lOhfaJwj Nzb0wgCP+mIZXbHxvTh8A+TagWlve0D803I0R4cNEOrppgiBU4PyJ4ptLeyAmtjKJGAdYI nhlroT/9x60L3wOkSpTOuzjWc+/Yeax9GXk+OgZledol/UUttQto7GvnoiTfNQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659587229; a=rsa-sha256; cv=none; b=dymron22y6JbPl3pSLyj1RXOnnf+qLUvSuHCv2tYzyD4gt7EgDQqkbscpc3HSkv7FbmCfc Auk4gtqlQbboYs4l0LFfjwOEf7R9Qc0eNUdvHAQzntQF0fYO1qTjbuZK+DdOaDyteoEUkA L7m+mzFIs09Bu7yfz0LxBOY8h0ACHEHIoizRDwIS5KCjG16PnL3jlwb5O69s5vOho2Qba/ f6QQ1SAfP5Uc1dOwIqGn8cOd9rhU8YfFID/D0KvSFHGUBhU/ds/rMR5VmNFqdxUQvwedvj QCAtHzqZJz81pkOD9s2AoqHZzJOknPBvq2YhHNVeAIAsTFoZSfXp5OPxGVsiHQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=eEAEvIaR; 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: 7.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=eEAEvIaR; 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: 2F0D036D9C X-Spam-Score: 7.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: THG7guG+yjON Hi John, Am Mittwoch, dem 03.08.2022 um 21:13 +0000 schrieb John Kehayias: > I didn't dive into the details and I'm not expert here, but it gave > me the clues to work around it. Seems that where gccjit looks for > things has some assumptions (bugs?) which we can fix at runtime with: > > LIBRARY_PATH=$GUIX_ENVIRONMENT/lib/gcc/x86_64-unknown-linux- > gnu/11.3.0:$LIBRARY_PATH ./gccjittest > > The errors reported before were solved with this LIBRARY_PATH > addition of the lib/gcc subdirectory. So, the test program runs in > > guix shell gcc-toolchain@11 libgccjit@11 --pure > > where I compiled to gccjittest following the tutorial directions (no > change to LIBRARY_PATH). 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?