From unknown Tue Aug 19 02:53:12 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#40045 <40045@debbugs.gnu.org> To: bug#40045 <40045@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add libgccjit. Reply-To: bug#40045 <40045@debbugs.gnu.org> Date: Tue, 19 Aug 2025 09:53:12 +0000 retitle 40045 [PATCH] gnu: Add libgccjit. reassign 40045 guix-patches submitter 40045 "LaFreniere, Joseph" severity 40045 normal tag 40045 fixed patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 12 17:56:54 2020 Received: (at submit) by debbugs.gnu.org; 12 Mar 2020 21:56:54 +0000 Received: from localhost ([127.0.0.1]:57903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCVp0-0003u7-1o for submit@debbugs.gnu.org; Thu, 12 Mar 2020 17:56:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:48217) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCVoy-0003ty-GF for submit@debbugs.gnu.org; Thu, 12 Mar 2020 17:56:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41371) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCVow-000658-SV for guix-patches@gnu.org; Thu, 12 Mar 2020 17:56:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCVot-0001da-Q7 for guix-patches@gnu.org; Thu, 12 Mar 2020 17:56:50 -0400 Received: from mx.kolabnow.com ([95.128.36.41]:10278) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jCVot-0001bS-4W for guix-patches@gnu.org; Thu, 12 Mar 2020 17:56:47 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id BE0DCC09 for ; Thu, 12 Mar 2020 22:56:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:received:received:received; s= dkim20160331; t=1584050200; x=1585864601; bh=tbQHY8LArFw5UZ28T+i vUSLUu0cSczffGUmw7w5e7zk=; b=jNrcndo5+U/SUQQY9xSHkSS6WIjA5LQEYXr +X0dNh2+fKwMUPQChUC2aEo6swLkxUQDQ0X9+uTU4hWeQuF2WSM0YsqZ+JkgpBMp dgGByk3NxGgB4Kj9tnVzV/AqULmnGhHCfT3zSjUoUabipMrI53wwG3sZ7Pt9Srxz xcc7eS+ZWGdYOEv45H7IuBQ1FwjanDh1npNfrw8qgbLRVIAVQVSMl/8vf7f7z0DE 0AIQCVW17RiOCB5UG0Yr7h5wkYcNcwkIsipVCoOIykjYpvh6DzZ30g6+SnvvXgwP LMpNbUc6iweKcWItCy5QtHOtCvshQFbVeHDUlw/iidnIMEo5XmMxiWXOcmGWbCvO tmTI2GSxq9pqX622l2awJ3ZjR4lQluDApDqsa3YHGzCBUE5fFtbcc/iM3OWK85Zt CXFKzQPECW0X0EmknQPrY9TOvb3Gd78UlhRQcUj0kS7rc02GEHqA1Ya4DdNSk6VI Esy6Kjc7Z6AOLIygIUXk5HgmllK8oGTifo7BdpbquLwTGkm15L2BCeR65nwmmNgC Orml5EIeCrI+6s7Q3JTztLqfFwr7qJPpr8E0oOm1JLljmr5KtQVnMexS8YDhX9gA KcfKLU75H/d393yzL4wm0cVBYKKICE3M+dYgovc//zemnL1YJN+ZaaW9haaMGzMI anGHOhvg= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OhmhzfXHX8TD for ; Thu, 12 Mar 2020 22:56:40 +0100 (CET) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id 9EFE455A for ; Thu, 12 Mar 2020 22:56:40 +0100 (CET) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx003.mykolab.com (Postfix) with ESMTPS id 61C93B0F for ; Thu, 12 Mar 2020 22:56:40 +0100 (CET) From: "LaFreniere, Joseph" To: guix-patches@gnu.org Subject: [PATCH] gnu: Add libgccjit. Date: Thu, 12 Mar 2020 16:56:33 -0500 Message-ID: <87tv2tnsoe.fsf@lafreniere.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 95.128.36.41 X-Spam-Score: 3.7 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Patch file is attached. I have no experience building or packaging GCC, so any feedback is appreciated. That being said, I _believe_ this recipe follows the build instructions at https://gcc.gnu.org/o [...] Content analysis details: (3.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: sdf.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.17 listed in list.dnswl.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: lafreniere.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=joseph%40lafreniere.xyz; ip=209.51.188.17; r=debbugs.gnu.org] 1.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Patch file is attached. I have no experience building or packaging GCC, so any feedback is appreciated. That being said, I _believe_ this recipe follows the build instructions at https://gcc.gnu.org/o [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: sdf.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.17 listed in list.dnswl.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: lafreniere.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=joseph%40lafreniere.xyz;ip=209.51.188.17;r=debbugs.gnu.org] -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD --=-=-= Content-Type: text/plain; format=flowed Patch file is attached. I have no experience building or packaging GCC, so any feedback is appreciated. That being said, I _believe_ this recipe follows the build instructions at https://gcc.gnu.org/onlinedocs/jit/internals/index.html#packaging-notes correctly. This is toward the eventual goal of packaging gccemacs (https://akrl.sdf.org/gccemacs.html). -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-libgccjit.patch >From 8b08b302f6bf601f5c95513a56b7b0b54b0dc95c Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Wed, 11 Mar 2020 21:48:59 -0500 Subject: [PATCH] gnu: Add libgccjit. * gnu/packages/gcc.scm (libgccjit): New variable. --- gnu/packages/gcc.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index ead50bb1dc..03fdeb02e1 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -690,6 +690,34 @@ as the 'native-search-paths' field." ;; report two gfortran@5 that are in fact identical. gfortran-7) +(define-public libgccjit + (package + (inherit gcc-9) + (name "libgccjit") + (outputs (delete "lib" (package-outputs gcc))) + (properties (alist-delete 'hidden? (package-properties gcc))) + (arguments + (substitute-keyword-arguments `(#:modules ((guix build gnu-build-system) + (guix build utils) + (ice-9 regex) + (srfi srfi-1) + (srfi srfi-26)) + ,@(package-arguments gcc)) + ((#:configure-flags flags) + `(append `("--enable-host-shared" + ,(string-append "--enable-languages=jit")) + (remove (cut string-match "--enable-languages.*" <>) + ,flags))) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'install 'remove-broken-or-conflicting-files + (lambda* (#:key outputs #:allow-other-keys) + (for-each delete-file + (find-files (string-append (assoc-ref outputs "out") "/bin") + ".*(c\\+\\+|cpp|g\\+\\+|gcov|gcc|gcc-.*)")) + #t)))))))) + + (define-public gccgo-4.9 (custom-gcc gcc-4.9 "gccgo" '("go") %generic-search-paths -- 2.25.1 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 16 09:08:06 2020 Received: (at 40045) by debbugs.gnu.org; 16 Mar 2020 13:08:06 +0000 Received: from localhost ([127.0.0.1]:36158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDpTS-0003zp-Ah for submit@debbugs.gnu.org; Mon, 16 Mar 2020 09:08:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDpTR-0003zD-9r for 40045@debbugs.gnu.org; Mon, 16 Mar 2020 09:08:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jDpTL-0004rJ-Te; Mon, 16 Mar 2020 09:07:59 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=43876 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jDpTL-0007dI-BA; Mon, 16 Mar 2020 09:07:59 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "LaFreniere\, Joseph" Subject: Re: [bug#40045] [PATCH] gnu: Add libgccjit. References: <87tv2tnsoe.fsf@lafreniere.xyz> Date: Mon, 16 Mar 2020 14:07:57 +0100 In-Reply-To: <87tv2tnsoe.fsf@lafreniere.xyz> (Joseph LaFreniere's message of "Thu, 12 Mar 2020 16:56:33 -0500") Message-ID: <87zhcge9ci.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi! "LaFreniere, Joseph" skribis: >>From 8b08b302f6bf601f5c95513a56b7b0b54b0dc95c Mon Sep 17 00:00:00 2001 > From: Joseph LaFreniere > Date: Wed, 11 Mar 2020 21:48:59 -0500 > Subject: [PATCH] gnu: Add libgccjit [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: lafreniere.xyz] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: lafreniere.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.92 listed in list.dnswl.org] X-Debbugs-Envelope-To: 40045 Cc: 40045@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) Hi! "LaFreniere, Joseph" skribis: >>>From 8b08b302f6bf601f5c95513a56b7b0b54b0dc95c Mon Sep 17 00:00:00 2001 > From: Joseph LaFreniere > Date: Wed, 11 Mar 2020 21:48:59 -0500 > Subject: [PATCH] gnu: Add libgccjit. > > * gnu/packages/gcc.scm (libgccjit): New variable. LGTM! I added a copyright line for you and pushed. BTW, it seems that we can remove all the libraries under lib/ except libgccjit.so itself (i.e., libgomp, libitm, etc.). Could you give it a try? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 16 09:08:20 2020 Received: (at control) by debbugs.gnu.org; 16 Mar 2020 13:08:20 +0000 Received: from localhost ([127.0.0.1]:36161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDpTg-00040N-JP for submit@debbugs.gnu.org; Mon, 16 Mar 2020 09:08:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDpTf-000409-5G for control@debbugs.gnu.org; Mon, 16 Mar 2020 09:08:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jDpTZ-0007HH-VQ for control@debbugs.gnu.org; Mon, 16 Mar 2020 09:08:14 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=43880 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jDpTX-00082V-JA for control@debbugs.gnu.org; Mon, 16 Mar 2020 09:08:12 -0400 Date: Mon, 16 Mar 2020 14:08:10 +0100 Message-Id: <87y2s0e9c5.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #40045 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) tags 40045 fixed close 40045 quit From unknown Tue Aug 19 02:53:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 14 Apr 2020 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator