From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6CCeEmgv72IvPAAAbAwnHQ (envelope-from ) for ; Sun, 07 Aug 2022 05:20:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id INCiEmgv72IsCAAA9RJhRA (envelope-from ) for ; Sun, 07 Aug 2022 05:20:08 +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 DCAD32DDD7 for ; Sun, 7 Aug 2022 05:20:07 +0200 (CEST) Received: from localhost ([::1]:33580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKWpi-0007Yg-Qc for larch@yhetil.org; Sat, 06 Aug 2022 23:20:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKWpe-0007YX-I3 for bug-guix@gnu.org; Sat, 06 Aug 2022 23:20:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46042) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKWpe-00088n-9Y for bug-guix@gnu.org; Sat, 06 Aug 2022 23:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKWpe-0000Nc-4B for bug-guix@gnu.org; Sat, 06 Aug 2022 23:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55657: libgccjit is unusable Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 07 Aug 2022 03:20: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: Liliana Marie Prikler 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.16598423721416 (code B ref 55657); Sun, 07 Aug 2022 03:20:02 +0000 Received: (at 55657) by debbugs.gnu.org; 7 Aug 2022 03:19:32 +0000 Received: from localhost ([127.0.0.1]:35791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKWp9-0000Mm-J1 for submit@debbugs.gnu.org; Sat, 06 Aug 2022 23:19:31 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:21773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKWp6-0000MW-T7 for 55657@debbugs.gnu.org; Sat, 06 Aug 2022 23:19:29 -0400 Date: Sun, 07 Aug 2022 03:19:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1659842361; x=1660101561; bh=z6SpmWjn59j9fJtZUOPASKgV3VOcXX4IzZiMOUqew3o=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=m0VAtu9SWxaCHehfD3voYcc0FBBxy/1Ijv+ZYACd3Lmhu7wKFQ5zfVaRY/Mw1/Jio 9MmFQyv0rn+qLuapHtE2j7H6jgoBvqVq7oiMRCF+P4VfF/fZ4wnXfKFGVqJRGE2Yp4 htUER08VA+Xfl77cpN8DQO89Dq5si8OXN6dTsOibL+iWotml0Vuxq06BLaGDZSu5gS 81CSuNhohYTLwD6cRl/rJh9NM3gDIIvf0SXPwYrWXdlRNp+EjFdnwF7Q7tb97kz82x q50KODYAUwyG5b8eHSAXcnzVU/bLtCXNN83z/0xCsFRt8MrwPvv9kyTMI7v13q02uk fwl02lVLDzfGw== Message-ID: In-Reply-To: <2368e93f4beab4a962a324c33a234786ac45848b.camel@gmail.com> References: <-WzfXRgBunfV6CTG4v5TA24Vk7Vty4mGqGpQdTTU2OkJpt-i1gM2iOOEDl9ODBZd1xuARNui4gnp1gZfkPtmHwlSwMmdagPc2fEXJyCWRJI=@protonmail.com> <65497ff154c8bed606d30e5a367e8f17b1a53cc7.camel@gmail.com> <1df52a98b3eaf5e49bbbef852dd33d188b16f757.camel@gmail.com> <2368e93f4beab4a962a324c33a234786ac45848b.camel@gmail.com> Feedback-ID: 7805494:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" Reply-to: John Kehayias X-ACL-Warn: , John Kehayias From: John Kehayias via Bug reports for GNU 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=1659842407; h=from:from:sender:sender:reply-to: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=z6SpmWjn59j9fJtZUOPASKgV3VOcXX4IzZiMOUqew3o=; b=pJTxyTURI2y3sB5bAytSfe4RxKXpsUcBRBnCODxKWe6PrjxAs+1YOVjtOf9+HPYDRYDCrC VT7wCuLDeZxmS3DmZfe3udnZxN5s3PL9UdfX5C2nzJMoTxt0GO5QDlb1noaxiSE9OCFyRh 0xQbA/fxZHiZ7YyfrAwwHP7l/dxa6/RmpLtUbcbaf0fQ2xeSMaNOKmUbCrUSHV7IH04I1f GTFUSXJ1fIacYycnNlk0aNbl7Ju4EPTcw24SA+fGNpT6p5VqDxo7pQjChFva/oR8IPRJvV 7Jjw5uX+llJ71jDQ4V/sFnfA7JHFeSiM9GUmRklnLi/zxjxnCt+CST4LUq1XWw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659842407; a=rsa-sha256; cv=none; b=Wr7h2w5F8v3Xeo6JDQg3VWVdSDEz7rQKXqP2LwcSlYeJp8e0KIDSXyr994ucIBF+qzlEkL p0uBEe7BqW3hmMsBVSOoqFJm8pEuZihj+HjAtCduE2xku9eeOHc1iIYXMUvnAmKXlp2PiZ 15RI+G6BkmnISJg54RF36Mmzqvm438+RVnaGPzgJ/WdjGLA7jcBYzQRXrm550/X2YQBFbp MRUxu84mJBHOAJvrqDZJfmxvrKpewQnHVNuKxckv5j51E+v6ogbYRmJRimarJC3+JAA1p3 cSTqzjXRivJ9l2+u0nye52tvhoih1eXQX5Fv19EkgPrJeQDT5u9gjkefWQWLkw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=m0VAtu9S; dmarc=pass (policy=none) header.from=gnu.org; 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: -0.99 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=m0VAtu9S; dmarc=pass (policy=none) header.from=gnu.org; 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: DCAD32DDD7 X-Spam-Score: -0.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: vgtbhxLvn6ow Hi, ------- Original Message ------- On Saturday, August 6th, 2022 at 1:53 AM, Liliana Marie Prikler wrote: > Pardon that, it's an artifact from trying to fetch 28.1.90 via url- > fetch and failing. Note that the hash is the one for 28.1. On Andrew's channel I can change the version/commit/hash to 28.1 and it bui= lds fine. Though this is using a git checkout at the 28.1 tag commit, but I= don't think that matters here? (Emacs runs too, but only tried in guix she= ll and just to see it opens, didn't see if it compiles anything.) And yet with your code I cannot. I tried using the phase from Andrew instea= d of your code, tried adding gcc to the native-inputs to match Andrew, used= gcc-11 with libgccjit-11, ...still the same configure failure on the libgc= cjit test program: can't find libgccjit.so Weird. Adding just the libgccjit library path to LD_LIBRARY_PATH makes configure f= ind libgccjit, but then fails to find libx11 in that same libgccjit test pr= ogram. Instead, making LD_LIBRARY_PATH=3DLIBRARY_PATH fixes the configure a= nd it finally fails on the runpath validation. Maybe cause of messing with = LD_LIBRARY_PATH or could use the patch Andrew has? Anyway, wasn't looking i= nto this. I thought I had a similar problem with the test program you had started wit= h, but in the end just the LIBRARY_PATH tweak was needed. I wish I could re= member the combination of things I tried that also had it failing to find l= ibgccjit. Or perhaps it was something libgccjit was linked to, but I hadn't= explored? So. I tried to see what was different between your and Andrew's code and I'= m not seeing what it could be. There must be some subtle difference we're m= issing? Seems we have all the ingredients and a known working example. John