"J.D. Smith" <jdtsmith@HIDDEN>
to control <at> debbugs.gnu.org.
Full text available.Debbugs Internal Request <help-debbugs@HIDDEN>
to internal_control <at> debbugs.gnu.org.
Full text available.Received: (at 81171-done) by debbugs.gnu.org; 4 Jun 2026 09:53:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 04 05:53:42 2026 Received: from localhost ([127.0.0.1]:58749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wV4lh-00009A-U7 for submit <at> debbugs.gnu.org; Thu, 04 Jun 2026 05:53:42 -0400 Received: from fhigh-b7-smtp.messagingengine.com ([202.12.124.158]:36547) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1wV4lg-00008F-00 for 81171-done <at> debbugs.gnu.org; Thu, 04 Jun 2026 05:53:40 -0400 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id 5B9397A0063; Thu, 4 Jun 2026 05:53:34 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Thu, 04 Jun 2026 05:53:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1780566814; x=1780653214; bh=mZgPLt/SvQ FIhiUMjwDoGRWK8KOHUew3ioK4OOCsRyU=; b=d/NIXsYa/zgsFs/E+M7aS3jsQC 54TkWTiW+6VLz2K45EL4Iyke4S7s9qN6sPpudRZow6SpNzsGqeuxq3upt9chu/Pi EMCrLjUoc8zMyFWBe4N7bi4FDmvJt+h/B2352GaFRkhbVmPnmURAQlnpxdUORLgW XBkex7osNPKKRZyjNtofeIVGzz+IHeHke8VhcX5p5VkgOwbsDf9URt96BiGxxZG9 ftb/M6ghXwlY7mcB5RiLyIPbM3ac4yex/5ZkuXArPBn6/FWyVKKRa24kRSdljnhJ atgyZzthZag3s7uGDdzWq80r7hrhOBtHEs11IfXetYs+ZTxGGMxHKKEYXRBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1780566814; x=1780653214; bh=mZgPLt/SvQFIhiUMjwDoGRWK8KOHUew3ioK 4OOCsRyU=; b=DPgWFNmYWBo8Qf8i6c+nlDXDzZY/qlpO9uEKUesUcW+H0c9PmTa YjmLjzx7HVtgXIgkU8UhZjR/ApeEkXF5FAyxWxzVLyZTo5vUWG1gr9PTR+G/4b9o IkN/5+4Mk1b8LuH2aQEOhv0ZNQ6jR7Vq6pySFG1hJrxb1BURQBqT37u4xgleYdSu A6ah5hleBCoUn66x12h2xPubBc/07ozQFgJJyM16G6hSFgOHYRfpc1qUtRucSkOD 0TpYKMM/QcGWIFLiDklWAibLYzPLKzqpZXxFKhsTWkzjSWQ18k15C2e7gDSdJKrl VhfGUNT3OX/8VDUlLGHjLhnV4pHyT9B709A== X-ME-Sender: <xms:HUshasyZnuZ7w1tDMz5hetPSWgvUzzhqE0yTirjSVpTaAjY4XmMS7g> <xme:HUshapv5BQ2gdHqnBF08XxVA7O9ilRKwno0gPNwVtZUZg3KKgqwISBV06rCojMTyy tCXUjvIMhGMLd5IqQZyNFAsPUUgOovGhY3ljE7Zj-TgV_6kqJkypw> X-ME-Received: <xmr:HUshat7WRr1zv8y9fuUU2HGwSeiU7CWAJsUzDauTsnljj20Ov7_Td_u1BsP0cV5DvvO80xRbcXws> X-ME-Proxy-Cause: dmFkZTFQoaw6D5lmY0qNru8COc9J8mIxt99lHyRVBkWo8Zkbnb1+fwlE7+OHPdaZFPrnDD ju6TGuctAvA1Uuk0LLXfNsL/IZGmtuBOoXuQOBileGaB8COe3ls1+cXOCUenqvOVfsMiNw 2UZQG4TcYO2HqXvCJ1A9sKxJYfXuNR1QrQJnDhrOFatMphgT8RxyXkwPc1piyy7YvVNtdu D7rOpQrdjGhzZWvw8hcPDTQSL2iSKpBBdYZ3JGP8cwHVHoyHRXIGDv+u/xNYDzz3A/g32t r1ost4m/Gyck6JI2dlsceOaIWizNNgbGsRjYEdbC4xxWYQgIbbwcnEedQagfAvMh6/a3k5 F0C/xk8iV/quzAQtOE9SL4sJ5dHgCPicwgW5T/7n0Gf+qIGxPFYJQbHhHy5JZnD9Lr1Ypi GfgvJAhXHdCYLJYCL6Ys6Q6RNHJ4mzZkBVKCJSCNeubtS38Ra94nelP3ZAzvLJASD0Iyyc L4CTDg1zG+M0KZpmmV3y+yqiEMfuLmlcRWLAHZizkZvtmoIycpn0wrwz1psIhkJtoWKzPL tHo4GmyDreX1uHFbzgeFIrKIu1uix8cZt8mhewbryDyksNRfl8mPlg/CS9Q7LkSRIuo5ux OBYh6ar/ONIk0oAAm2hFZLiWTtja4k02mInqffxE8FT3otriLGf/Qsb4McHA X-ME-Proxy: <xmx:HUshagQEyFxJqjPT6VjZzsP6iNREC419sUGrNjyufUhfGzOdyEv80A> <xmx:HUshako0onurVCaw0EPGEgh3j4zA8wSupGOIQ04sLhTzK7IdgMagtw> <xmx:HUshamJSVWKvGIOrxXF2iZrKGiPnq02494RuD1VhzT1ZR2-k3Gmy_g> <xmx:HUshavpJUfowYEw1_8eTV6PPpbFslnsU2T-nXl1aqXuQfkKs6sP30A> <xmx:HkshauOoMCa4cGM2tbSB28NOeWO87huzdXqe5eDJcb7P74Fqit2TDrWJ> Feedback-ID: i62564b17:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 4 Jun 2026 05:53:32 -0400 (EDT) Received: by melete.silentflame.com (Postfix, from userid 1000) id 861507E7DC6; Thu, 04 Jun 2026 10:53:30 +0100 (BST) From: Sean Whitton <spwhitton@HIDDEN> To: Paul Eggert <eggert@HIDDEN>, "J.D. Smith" <jdtsmith@HIDDEN>, 81171-done <at> debbugs.gnu.org, Alan Third <alan@HIDDEN> Subject: Re: bug#81171: [PATCH] (v31) Allow brew/macports libgccjit for default native compilation In-Reply-To: <325167fb-41d3-4c02-bade-ce14a33e4b39@HIDDEN> References: <m2fr34u07w.fsf@HIDDEN> <87jysfrflm.fsf@HIDDEN> <325167fb-41d3-4c02-bade-ce14a33e4b39@HIDDEN> Date: Thu, 04 Jun 2026 10:53:30 +0100 Message-ID: <87y0gupr6t.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 81171-done X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Version: 31.1 Paul Eggert [03/Jun 8:21am -07] wrote: > Looks OK to me. Thanks to you and Alan for the review. I've installed the change. -- Sean Whitton
"J.D. Smith" <jdtsmith@HIDDEN>:Sean Whitton <spwhitton@HIDDEN>:Received: (at 81171) by debbugs.gnu.org; 3 Jun 2026 16:55:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 03 12:55:50 2026 Received: from localhost ([127.0.0.1]:44074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wUosf-00078U-Qk for submit <at> debbugs.gnu.org; Wed, 03 Jun 2026 12:55:50 -0400 Received: from mail-ot1-x335.google.com ([2607:f8b0:4864:20::335]:51375) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <jdtsmith@HIDDEN>) id 1wUosc-00077x-UL for 81171 <at> debbugs.gnu.org; Wed, 03 Jun 2026 12:55:47 -0400 Received: by mail-ot1-x335.google.com with SMTP id 46e09a7af769-7e6cfdc92bfso1130184a34.2 for <81171 <at> debbugs.gnu.org>; Wed, 03 Jun 2026 09:55:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1780505745; x=1781110545; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=utjjAWxM6FYf6QclJDA8w7exbGrfeiiw34smstmbSLw=; b=A2tIlt/JKaOv1qVgtTLTslIKzTqcCP14XaW5f4NZqgPDovJeBkhZ3oeKYjJ7FnTNam jJVUVoltThEN4K4T4tEKoEiZp3ySKlM0Vo8xSQv4Qdy++Nhbw7HVB0AT5fJQAXDebGb6 NXhWmMneJuGadHpP88QDPQbybLSFq7rD4esiUIv8F9MPwPR75eaoh5GTn7kX8NBc0QWf BKlykvRkjNTLbfttO2NMJHdiwvR+TjOgp4M3tXDzKCM2dTwyeTJ6xqRyZbIx1Na2raaf hkp71rnJ2MNqIUMhUUTRgQY6DqXzLWVDSPIr2hKuS4T4LFFmRMKAYiBssweMq/jQeG3h 8tVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780505745; x=1781110545; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=utjjAWxM6FYf6QclJDA8w7exbGrfeiiw34smstmbSLw=; b=EI98EAS9kPkIwHIAcSBWIzPgYftEA3WVMPLfx5JoInh5Zb1Jn202urz8gL1IfhSn0b NNagCOp9uKG5wevNWkHtdUka+XmzJGJQksHIoq+52X45OvpPlaQjUVk28+rqs5J3aRjT oCE+6cXkchi23mqNxpzJp7+V9mYlCZfay0AJVV/lBBWVyVxG0MkbTwHB6uwroxsTxZI2 fEZ2U/IeU4qLvk2f4+c7T6qdYfmgV6Ba2GskJDwW4U7bmSqxSKEoQ/i+j7dFEZbBybk5 DxCbgkJVfjmkuMZYpxzH6J55sl8pgwY0QdwYkcUlFTIBLUAwVuAFaNvXPTOPYc8G4p7I vIfw== X-Forwarded-Encrypted: i=1; AFNElJ81NlaM8cLjhGxKdvSe0nd4YQCQJoj1LnxelXqA9G8cGt+7kR5TNaMI6R0WzavC6TFlxfxlWg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yy6mWGkPJMdxBH3xLYhMIZu6lN6OiPkkGtezIsRUUNLZrXSu4VM CTvouugkpKGIs8r6TOg0WcBw7BlMv4bcsysep7nUtIF+7D4eCKiknIBjEB7bDxP2 X-Gm-Gg: Acq92OFnTTSSo2/TzKJaHJGbrJ4aNMADI0l4/LQZtBXKsB+bISiuwMwGS6E9y2dtS0n lRaq3yHTltWFqGhxoN2rHYxJRdqKvCkSDvKqXM6d0MGtl9vnfQUNfDn3zuDr3TtToo0dsU15log JnhQ2qBivwTuzI+jomMvHKSnNy5DK59HQrqB7p+GQZdSAcCnbLqL1Orj4/Mkan+lgNR+WQuDAvO HKv/ojQcc1EgEC0jEeZ8nParDVVP6jI1nNRdz+d1hHlQ/tAJlINipBPWGexerhc86tjTcnPeMLf qL7i/A93Nfodbciq9Alr++yRUbB55CCGO693uVtSv4HAl1PqCBBVmWjyGXkKlE7E1OLf3LGYQe4 lCvOiEhb04XRvUnwa9lKkZ3FWMcxUxpB357q/CmllkOeG3/unkLsB6mf1a6RpGoQTwXHKpNNPFg TwRbGBpfNu7S7xAUvioZ/BobbHa00aylrOBw== X-Received: by 2002:a05:6830:3490:b0:7e6:f2ef:e232 with SMTP id 46e09a7af769-7e6f2efe804mr1550328a34.19.1780505745457; Wed, 03 Jun 2026 09:55:45 -0700 (PDT) Received: from moss ([131.183.130.137]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7e6e78dd7b9sm2073342a34.15.2026.06.03.09.55.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jun 2026 09:55:45 -0700 (PDT) From: "J.D. Smith" <jdtsmith@HIDDEN> To: Alan Third <alan@HIDDEN> Subject: Re: bug#81171: [PATCH] (v31) Allow brew/macports libgccjit for default native compilation In-Reply-To: <aiAxReb6Uza684sc@HIDDEN> (Alan Third's message of "Wed, 3 Jun 2026 14:51:01 +0100") References: <m2fr34u07w.fsf@HIDDEN> <87jysfrflm.fsf@HIDDEN> <86pl27vk5l.fsf@HIDDEN> <aiAxReb6Uza684sc@HIDDEN> Date: Wed, 03 Jun 2026 12:55:44 -0400 Message-ID: <m2cxy7tvfz.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 81171 Cc: Eli Zaretskii <eliz@HIDDEN>, eggert@HIDDEN, 81171 <at> debbugs.gnu.org, Sean Whitton <spwhitton@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) Alan Third <alan@HIDDEN> writes: > On Wed, Jun 03, 2026 at 04:16:38PM +0300, Eli Zaretskii wrote: >> > From: Sean Whitton <spwhitton@HIDDEN> >> > Date: Wed, 03 Jun 2026 13:08:37 +0100 >> > >> > J.D. Smith [02/Jun 5:00pm -04] wrote: >> > > Native compilation appears to be configured by default if libgccjit is >> > > available. On Mac systems, libgccjit is usually installed by Homebrew >> > > or macports and therefore is not found on the normal lib path. It is >> > > located and used to set flags and compile in native-comp support >> > > if and only if `--with-native-compilation` is passed explicitly. >> > > Otherwise, the value of `with_native_compilation' is `default', and >> > > "soft" tests are run, _prior_ to extending the CFLAGS / LIBS. These >> > > tests therefore spuriously fail, even when libgccjit is installed. >> > > E.g.: >> > > >> > > checking for gcc_jit_context_acquire in -lgccjit... no >> > > configure: WARNING: Elisp native compiler can't be enabled as libgccjit was not >> > > found. >> > > Please try installing libgccjit or a similar package if you want to have it >> > > enabled. >> > > checking for libgccjit.h... no >> > > configure: WARNING: Elisp native compiler can't be enabled as libgccjit header files >> > > were not found. >> > > Please try installing libgccjit-dev or a similar package if you want to have it >> > > enabled. >> > > >> > > This results in disabling native compilation. >> > > >> > > This patch moves the Homebrew/macports libgccjit search code up so it >> > > also benefits the "default" case on Darwin/Mac. The result is, if the >> > > libgccjit library is installed by Homebrew or macports, you no longer >> > > need to specify `--with-native-compilation'. >> > > >> > > It should still result in an error if the library is not installed and >> > > you explicitly request it. >> > >> > I think you're right about the bug and it would be good to fix it for >> > emacs-31 but it's a slightly scary time to be patching the build scripts >> > like this. Paul, could you review? >> >> I'd like Alan to also take a look, if he can afford it. TIA. > > I don't see any problems, but I'm no expert in autoconf. > > It looks to me like the only reason this isn't default already is that > when gccjit was made default this particular case (macOS with homebrew > or ports) was ignored or forgotten. I'm not aware of any reason it > shouldn't have been made default at the same time. Thanks for taking a look. And Sean, I hear you on the scariness factor. I'd appreciate people testing my patch with non-macOS builds, using various native-compilation flags, as well on a macOS system without libgccjit installed, to ensure the *_err functions are running correctly when native-comp is explicitly requested. Maybe there are tests pertaining to this?
bug-gnu-emacs@HIDDEN:bug#81171; Package emacs.
Full text available.Received: (at 81171) by debbugs.gnu.org; 3 Jun 2026 15:22:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 03 11:22:00 2026 Received: from localhost ([127.0.0.1]:43071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wUnPr-0004gu-7H for submit <at> debbugs.gnu.org; Wed, 03 Jun 2026 11:21:59 -0400 Received: from mail.cs.ucla.edu ([131.179.128.66]:45970) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eggert@HIDDEN>) id 1wUnPn-0004fR-DJ for 81171 <at> debbugs.gnu.org; Wed, 03 Jun 2026 11:21:57 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 1D4B13C033C2B; Wed, 3 Jun 2026 08:21:49 -0700 (PDT) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP id 1c6BNkYmiUJQ; Wed, 3 Jun 2026 08:21:49 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id E90073C03E9FE; Wed, 3 Jun 2026 08:21:48 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu E90073C03E9FE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1780500109; bh=gqI+dof4ZYyoNbFd/QpycA6x1BpykokuWDT00UKvKSM=; h=Message-ID:Date:MIME-Version:To:From; b=WGi4sGcuwLXWJVu7EliqWV/FOJ9gCPuBU0eHCYEsaIspsp+Ao0rbr01ksQoOLq51N CnHWssDiN1gNLJLYkAWfSwgLywsvRf1tYn8WSD+tH6kPwKYD4Q7SkxyM5+5O0rJw9J 76TVrmTPON0dz5yRY+Y49Pb4sZZddbAw6EQd0edeOu1UtvJj2Opzhlc6FxEZ/SeSsZ LsqzBwO2G97W8bRT2pUyh2h1pJCvXkajVPvewMHtfXLJm11It2x60ofw15sNipw7QW MsTjMEihEyietC4HFwhyeCIHuijD7ebFzjGWt75/XxE8K/LzRG3BoLCizexmZK9kcP 8YQwJY1jfrsMA== X-Virus-Scanned: amavis at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id cd94P_vtv8X1; Wed, 3 Jun 2026 08:21:48 -0700 (PDT) Received: from penguin.cs.ucla.edu (47-154-25-11.fdr01.snmn.ca.ip.frontiernet.net [47.154.25.11]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id C1EDB3C033C2B; Wed, 3 Jun 2026 08:21:48 -0700 (PDT) Message-ID: <325167fb-41d3-4c02-bade-ce14a33e4b39@HIDDEN> Date: Wed, 3 Jun 2026 08:21:48 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#81171: [PATCH] (v31) Allow brew/macports libgccjit for default native compilation To: Sean Whitton <spwhitton@HIDDEN>, "J.D. Smith" <jdtsmith@HIDDEN>, 81171 <at> debbugs.gnu.org References: <m2fr34u07w.fsf@HIDDEN> <87jysfrflm.fsf@HIDDEN> Content-Language: en-US From: Paul Eggert <eggert@HIDDEN> Organization: UCLA Computer Science Department In-Reply-To: <87jysfrflm.fsf@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81171 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Looks OK to me.
bug-gnu-emacs@HIDDEN:bug#81171; Package emacs.
Full text available.Received: (at 81171) by debbugs.gnu.org; 3 Jun 2026 14:05:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 03 10:05:00 2026 Received: from localhost ([127.0.0.1]:42362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wUmDL-00074C-2U for submit <at> debbugs.gnu.org; Wed, 03 Jun 2026 10:05:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46224) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wUmDG-000731-Le for 81171 <at> debbugs.gnu.org; Wed, 03 Jun 2026 10:04:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1wUmDA-0006wh-Ea; Wed, 03 Jun 2026 10:04:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=O3KGEZ77un6KT/xPNV2+fCKPC/RzRCmh+rdRP3RX/Ic=; b=Fw+RV7BHY5RLk1sxlarK CSOTc3kFTm/zIYskZm/Pdtuf+FtV8KC7DXNhiu7CGl6vN27Mub1geKqtFx9axvE1eo+zIHdHkYz0Y t/Poq9eeFwj7agoO4geZTJC/ES2MBT9NMjJ3e8mv/OU72keSOJ7KJe0dgvDP8GFFW6Kim4gCUenh+ 0rfmuvTIHIBARAJUWujXFEvnekQIypa5OJ+oDHkWG9v5B7An+MI/pucDRgdBhrtqUxHVozCcKWlPY l2RPkEUmefsyRfIT9vJZySGI5M5VJj24x1GmjUnDanVLEHDGqx1dUdsaaQiXPtGJK3yC1gwLm5+Ru exg+PQ/HPiTF8w==; Date: Wed, 03 Jun 2026 17:04:45 +0300 Message-Id: <86jysfvhxe.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: =?utf-8?Q?St=C3=A9phane?= Marks <shipmints@HIDDEN> In-Reply-To: <CAN+1Hbr5-R3Gxk4LeU2Kjye8oozF6RhB-+swvp0vk0f5CGNkLQ@HIDDEN> (message from =?utf-8?Q?St=C3=A9phane?= Marks on Wed, 3 Jun 2026 09:52:38 -0400) Subject: Re: bug#81171: [PATCH] (v31) Allow brew/macports libgccjit for default native compilation References: <m2fr34u07w.fsf@HIDDEN> <87jysfrflm.fsf@HIDDEN> <CAN+1HbrWcj=LT00k-1yY0jMsRx2Wy_dzD=MGYM=TirUZKMXY4Q@HIDDEN> <86o6hrvk0b.fsf@HIDDEN> <CAN+1Hbr5-R3Gxk4LeU2Kjye8oozF6RhB-+swvp0vk0f5CGNkLQ@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81171 Cc: eggert@HIDDEN, 81171 <at> debbugs.gnu.org, jdtsmith@HIDDEN, spwhitton@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Stéphane Marks <shipmints@HIDDEN> > Date: Wed, 3 Jun 2026 09:52:38 -0400 > Cc: spwhitton@HIDDEN, eggert@HIDDEN, 81171 <at> debbugs.gnu.org, > jdtsmith@HIDDEN > > On Wed, Jun 3, 2026 at 9:19 AM Eli Zaretskii <eliz@HIDDEN> wrote: > > > Cc: Paul Eggert <eggert@HIDDEN>, 81171 <at> debbugs.gnu.org, > > "J.D. Smith" <jdtsmith@HIDDEN> > > From: Stéphane Marks <shipmints@HIDDEN> > > Date: Wed, 3 Jun 2026 08:53:37 -0400 > > > > I think you're right about the bug and it would be good to fix it for > > emacs-31 but it's a slightly scary time to be patching the build scripts > > like this. Paul, could you review? > > > > I don't mind this fix. It does mean people can no longer rely on the bug and will need to intentionally > ignore. I > > think the incantation is this --with-native-compilation=no and not this --without-native-compilation so > some > > announcement maybe on emacs-devel might be needed to noise. > > You mean, macOS users know that, although Emacs defaults to native > compilation, the macOS build defaults to --without-native-compilation=no? > > I'm saying that a naive rebuild once configure scripts are updated will result in native builds that weren't native > before the change. Yes, and that's our explicit intention, on all platforms.
bug-gnu-emacs@HIDDEN:bug#81171; Package emacs.
Full text available.
Received: (at 81171) by debbugs.gnu.org; 3 Jun 2026 13:59:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 03 09:59:27 2026
Received: from localhost ([127.0.0.1]:42311 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1wUm7v-0006aF-Ic
for submit <at> debbugs.gnu.org; Wed, 03 Jun 2026 09:59:27 -0400
Received: from mail-yx1-xb135.google.com ([2607:f8b0:4864:20::b135]:58456)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <jdtsmith@HIDDEN>)
id 1wUm7p-0006ZY-26
for 81171 <at> debbugs.gnu.org; Wed, 03 Jun 2026 09:59:20 -0400
Received: by mail-yx1-xb135.google.com with SMTP id
956f58d0204a3-65eb226b1ceso13344938d50.0
for <81171 <at> debbugs.gnu.org>; Wed, 03 Jun 2026 06:59:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1780495156; x=1781099956; darn=debbugs.gnu.org;
h=to:in-reply-to:cc:references:message-id:date:subject:mime-version
:from:content-transfer-encoding:from:to:cc:subject:date:message-id
:reply-to; bh=3qqL3pBWG7SFULFJUWDX0BbA1azhfxdLoua2QS4W+hc=;
b=quWFGV7e5eVT2d/k6bsQq8gxI2O7hc1JLDyMP71yg3dYuRYlZCUGsZeJI50gXMzy9B
2jjr+YL89FeEdbzFJZ6faW4FW8T1OsuM37+FJ79Qxz7Dn+Izs0P55jmEj6O0w4+UpkOj
7r6pgsj6I1QRXFNkaeTBILxaGHSinO9kzVu+agWbG7UxX3IXO28A+c+/JVy40Lj+dNLg
3k+kKSnWSytS6CtFudN8Wu+jmPMWOcEBSEUim2lzzQTej1t2EvkX01zrK59+XGWCPtF6
dACEEeMD6ZJVojVAqKnv52MWSBa/7jBqSwYP1uf8NojjHZi1nR/av1wXrsy+7kjtoF3r
Qq2g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1780495156; x=1781099956;
h=to:in-reply-to:cc:references:message-id:date:subject:mime-version
:from:content-transfer-encoding:x-gm-gg:x-gm-message-state:from:to
:cc:subject:date:message-id:reply-to;
bh=3qqL3pBWG7SFULFJUWDX0BbA1azhfxdLoua2QS4W+hc=;
b=QJSqHIUShNAvX35Ol1UMcpGLQ2r4DtZddu20Yy59qCDjs8zlUL35PxOQeYWbS6jaJ7
rZQRKRCLvLrjqWhzW8UUfGTfwm9vOvq1kBC4aoZoBz2QD9uqWuGY1gyjLdz3wx3hGVZz
f/2bL/GYFfmcvbWocT8cv7jLWIgftkQG+nOGy7LvMJr4VHieScIqih6gIh7r95/SiGIk
v4uVzYuTFA8JqCrdb9N7tqqxXsBLVNm1L+dIu2vKkfewrYmtfXlqsJa/lFQZEejA3ZIq
7oxMsPrOAq5+916v7Q+W5VIH4bsy17ozGwN+JURfxIoYAdwjGMUAYYlE4Cdp5skeKIT6
Z7ug==
X-Forwarded-Encrypted: i=1;
AFNElJ/K3OEsZmEA/unFdtsn3LBaLFKguinSvKK0+QOE432UDGbZvvOKqC00XmyG9L9ZFNHPpeqanQ==@debbugs.gnu.org
X-Gm-Message-State: AOJu0Yzw0Npy4hMqAgQpHzxDSw5c7zjhUrn1Ffe/0b7KeWLRoNrhw3Jl
EGlsgVO0OjQcR4q2C+wkEeN/k8rQJVN/qV2ULM9pBpBUH4NgXPT9V0ngzOXjww==
X-Gm-Gg: Acq92OFCp9cIhnfZ27mQLlwj1XzSApXC8QyZHUiNgoBUojo2UqWe47VOOiXIJPMb9SL
wYKY3XhjqBbul6uly9cOEBUZuzohokuvt/ZOltgmEWO26ci/QFueDmziM1TyMGf2AP+kwh5zDlg
j1wyZ4djC5LS4qTODbCBqnoK7jpBHd50+24a3ocB3Xbo6QmZFOCjpN3ZoLlnRroxbZOLbmave4E
m6CzcPdT/wesuWawEAY88qTX2vdpRFdZd081REe4a7BLL53LdkEgVMgDfHakua0oHLRcoWlA1j9
uOkcB7GFO7EF4NbGLdA/D/WzxjHnG5yXO3n9Dcj6zk4skQgLRKoWad4iOQJvst2qPjs0YpnhaiO
IWrXhBehIfPDgq9oF+thW3tSLkeZT/K3zpXJH5Se63mLhHVG5I9a0G4KdK9L5AgXOa0sX3cz79e
bo6bcFw3MdLoZlFISbUmb7EJaTBHqVF1hR5b2EWb8VC5dyb8QI4VpgbQ==
X-Received: by 2002:a53:b2f6:0:b0:660:320e:dd47 with SMTP id
956f58d0204a3-660dc4dda4bmr2616491d50.39.1780495155686;
Wed, 03 Jun 2026 06:59:15 -0700 (PDT)
Received: from smtpclient.apple ([198.30.180.102])
by smtp.gmail.com with ESMTPSA id
956f58d0204a3-660d5f399aesm1901506d50.4.2026.06.03.06.59.15
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 03 Jun 2026 06:59:15 -0700 (PDT)
Content-Type: multipart/alternative;
boundary=Apple-Mail-660AF285-3266-446C-B0E0-479EF880CAB6
Content-Transfer-Encoding: 7bit
From: JD Smith <jdtsmith@HIDDEN>
Mime-Version: 1.0 (1.0)
Subject: Re: bug#81171: [PATCH] (v31) Allow brew/macports libgccjit for
default native compilation
Date: Wed, 3 Jun 2026 09:59:04 -0400
Message-Id: <F7D13A8E-4C7C-4666-896D-35CF12F96BBF@HIDDEN>
References: <CAN+1Hbr5-R3Gxk4LeU2Kjye8oozF6RhB-+swvp0vk0f5CGNkLQ@HIDDEN>
In-Reply-To: <CAN+1Hbr5-R3Gxk4LeU2Kjye8oozF6RhB-+swvp0vk0f5CGNkLQ@HIDDEN>
To: =?utf-8?Q?St=C3=A9phane_Marks?= <shipmints@HIDDEN>
X-Mailer: iPhone Mail (23F77)
X-Spam-Score: 1.8 (+)
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: -- On Jun 3, 2026, at 9:52 AM, Stéphane Marks wrote:
Content analysis details: (1.8 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no trust
[2607:f8b0:4864:20:0:0:0:b135 listed in]
[list.dnswl.org]
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (jdtsmith[at]gmail.com)
0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
-0.0 SPF_PASS SPF: sender matches SPF record
1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received'
headers
0.0 HTML_MESSAGE BODY: HTML included in message
0.7 MPART_ALT_DIFF BODY: HTML and text parts are different
0.1 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
0.0 MIME_QP_LONG_LINE RAW: Quoted-printable line longer than 76
chars
0.0 MIME_HTML_ONLY_MULTI Multipart message only has text/html MIME
parts
X-Debbugs-Envelope-To: 81171
Cc: Eli Zaretskii <eliz@HIDDEN>, eggert@HIDDEN, 81171 <at> debbugs.gnu.org,
spwhitton@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.8 (/)
--Apple-Mail-660AF285-3266-446C-B0E0-479EF880CAB6
Content-Type: text/html;
charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html class=3D"apple-mail-supports-explicit-dark-mode"><head><meta http-equi=
v=3D"content-type" content=3D"text/html; charset=3Dutf-8"></head><body dir=3D=
"auto"><br id=3D"lineBreakAtBeginningOfSignature"><div dir=3D"ltr">--</div><=
div dir=3D"ltr"><br><blockquote type=3D"cite">On Jun 3, 2026, at 9:52=E2=80=AF=
AM, St=C3=A9phane Marks <shipmints@HIDDEN> wrote:<br><br></blockquo=
te></div><blockquote type=3D"cite"><div dir=3D"ltr">=EF=BB=BF<div dir=3D"ltr=
"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospa=
ce"><span style=3D"font-family:Arial,Helvetica,sans-serif">On Wed, Jun 3, 20=
26 at 9:19=E2=80=AFAM Eli Zaretskii <<a href=3D"mailto:eliz@HIDDEN">eliz=
@gnu.org</a>> wrote:</span></div></div><div class=3D"gmail_quote gmail_qu=
ote_container"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> Cc: Pau=
l Eggert <<a href=3D"mailto:eggert@HIDDEN" target=3D"_blank">eggert@=
cs.ucla.edu</a>>, <a href=3D"mailto:81171 <at> debbugs.gnu.org" target=3D"_bla=
nk">81171 <at> debbugs.gnu.org</a>,<br>
> "J.D. Smith" <<a href=3D"mailto:jdtsmith@HIDDEN" target=3D"=
_blank">jdtsmith@HIDDEN</a>><br>
> From: St=C3=A9phane Marks <<a href=3D"mailto:shipmints@HIDDEN" ta=
rget=3D"_blank">shipmints@HIDDEN</a>><br>
> Date: Wed, 3 Jun 2026 08:53:37 -0400<br>
> <br>
> I think you're right about the bug and it would be good to fix it=
for<br>
> emacs-31 but it's a slightly scary time to be patching the build s=
cripts<br>
> like this. Paul, could you review?<br>
> <br>
> I don't mind this fix. It does mean people can no longer rely on t=
he bug and will need to intentionally ignore. I<br>
> think the incantation is this --with-native-compilation=3Dno and not th=
is --without-native-compilation so some<br>
> announcement maybe on emacs-devel might be needed to noise.<br>
<br>
You mean, macOS users know that, although Emacs defaults to native<br>
compilation, the macOS build defaults to --without-native-compilation=3Dno?<=
br></blockquote><div><br></div><div class=3D"gmail_default" style=3D"font-fa=
mily:monospace">I'm saying that a naive rebuild once configure scripts are u=
pdated will result in native builds that weren't native before the change.&n=
bsp; I've already updated my build scripts and I'm guessing others might nee=
d to as well.</div></div></div>
</div></blockquote><br><div>Unless of course the user had installed libgccji=
t another way, visible in the default compiler paths. That silent diff=
erence seems harder to track down. </div></body></html>=
--Apple-Mail-660AF285-3266-446C-B0E0-479EF880CAB6--
bug-gnu-emacs@HIDDEN:bug#81171; Package emacs.
Full text available.Received: (at 81171) by debbugs.gnu.org; 3 Jun 2026 13:52:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 03 09:52:55 2026 Received: from localhost ([127.0.0.1]:41144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wUm1d-0005ea-8r for submit <at> debbugs.gnu.org; Wed, 03 Jun 2026 09:52:54 -0400 Received: from mail-vk1-xa2a.google.com ([2607:f8b0:4864:20::a2a]:54320) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1wUm1a-0005e6-PF for 81171 <at> debbugs.gnu.org; Wed, 03 Jun 2026 09:52:51 -0400 Received: by mail-vk1-xa2a.google.com with SMTP id 71dfb90a1353d-5a46be4862fso582390e0c.0 for <81171 <at> debbugs.gnu.org>; Wed, 03 Jun 2026 06:52:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1780494770; cv=none; d=google.com; s=arc-20240605; b=MnsJ1HFE9Hhr9CcIqmRULhAO7sYvqhrLAfsL7ZvsPGsu9gA2cKimdMZlL2d1g7PobD vrYpYblNs/U+RJtj7555qMdzICGYxRNSvaW77S+b2Q+hTE+V7lziyAN7vYBRPNA/L89V nvs4M7B1/WN2S0C2LFZagLG0v9IKCaEclYCb4ZCvvkGqzM6mUv93LZB6EIZuWBgLmtEZ Mo/y+iDhSVaVIX3U1eHg/7pxpTE1iRNf1wQoaOsZECmqhsWInVUsPrd3SKXZpM8Q+nK6 ++7rUJTvYNyouGFK2IeQReKevHqh51LbHQuQ3s4YVivpcG5jGhczjXKzLqRk/HxYQZBW GZ9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=SnXNfd65ZifSPWJo1aTBWQGwVEVB94DV07nDU/Q5/7w=; fh=N14KWwukp/N0LvjJWmUQppzdWGMyKIC+MjJTEMDNWyk=; b=Cm16mc24bQ/NJFMoXVsB4zYMFDsWiBIaVor4hT0vBGEXqgUQe/fya54gc4qNeqX1cj SUzOQvlRCC/2xBrd9g91ddsrL2ZXilfo13kI+QIXDnU2i0hyM2XOJIFDYlo+KZVGnO0D HdlAtPFkDFpHJda0EnX7LsXjIBAf+3Z4m2H97YsCFhIMoPJoKfg3YX78cAPGcUxWNU1N suYqqBko8yUfq17KNm8PKxsltaeLjDvdNF9Ib+811fUSeCRuAJ2uAfAc8hHwJdlN7SIA 5xabrAf3OVHqb3iP/QesaJJoI1Ws58dlGCPwy0zpuopAaSzLDTKiojONki5sWNP1xTMZ nQmg==; darn=debbugs.gnu.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1780494770; x=1781099570; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=SnXNfd65ZifSPWJo1aTBWQGwVEVB94DV07nDU/Q5/7w=; b=N1RlT+UEGrQcBeAH3Ht6Vn+7DHuojP1yGsOJuDfaV9OvKY7F0sPb57qhHsX0hpxI5+ HJYc/ij1myrKQwpHc7IE7Nne0AQWu+w2ZOQH3C/EqgTTWE23GR4yAdLeb6OTiYzfYOuC 9QiwKmwG/PO4pIs+g+UGbmzd+2PbZYaKJIsnsi2TIzS2lGyQbf/ky9CEvxg1KOGQ3joV 7GtLOFQl4vdoylmW8f5sHw9eS2UElGctC+twr9HN1/NXTCgN0bLXyvcvYUHkBHijGJ71 aY1hD/rAZMwAsaY+ogWkq0eYLpZjsv44qIDY8lsTZKQ7iBw5r1N7XyCnvBYoF0bY9wXb 3K9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780494770; x=1781099570; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=SnXNfd65ZifSPWJo1aTBWQGwVEVB94DV07nDU/Q5/7w=; b=AHokKknNXBxofxUoQNyfsGxXkLu629RzWqDtqhLcQRIG7vbTq1TfzRCClni1gwv1bh RLX8LAnX1xk/DDHeoeh7vgzSya7xKsIQj112ydx531azjcgDmK3afDMPX5xbKsjmdH3E PXTJgJzrtlDNhc48zKolr/Xz5nCQanVrwQEhf597yt74JjvduMwCmCUeJGNYM6SSn0F9 ZgTzcMiBzYdoL6FDtgqrM1RO1H3+TsucToV1pqzz5SE6In4KtMiVA4QgJXN3BZitT6yZ P/USmRZfnbeYVGQRW/bp6GiOHzFKmZu87Dmyu7muxuO6G9kzqZjU3zihZiMXuJgs2bNs 5VuA== X-Forwarded-Encrypted: i=1; AFNElJ+l0vMEdmNpFNe6wtSBDPMGodwLYHmkdb7gUb9MNrgUOv6oHaIG+X38l3suQVI4HMUkzc4sfg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yzt1D7kugLxtb7p4sl8B4wDufXLLWC7iCYKZ1wmN6PzxPNo0Adn lfDdFrcEcVnI8KURxrmY2xrOMpVKVYtdfzNKrfcZ762iHlZj4Nk9r/xVYhEFEIzn05FTXyQC/1o ib1HfHBKrsGCY7i2YDfrZ+bT3tGfZ8OI= X-Gm-Gg: Acq92OGSed0VzXhaoUK8NYiMucnahbRK+mEWkh9kKaeLH4HOYwklBtplhOgZM82KtS9 YzL8C5o+ZaxigqoBwyx23TRAIzec41t7F8Vhfen5X3766VvNnFQqwPqMqP/ttAHpt075bPwen7c TfNdboAt+3WeARhyZcaW8XLEyqJB0FcK7nl+wdScJp2/peX6mAyKrNAeJvn+6CZag86W/KY8SzC /Nmezycbk6N/h8DPyJJonyRhc/AXSHr6XGJQbNZwxb9C5qNWynClcoZYv2gDMr3WDoieIRCfC2J 4HZQ8XFtAyzlRmyhkxjIFtfSefS6n/NFbSKo+wcFfBX27gz3UxKtTx8nwOzNu0eUiRjWtigLn3U fyqhvKKLnqR0eZja9gfe2GlsyxVlEiKIfkM8QlqimQtVeUpSjCwyH7Aer4Q== X-Received: by 2002:a05:6122:3a1a:b0:56f:a3e2:66a4 with SMTP id 71dfb90a1353d-5a6e4568ad3mr2129121e0c.1.1780494769997; Wed, 03 Jun 2026 06:52:49 -0700 (PDT) MIME-Version: 1.0 References: <m2fr34u07w.fsf@HIDDEN> <87jysfrflm.fsf@HIDDEN> <CAN+1HbrWcj=LT00k-1yY0jMsRx2Wy_dzD=MGYM=TirUZKMXY4Q@HIDDEN> <86o6hrvk0b.fsf@HIDDEN> In-Reply-To: <86o6hrvk0b.fsf@HIDDEN> From: =?UTF-8?Q?St=C3=A9phane_Marks?= <shipmints@HIDDEN> Date: Wed, 3 Jun 2026 09:52:38 -0400 X-Gm-Features: AVHnY4JP6PoLsdYuf_ouK3zktIXjqDCEpzFrTHcttzG9zea7dA1JpTghSUuHQEE Message-ID: <CAN+1Hbr5-R3Gxk4LeU2Kjye8oozF6RhB-+swvp0vk0f5CGNkLQ@HIDDEN> Subject: Re: bug#81171: [PATCH] (v31) Allow brew/macports libgccjit for default native compilation To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="0000000000004a4e17065359be4a" X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 81171 Cc: eggert@HIDDEN, 81171 <at> debbugs.gnu.org, jdtsmith@HIDDEN, spwhitton@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) --0000000000004a4e17065359be4a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jun 3, 2026 at 9:19=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wrote: > > Cc: Paul Eggert <eggert@HIDDEN>, 81171 <at> debbugs.gnu.org, > > "J.D. Smith" <jdtsmith@HIDDEN> > > From: St=C3=A9phane Marks <shipmints@HIDDEN> > > Date: Wed, 3 Jun 2026 08:53:37 -0400 > > > > I think you're right about the bug and it would be good to fix it for > > emacs-31 but it's a slightly scary time to be patching the build scrip= ts > > like this. Paul, could you review? > > > > I don't mind this fix. It does mean people can no longer rely on the > bug and will need to intentionally ignore. I > > think the incantation is this --with-native-compilation=3Dno and not th= is > --without-native-compilation so some > > announcement maybe on emacs-devel might be needed to noise. > > You mean, macOS users know that, although Emacs defaults to native > compilation, the macOS build defaults to --without-native-compilation=3Dn= o? > I'm saying that a naive rebuild once configure scripts are updated will result in native builds that weren't native before the change. I've already updated my build scripts and I'm guessing others might need to as well. --0000000000004a4e17065359be4a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-family:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">= On Wed, Jun 3, 2026 at 9:19=E2=80=AFAM Eli Zaretskii <<a href=3D"mailto:= eliz@HIDDEN">eliz@HIDDEN</a>> wrote:</span></div></div><div class=3D"g= mail_quote gmail_quote_container"><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex">> Cc: Paul Eggert <<a href=3D"mailto:eggert@HIDDEN" t= arget=3D"_blank">eggert@HIDDEN</a>>, <a href=3D"mailto:81171@debbug= s.gnu.org" target=3D"_blank">81171 <at> debbugs.gnu.org</a>,<br> >=C2=A0 "J.D. Smith" <<a href=3D"mailto:jdtsmith@HIDDEN"= target=3D"_blank">jdtsmith@HIDDEN</a>><br> > From: St=C3=A9phane Marks <<a href=3D"mailto:shipmints@HIDDEN" t= arget=3D"_blank">shipmints@HIDDEN</a>><br> > Date: Wed, 3 Jun 2026 08:53:37 -0400<br> > <br> >=C2=A0 I think you're right about the bug and it would be good to f= ix it for<br> >=C2=A0 emacs-31 but it's a slightly scary time to be patching the b= uild scripts<br> >=C2=A0 like this.=C2=A0 Paul, could you review?<br> > <br> > I don't mind this fix.=C2=A0 It does mean people can no longer rel= y on the bug and will need to intentionally ignore.=C2=A0 I<br> > think the incantation is this --with-native-compilation=3Dno and not t= his --without-native-compilation so some<br> > announcement maybe on emacs-devel might be needed to noise.<br> <br> You mean, macOS users know that, although Emacs defaults to native<br> compilation, the macOS build defaults to --without-native-compilation=3Dno?= <br></blockquote><div><br></div><div class=3D"gmail_default" style=3D"font-= family:monospace">I'm saying that a naive rebuild once configure script= s are updated will result in native builds that weren't native before t= he change.=C2=A0 I've already updated my build scripts and I'm gues= sing others might need to as well.</div></div></div> --0000000000004a4e17065359be4a--
bug-gnu-emacs@HIDDEN:bug#81171; Package emacs.
Full text available.Received: (at 81171) by debbugs.gnu.org; 3 Jun 2026 13:51:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 03 09:51:11 2026 Received: from localhost ([127.0.0.1]:41130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wUlzz-0005ZX-FH for submit <at> debbugs.gnu.org; Wed, 03 Jun 2026 09:51:11 -0400 Received: from dane.soverin.net ([185.233.34.11]:53691) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <alan@HIDDEN>) id 1wUlzx-0005ZH-KE for 81171 <at> debbugs.gnu.org; Wed, 03 Jun 2026 09:51:10 -0400 Received: from smtp.soverin.net (unknown [10.10.4.100]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4gVpxz5CjVz1lb8; Wed, 03 Jun 2026 13:51:03 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4gVpxy1rdPzNh; Wed, 3 Jun 2026 13:51:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1780494663; bh=tQn65UTbASTWrX9e+PAXAf6M95ZZ0evV2yo56SbnFT0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=U0gROjpJ+ieQ4iBVmfV3i9GCVdnUSEFbPoftjHmrNJDQpWi1yoT4ex9A5EAadQDPb YhA1TJ9WOYuksp7pe5AH/cN2qxRXmW3Q4M8axPUOSWCLQ/tqgW9tZJ4PSzWAsR6auS sj4KEaoYedWpwDk4BAvmhZQc3aHt0pJd9tojAHJff30jdyn3gbxkfZstq0I9Ky+koV gTQ6KhLHr526KyXbFw5dqBlmnJHrpPvEzTthTqTG/J/cokM+1fhR+IVIoQihEEl0jw mT5xDfQovECWKe2JMLRcMMuIYGgT6B7llM7W4sTeWHk2FRYaBVZpurUBoov5dMpFSS W7dQSHTW9TaHw== X-CM-Envelope: MS4xfBRfuBnwEEpZ3YdiuBTOLuXpcOYxhqgRZoKaCz/zeR3Zm9DnAPmDYl8//DxPhU+dEyxgIHD7VjhUHLJ3XZQjiko0maXs/oNGo5j8ED7IutzCEOKcr8lA SlYTda/rRYzEv4Sg9IE3BMu+MXsyeu9YARNzWqni/5mdT9ua9vx/lWoQdZJc5B0Xpcqlmx/MfoUxr+KVNOBlqYj2guYJMeHazs8TswuLI8yjN5QLxsT4UQqS L0M4NkHbvZmH2SM2e2AOFsnrCceWhIM4nFm6sXsm9gEI+9HaVUtlfgCOjgnCtwcii65AxhgiUCpBYrYrht4/DtY1TrPLOUY6RYwtVWaDLKI= X-Soverin-Id: 019e8dc0-7d58-7084-a8b6-7e7f1796ff60 Received: from localhost (shetland.holly.idiocy.org [local]) by shetland.holly.idiocy.org (OpenSMTPD) with ESMTPA id e5364c02; Wed, 3 Jun 2026 13:51:01 +0000 (UTC) Date: Wed, 3 Jun 2026 14:51:01 +0100 From: Alan Third <alan@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#81171: [PATCH] (v31) Allow brew/macports libgccjit for default native compilation Message-ID: <aiAxReb6Uza684sc@HIDDEN> Mail-Followup-To: Alan Third <alan@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, Sean Whitton <spwhitton@HIDDEN>, eggert@HIDDEN, 81171 <at> debbugs.gnu.org, jdtsmith@HIDDEN References: <m2fr34u07w.fsf@HIDDEN> <87jysfrflm.fsf@HIDDEN> <86pl27vk5l.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86pl27vk5l.fsf@HIDDEN> X-Spampanel-Class: ham X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 81171 Cc: eggert@HIDDEN, 81171 <at> debbugs.gnu.org, jdtsmith@HIDDEN, Sean Whitton <spwhitton@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On Wed, Jun 03, 2026 at 04:16:38PM +0300, Eli Zaretskii wrote: > > From: Sean Whitton <spwhitton@HIDDEN> > > Date: Wed, 03 Jun 2026 13:08:37 +0100 > > > > J.D. Smith [02/Jun 5:00pm -04] wrote: > > > Native compilation appears to be configured by default if libgccjit is > > > available. On Mac systems, libgccjit is usually installed by Homebrew > > > or macports and therefore is not found on the normal lib path. It is > > > located and used to set flags and compile in native-comp support > > > if and only if `--with-native-compilation` is passed explicitly. > > > Otherwise, the value of `with_native_compilation' is `default', and > > > "soft" tests are run, _prior_ to extending the CFLAGS / LIBS. These > > > tests therefore spuriously fail, even when libgccjit is installed. > > > E.g.: > > > > > > checking for gcc_jit_context_acquire in -lgccjit... no > > > configure: WARNING: Elisp native compiler can't be enabled as libgccjit was not > > > found. > > > Please try installing libgccjit or a similar package if you want to have it > > > enabled. > > > checking for libgccjit.h... no > > > configure: WARNING: Elisp native compiler can't be enabled as libgccjit header files > > > were not found. > > > Please try installing libgccjit-dev or a similar package if you want to have it > > > enabled. > > > > > > This results in disabling native compilation. > > > > > > This patch moves the Homebrew/macports libgccjit search code up so it > > > also benefits the "default" case on Darwin/Mac. The result is, if the > > > libgccjit library is installed by Homebrew or macports, you no longer > > > need to specify `--with-native-compilation'. > > > > > > It should still result in an error if the library is not installed and > > > you explicitly request it. > > > > I think you're right about the bug and it would be good to fix it for > > emacs-31 but it's a slightly scary time to be patching the build scripts > > like this. Paul, could you review? > > I'd like Alan to also take a look, if he can afford it. TIA. I don't see any problems, but I'm no expert in autoconf. It looks to me like the only reason this isn't default already is that when gccjit was made default this particular case (macOS with homebrew or ports) was ignored or forgotten. I'm not aware of any reason it shouldn't have been made default at the same time. -- Alan Third
bug-gnu-emacs@HIDDEN:bug#81171; Package emacs.
Full text available.Received: (at 81171) by debbugs.gnu.org; 3 Jun 2026 13:20:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 03 09:20:00 2026 Received: from localhost ([127.0.0.1]:40811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wUlVn-00039l-5K for submit <at> debbugs.gnu.org; Wed, 03 Jun 2026 09:19:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38486) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wUlVl-000395-8I for 81171 <at> debbugs.gnu.org; Wed, 03 Jun 2026 09:19:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1wUlVf-0005i4-4J; Wed, 03 Jun 2026 09:19:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=4IiA5opm3+7Se3uSDEnpUle/Q4KJjIMU7xmm5repsp4=; b=bQoIPrZmRRlbI2xjePkj /DAg5O6uT4aCfAkilH2+xBAhSzl7+73xHjpFh3ZYbpqVZ+D8iiEmaOswBXCa0CmBZvXiQwnyb5I0j YuVzJNKj6AIr7cVvPEMsON3N6GzKQg35ZqyeCNOj5EuDs042InkuWU/m89mQed1gEuLbGKw7XrTsG Uhf7KapNEzk9obykiLoB8UVi0xNc73NHLmfiTL5gwbcSzJzsLtLPb9uSplM5cKbg3DK0UVIdrbgrF +801Qjm9pgKd7wASk9ITsFGtGjbNg4hU8UJjV1TxkJ4h3n5ZE63wQ+KP02ev36mK0eqO3kPLi9QeB +Y83EwxGrhZP8A==; Date: Wed, 03 Jun 2026 16:19:48 +0300 Message-Id: <86o6hrvk0b.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: =?utf-8?Q?St=C3=A9phane?= Marks <shipmints@HIDDEN> In-Reply-To: <CAN+1HbrWcj=LT00k-1yY0jMsRx2Wy_dzD=MGYM=TirUZKMXY4Q@HIDDEN> (message from =?utf-8?Q?St=C3=A9phane?= Marks on Wed, 3 Jun 2026 08:53:37 -0400) Subject: Re: bug#81171: [PATCH] (v31) Allow brew/macports libgccjit for default native compilation References: <m2fr34u07w.fsf@HIDDEN> <87jysfrflm.fsf@HIDDEN> <CAN+1HbrWcj=LT00k-1yY0jMsRx2Wy_dzD=MGYM=TirUZKMXY4Q@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81171 Cc: eggert@HIDDEN, 81171 <at> debbugs.gnu.org, jdtsmith@HIDDEN, spwhitton@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: Paul Eggert <eggert@HIDDEN>, 81171 <at> debbugs.gnu.org, > "J.D. Smith" <jdtsmith@HIDDEN> > From: Stéphane Marks <shipmints@HIDDEN> > Date: Wed, 3 Jun 2026 08:53:37 -0400 > > I think you're right about the bug and it would be good to fix it for > emacs-31 but it's a slightly scary time to be patching the build scripts > like this. Paul, could you review? > > I don't mind this fix. It does mean people can no longer rely on the bug and will need to intentionally ignore. I > think the incantation is this --with-native-compilation=no and not this --without-native-compilation so some > announcement maybe on emacs-devel might be needed to noise. You mean, macOS users know that, although Emacs defaults to native compilation, the macOS build defaults to --without-native-compilation=no?
bug-gnu-emacs@HIDDEN:bug#81171; Package emacs.
Full text available.Received: (at 81171) by debbugs.gnu.org; 3 Jun 2026 13:17:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 03 09:16:59 2026 Received: from localhost ([127.0.0.1]:40775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wUlSr-0002z7-FO for submit <at> debbugs.gnu.org; Wed, 03 Jun 2026 09:16:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57452) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wUlSn-0002xs-O1 for 81171 <at> debbugs.gnu.org; Wed, 03 Jun 2026 09:16:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1wUlSe-0004P6-De; Wed, 03 Jun 2026 09:16:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=vm7chbh+ZTDatvw+NWc609Ziecm8jxey0NDK+dzHk0U=; b=TG7C6QbxVkbh jpKJbr4hA5ES8mNzqev4rD5R+D+Z+8eGGqG+yjdnqbtntNUYzcX0Bb/mj0APuMjOXTgDh6KrOVn5F OdULh61KRh4MbJ3QcaObJWosTSGfao+VTyMXfyreaAgi1T0gpeqxjV0SLzxyIP5cZ5wz8xkzUIaWX JG1Z3s01hP5iQ1VZIKwlwixGVxoRKnr2RtUInOY2gqyfCLZ1niYmF2JvAIPSUGgliprTftlPcGWos 1yXsk8G/AXuE9Y4V4sQXGr7Bsnu63l5kkzmdJZvxIp6/v4gj/eGt0mA+kmG9zOO18Gmh3560LhUFm yVhLNntxd5uIAZozUkXKeg==; Date: Wed, 03 Jun 2026 16:16:38 +0300 Message-Id: <86pl27vk5l.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Sean Whitton <spwhitton@HIDDEN>, Alan Third <alan@HIDDEN> In-Reply-To: <87jysfrflm.fsf@HIDDEN> (message from Sean Whitton on Wed, 03 Jun 2026 13:08:37 +0100) Subject: Re: bug#81171: [PATCH] (v31) Allow brew/macports libgccjit for default native compilation References: <m2fr34u07w.fsf@HIDDEN> <87jysfrflm.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81171 Cc: eggert@HIDDEN, 81171 <at> debbugs.gnu.org, jdtsmith@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Sean Whitton <spwhitton@HIDDEN> > Date: Wed, 03 Jun 2026 13:08:37 +0100 > > J.D. Smith [02/Jun 5:00pm -04] wrote: > > Native compilation appears to be configured by default if libgccjit is > > available. On Mac systems, libgccjit is usually installed by Homebrew > > or macports and therefore is not found on the normal lib path. It is > > located and used to set flags and compile in native-comp support > > if and only if `--with-native-compilation` is passed explicitly. > > Otherwise, the value of `with_native_compilation' is `default', and > > "soft" tests are run, _prior_ to extending the CFLAGS / LIBS. These > > tests therefore spuriously fail, even when libgccjit is installed. > > E.g.: > > > > checking for gcc_jit_context_acquire in -lgccjit... no > > configure: WARNING: Elisp native compiler can't be enabled as libgccjit was not > > found. > > Please try installing libgccjit or a similar package if you want to have it > > enabled. > > checking for libgccjit.h... no > > configure: WARNING: Elisp native compiler can't be enabled as libgccjit header files > > were not found. > > Please try installing libgccjit-dev or a similar package if you want to have it > > enabled. > > > > This results in disabling native compilation. > > > > This patch moves the Homebrew/macports libgccjit search code up so it > > also benefits the "default" case on Darwin/Mac. The result is, if the > > libgccjit library is installed by Homebrew or macports, you no longer > > need to specify `--with-native-compilation'. > > > > It should still result in an error if the library is not installed and > > you explicitly request it. > > I think you're right about the bug and it would be good to fix it for > emacs-31 but it's a slightly scary time to be patching the build scripts > like this. Paul, could you review? I'd like Alan to also take a look, if he can afford it. TIA.
bug-gnu-emacs@HIDDEN:bug#81171; Package emacs.
Full text available.Received: (at 81171) by debbugs.gnu.org; 3 Jun 2026 12:53:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 03 08:53:55 2026 Received: from localhost ([127.0.0.1]:40505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wUl6Y-00019W-58 for submit <at> debbugs.gnu.org; Wed, 03 Jun 2026 08:53:55 -0400 Received: from mail-vk1-xa29.google.com ([2607:f8b0:4864:20::a29]:42284) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1wUl6U-00018m-0J for 81171 <at> debbugs.gnu.org; Wed, 03 Jun 2026 08:53:52 -0400 Received: by mail-vk1-xa29.google.com with SMTP id 71dfb90a1353d-59ecd51117dso550557e0c.1 for <81171 <at> debbugs.gnu.org>; Wed, 03 Jun 2026 05:53:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1780491229; cv=none; d=google.com; s=arc-20240605; b=K6SfKS2AVG0ZtEBejnlzXuqx6dcsic+nbuwJFIFNdh/5Mo8FjL+FePte75Zl6u9ezn e4vLhL1nWDV0xNrIq3sOcZcw67yWIOQZatTJ6zCdQUfGrgknJsrV+s95qQkuJn4CobZb khNfTr006Xz10xElzvhTwkTlhwwHTAcpBqIf1ZbW1uY+haCHmI7Lhm+eL7/8bMRC0IPV rzbQCCkkkeztm4OVMQdhVqfccyllc7Pp+zeiQlR/CAkPWYChxDLqgyA1sgZtSWsjTj1M OOb5zhrpxJQMA+lbEc43ymPfSn0mmSGnAZWHFrEEp0TCJYZKchJCU4iRd+XmEpl1zEtz CSXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=AY0gYxbUdX5itvsCCxhPUZqNNabP6mLL7KRJ59jGiLI=; fh=6j7SDgyiZ6FcN2Xv9SegthFM8T5pTJ2mixEesIKPf+E=; b=lVmf0Z55ckvdTQP4ofLu9W+DebgqimWtoP6wj7ifIh8JEWWs7/wIADF0mw1PwFzsDT QAxMy50pKE4keIqujJ0PwsSNkNbdDr90Cbpkb4CPmFgF1a92a9t9SicpvTxclzJM47kJ 25eKQ/jf+f7oX86OXYtHIKuDBBD8u2nAmPdBQFu4eAty5W+y017Wpvvc30VLXfeX15gX +0Si1iPOz5QrPN/nXeXRlIfVelTmH2B/6gk1xKRj7wfN4AhBOuH4zLwZel/P12999/9Q mlI1jrK/YCeANzC/dFcQg5wkSCunzXwwG+BgwX7BYP3cfuaQBN3XcKblA7xb04jSPgmi Kzmg==; darn=debbugs.gnu.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1780491229; x=1781096029; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=AY0gYxbUdX5itvsCCxhPUZqNNabP6mLL7KRJ59jGiLI=; b=mf7BAg48uS1mWoy+bDO7a2XqlnO7CCjpembWj9qa9m508cIefUHpejasQoVg30Or1x 7RCp1/GNjuhms/HMhsaHsRiV7Dju7tKo/MYHhRfH/WFkPe33F7PJeKwTCQLtzmRgBul1 wYAWBN5fwEZRK3WPpCPM8ycRyvvJwLcw0VP1sbovp9kFZe6YrcmwbyPNRxFiKWO4CxrA sSsQRp5ovj38gjGfKP7C6I8nvF+6Oktolhh7jCAX9z5+hK01EpWdwgCwte7pzF3EY9Np +DjG6AKlwDwVTJIWAsq2xiPc4EljL4Vs8jK4jJGZ6cKwVNrCcn87ke1zctLknqGcWvKG 5eDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780491229; x=1781096029; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=AY0gYxbUdX5itvsCCxhPUZqNNabP6mLL7KRJ59jGiLI=; b=YMuEcxv53qtu+EsXu0vEchPm8MXyijqJgzoqAmeSpussgqjNxkzovG3WGCvaSszhux laZccn6g8D+vIhZliNCDiH18lk5Cab09fG5nUXDBtEnxA1bifoSEy9g2Hu4cDxaNJeEQ DR3DbZN4oIoupwLKTULA8Vo1b6CbHDosJSYii5eYgtfl6AfWcc1/VJxCFq+LB63IAzbu doWlLkMuMShw2t11U9QTJm3hQj0Egx6XLprHCCla63f6L4OHqP04x2Bvhu9rM2gmJZQp 3sobHQuVDAKN89vHJuhgkK8AU8IAIMUJ8lNz7EKY9JjkcDUp/6hrukW1Pjn/7rnp1KpO w8tA== X-Forwarded-Encrypted: i=1; AFNElJ+opEz9/2iSSi8QDlRzBUfkdcMStnf8u13bIhypOW66kJ4L+QsOqOyG+Ift1gn+pO+Er8OFlw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyGc8UIMvXY0LRrRMlT+BoQv1I5wI0cQ6V2iA9IRXvzqpr1p9wl T6t/RucdWphCwRTqGbBqovU3MDBafKNTx++LvcYyT6U0CepmS6LgVwupt5Nk7nN83GC8McBIkcj aYXUrQin8/mad512tgIxYL6kETXd69WU= X-Gm-Gg: Acq92OFPl+24SH7b7/rxqx2MHzcfm6SRRVQEwfCCBknLJFW3wfeYBVr6IO09tAo79tS US6bDsvp7M7PN7D9amtOwQ5buDy4elvP7CW1fhg4+lyMgUbZ7NpDP6YWqdGLHfNVXAHli5bEXwD NspOMiyf2ufFqZod/SJZ5+uu+LxSnLZeFY6YqD12PSy+RyRUcpnnzLX4kaANm5IPsAoBNGK37uj iUA54LrO1YDwQq3Jx2Dvmy0aF92x1imFrtL8wzHnWrZYFctRfHAIh+GXHNNVrFEHDleCUohevCm NE5x+sOJT48w8OfOvxTn4McB/76D8R1JhJ3AAX7WMFfHLOGd02gIdjCoI5Lm7ixyWh+Q1T43kRf hsHGaryrLqCMMtRqClfy9DShur94YbCrRuw9RY7vHUq7PxkFy6YridbZaSA== X-Received: by 2002:a05:6122:a17:b0:575:f155:8cd4 with SMTP id 71dfb90a1353d-5a70759c2d7mr1228614e0c.0.1780491229204; Wed, 03 Jun 2026 05:53:49 -0700 (PDT) MIME-Version: 1.0 References: <m2fr34u07w.fsf@HIDDEN> <87jysfrflm.fsf@HIDDEN> In-Reply-To: <87jysfrflm.fsf@HIDDEN> From: =?UTF-8?Q?St=C3=A9phane_Marks?= <shipmints@HIDDEN> Date: Wed, 3 Jun 2026 08:53:37 -0400 X-Gm-Features: AVHnY4Jzph-QxeiEMtogiZOxLeEcO-ay-lvrVs8WqbdjC3Y0fB9dDbumXDbgAbQ Message-ID: <CAN+1HbrWcj=LT00k-1yY0jMsRx2Wy_dzD=MGYM=TirUZKMXY4Q@HIDDEN> Subject: Re: bug#81171: [PATCH] (v31) Allow brew/macports libgccjit for default native compilation To: Sean Whitton <spwhitton@HIDDEN> Content-Type: multipart/alternative; boundary="0000000000003e15a0065358eb16" X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 81171 Cc: Paul Eggert <eggert@HIDDEN>, 81171 <at> debbugs.gnu.org, "J.D. Smith" <jdtsmith@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) --0000000000003e15a0065358eb16 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jun 3, 2026 at 8:09=E2=80=AFAM Sean Whitton <spwhitton@HIDDEN= me> wrote: > J.D. Smith [02/Jun 5:00pm -04] wrote: > > Native compilation appears to be configured by default if libgccjit is > > available. On Mac systems, libgccjit is usually installed by Homebrew > > or macports and therefore is not found on the normal lib path. It is > > located and used to set flags and compile in native-comp support > > if and only if `--with-native-compilation` is passed explicitly. > > Otherwise, the value of `with_native_compilation' is `default', and > > "soft" tests are run, _prior_ to extending the CFLAGS / LIBS. These > > tests therefore spuriously fail, even when libgccjit is installed. > > E.g.: > > > > checking for gcc_jit_context_acquire in -lgccjit... no > > configure: WARNING: Elisp native compiler can't be enabled as > libgccjit was not > > found. > > Please try installing libgccjit or a similar package if you want to > have it > > enabled. > > checking for libgccjit.h... no > > configure: WARNING: Elisp native compiler can't be enabled as > libgccjit header files > > were not found. > > Please try installing libgccjit-dev or a similar package if you want > to have it > > enabled. > > > > This results in disabling native compilation. > > > > This patch moves the Homebrew/macports libgccjit search code up so it > > also benefits the "default" case on Darwin/Mac. The result is, if the > > libgccjit library is installed by Homebrew or macports, you no longer > > need to specify `--with-native-compilation'. > > > > It should still result in an error if the library is not installed and > > you explicitly request it. > > I think you're right about the bug and it would be good to fix it for > emacs-31 but it's a slightly scary time to be patching the build scripts > like this. Paul, could you review? > I don't mind this fix. It does mean people can no longer rely on the bug and will need to intentionally ignore. I think the incantation is this --with-native-compilation=3Dno and not this --without-native-compilati= on so some announcement maybe on emacs-devel might be needed to noise. --0000000000003e15a0065358eb16 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-family:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">= On Wed, Jun 3, 2026 at 8:09=E2=80=AFAM Sean Whitton <<a href=3D"mailto:s= pwhitton@HIDDEN">spwhitton@HIDDEN</a>> wrote:</span></di= v></div><div class=3D"gmail_quote gmail_quote_container"><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex">J.D. Smith [02/Jun=C2=A0 5:00pm -04] wrote= :<br> > Native compilation appears to be configured by default if libgccjit is= <br> > available.=C2=A0 On Mac systems, libgccjit is usually installed by Hom= ebrew<br> > or macports and therefore is not found on the normal lib path.=C2=A0 I= t is<br> > located and used to set flags and compile in native-comp support<br> > if and only if `--with-native-compilation` is passed explicitly.<br> > Otherwise, the value of `with_native_compilation' is `default'= , and<br> > "soft" tests are run, _prior_ to extending the CFLAGS / LIBS= .=C2=A0 These<br> > tests therefore spuriously fail, even when libgccjit is installed.<br> > E.g.:<br> ><br> >=C2=A0 =C2=A0checking for gcc_jit_context_acquire in -lgccjit... no<br> >=C2=A0 =C2=A0configure: WARNING: Elisp native compiler can't be ena= bled as libgccjit was not<br> >=C2=A0 =C2=A0found.<br> >=C2=A0 =C2=A0Please try installing libgccjit or a similar package if yo= u want to have it<br> >=C2=A0 =C2=A0enabled.<br> >=C2=A0 =C2=A0checking for libgccjit.h... no<br> >=C2=A0 =C2=A0configure: WARNING: Elisp native compiler can't be ena= bled as libgccjit header files<br> >=C2=A0 =C2=A0were not found.<br> >=C2=A0 =C2=A0Please try installing libgccjit-dev or a similar package i= f you want to have it<br> >=C2=A0 =C2=A0enabled.<br> ><br> > This results in disabling native compilation.<br> ><br> > This patch moves the Homebrew/macports libgccjit search code up so it<= br> > also benefits the "default" case on Darwin/Mac.=C2=A0 The re= sult is, if the<br> > libgccjit library is installed by Homebrew or macports, you no longer<= br> > need to specify `--with-native-compilation'.<br> ><br> > It should still result in an error if the library is not installed and= <br> > you explicitly request it.<br> <br> I think you're right about the bug and it would be good to fix it for<b= r> emacs-31 but it's a slightly scary time to be patching the build script= s<br> like this.=C2=A0 Paul, could you review?<br></blockquote><div><br></div><di= v class=3D"gmail_default" style=3D"font-family:monospace">I don't mind = this fix.=C2=A0 It does mean people can no longer rely on the bug and will = need to intentionally ignore.=C2=A0 I think the incantation is this=C2=A0--= with-native-compilation=3Dno and not this=C2=A0--without-native-compilation= so some announcement maybe on emacs-devel might be needed to noise.</div><= /div></div> --0000000000003e15a0065358eb16--
bug-gnu-emacs@HIDDEN:bug#81171; Package emacs.
Full text available.Received: (at 81171) by debbugs.gnu.org; 3 Jun 2026 12:08:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 03 08:08:47 2026 Received: from localhost ([127.0.0.1]:40107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wUkOs-0005QT-Mo for submit <at> debbugs.gnu.org; Wed, 03 Jun 2026 08:08:47 -0400 Received: from fhigh-a6-smtp.messagingengine.com ([103.168.172.157]:58709) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1wUkOp-0005PJ-SA for 81171 <at> debbugs.gnu.org; Wed, 03 Jun 2026 08:08:45 -0400 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id 6156314000D4; Wed, 3 Jun 2026 08:08:38 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Wed, 03 Jun 2026 08:08:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1780488518; x=1780574918; bh=to/SkWKLc/ IpZW2OI506kGe8jz41RpS25vXypN4qKdY=; b=tQKchawdLa9kKJq1uVBN435+XD TN891gbWyahQRMin34NzdxsQXzf24X/HNaXzVqZOgjkTa41Hbbdp6L3lY7UQlRSF F0bF5D8t1XRu2oSNB1OsPOK53J8V4nlogw62+0P3Mb7s+h/nd2VumMfS/3bBsu+w eFvocXzDmBSTlzZODG/t1kDgJs2QwO9mTkE8ykx3bkskP/HColFwydvqIUCr3ZIq MxvwItyH4NUp7thEncRCfttYfcBBbEm183tdpjD5KeJyg8Y4WiM1+nQsRy1K1/JC htGc/JNP7y8j8GKtTQ9x+Ql3iudFulU6qsiGIuXIPDqLQNBQrI/QnnAuWlhw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1780488518; x=1780574918; bh=to/SkWKLc/IpZW2OI506kGe8jz41RpS25vX ypN4qKdY=; b=an5XBGe1U8S8OrKDdAsvPbPZTLKJ8Pqa0m5IlrfE5fpNXUCi6oh +GqCWkggL2KQS1QyDBhzpixZkBcha2MeT9+0ZTx12VX6bFLSsCbw1H2F9Vgf4/U9 ehnFDigIGNSaDnuVlzrvWJetNtHB0fW+M9PMZ+G/dinSwktQgNpbylOG4FOfZWT9 hv+wZehlku2CUBNw6fK5LvkeyDB/3TkduNqPk96X8KjlFCGmMBtvc8MxWyKIimWI 0LVSZJGUatbWmvhhrz8bpSFFtBHPdQw3lrU6WLn1coW7A1gaJ/vjL7zEmqLL70mX 1ROTcEXMCvYohkWLTU6ySI1CMitqvioD7GA== X-ME-Sender: <xms:RhkgauD4PAIZEwIGTVQMhPfBZWyc5KHPPornOEMrbId9Mt-EubOkAA> <xme:RhkgagS72VLdaZ-B-x5J_tGZoy_kpUoqmk6omR_2ngSlUbBCakENPJK_7l2gEdZfk GNa44Lf5pyozJxxXhTE4_WEUDfDYMju785TbanVBsj5SzTdTYkc_aw> X-ME-Received: <xmr:Rhkgakq0yy56UxYMkCIT_HKlluGPP2nl7aiC4bF8ljRwJnBNdjHxJGvMhrB1LsdkEp986-yIQ8HB> X-ME-Proxy-Cause: dmFkZTGhDT/D6xXAHyIehBPFdwqq4laxrmfj9jKjw077yM4wkjJTL0xHqM9sSVhHz6dbEc X6o83OpaXaNzL5tsmbeF05SDirFoP/CPKerNrA+ynAs+w+nEuifwcFKuVrq0b/y+Gtt1Hv bQjD+519WwCj3+bfnIOxY1HpbQxmCwEtyEbkmeEKbmHgCLPA1tKAKfoRnx2msH1zJuWhsy z7mvkW9cq9zSwDzFzXWT79KTcfgJbHGy2+D4AzY9GVsCYhxumH9p3GwamLv2S7FZOpJXZU +07HBwZiALkE7iqiwe187c8+w/O9bBAmg8HjOvFnyRlkwO0qx5pV9kOtFf183KzjHhBRtm e9JxQopR4+r7jBiRuODEFp3GHH3rsZ2L/jH92YHSAwl2K85glzgsX0MJWGttM8pNGR6ITj IDEkUJzNEwHOEdr/+ZapE0LW3Bb01uSB0cFTqmojfhiewLIoCwVuhu1QKY2bNzIUMNzeuh ypcCKM+XxcsTRPVJtW3SojsE27j8PV9yDhI39kYJWlHq4g64gprUvTlFsnIrOGQu38l+xO MqeCNanZ1jox0WB4HQ3/+mBC/oxKlG8Hpbf85mLTUJofo2MOumtklIQ57OSn8d1oR6rrY+ AbnwgUZ91/r9Bj0cOP2O5dGENgtzXUdauRyYLMkwHM+EaPqOeNJ5PwfRN1iA X-ME-Proxy: <xmx:RhkgaqzAf1uJn9QabtgtwaDcNTP0yg172byOwWzGCw90wvLig4ILfA> <xmx:RhkgahKb4vDVom1MlGi-8F3jh0h0r4olO14O-DrLgdsPJj8K3Xp81A> <xmx:RhkgakLzlBtY8X5akeqvv5gMqMsnUKsVFdf0TYhxAnw1zoSzHDkVaA> <xmx:Rhkgauvsunvt6btvP9Rj8Y7dk0utEjqoOJkk-SCOnVtzawoijsV_cA> <xmx:RhkgamxK6S9tH0JZeSxOLIlSKEFcvdcPMty7lEIEe5A7GQGJ76rV3uiM> Feedback-ID: i62564b17:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 3 Jun 2026 08:08:37 -0400 (EDT) Received: by melete.silentflame.com (Postfix, from userid 1000) id 233CE7E668E; Wed, 03 Jun 2026 13:08:37 +0100 (BST) From: Sean Whitton <spwhitton@HIDDEN> To: "J.D. Smith" <jdtsmith@HIDDEN>, 81171 <at> debbugs.gnu.org, Paul Eggert <eggert@HIDDEN> Subject: Re: bug#81171: [PATCH] (v31) Allow brew/macports libgccjit for default native compilation In-Reply-To: <m2fr34u07w.fsf@HIDDEN> References: <m2fr34u07w.fsf@HIDDEN> Date: Wed, 03 Jun 2026 13:08:37 +0100 Message-ID: <87jysfrflm.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 81171 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) J.D. Smith [02/Jun 5:00pm -04] wrote: > Native compilation appears to be configured by default if libgccjit is > available. On Mac systems, libgccjit is usually installed by Homebrew > or macports and therefore is not found on the normal lib path. It is > located and used to set flags and compile in native-comp support > if and only if `--with-native-compilation` is passed explicitly. > Otherwise, the value of `with_native_compilation' is `default', and > "soft" tests are run, _prior_ to extending the CFLAGS / LIBS. These > tests therefore spuriously fail, even when libgccjit is installed. > E.g.: > > checking for gcc_jit_context_acquire in -lgccjit... no > configure: WARNING: Elisp native compiler can't be enabled as libgccjit was not > found. > Please try installing libgccjit or a similar package if you want to have it > enabled. > checking for libgccjit.h... no > configure: WARNING: Elisp native compiler can't be enabled as libgccjit header files > were not found. > Please try installing libgccjit-dev or a similar package if you want to have it > enabled. > > This results in disabling native compilation. > > This patch moves the Homebrew/macports libgccjit search code up so it > also benefits the "default" case on Darwin/Mac. The result is, if the > libgccjit library is installed by Homebrew or macports, you no longer > need to specify `--with-native-compilation'. > > It should still result in an error if the library is not installed and > you explicitly request it. I think you're right about the bug and it would be good to fix it for emacs-31 but it's a slightly scary time to be patching the build scripts like this. Paul, could you review? -- Sean Whitton
bug-gnu-emacs@HIDDEN:bug#81171; Package emacs.
Full text available.
Received: (at submit) by debbugs.gnu.org; 2 Jun 2026 21:00:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 02 17:00:40 2026
Received: from localhost ([127.0.0.1]:32786 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1wUWE4-00089q-Bp
for submit <at> debbugs.gnu.org; Tue, 02 Jun 2026 17:00:40 -0400
Received: from lists1p.gnu.org ([2001:470:142::17]:44856)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <jdtsmith@HIDDEN>)
id 1wUWE1-00088X-AP
for submit <at> debbugs.gnu.org; Tue, 02 Jun 2026 17:00:37 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <jdtsmith@HIDDEN>)
id 1wUWDr-0005Cy-NJ
for bug-gnu-emacs@HIDDEN; Tue, 02 Jun 2026 17:00:27 -0400
Received: from mail-ot1-x332.google.com ([2607:f8b0:4864:20::332])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <jdtsmith@HIDDEN>)
id 1wUWDo-0007kw-Tt
for bug-gnu-emacs@HIDDEN; Tue, 02 Jun 2026 17:00:26 -0400
Received: by mail-ot1-x332.google.com with SMTP id
46e09a7af769-7e6db226e1fso722123a34.0
for <bug-gnu-emacs@HIDDEN>; Tue, 02 Jun 2026 14:00:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1780434022; x=1781038822; darn=gnu.org;
h=mime-version:message-id:date:subject:to:from:from:to:cc:subject
:date:message-id:reply-to;
bh=JWum9wpqZAQpMYfqAvyAqFSgIr/oE1pblEvCPohr1Mk=;
b=mcIXAGDoMfrdCdTidyDdvIzG4IB3AZn7TLbpuuNkvRcTPBNOoIFd2fw5tGGZAkBghx
a6seDIqON82L3DjYUe9uZ5kWrnAR6DpcrrUI8rl7dDBnRoUOfm6NcduzGpZ5RMAQ/aUk
SQ2JTDvUWM40SZ90GERyRxE4s6fERmhTm9ZloBTC2102kdqTOOCEb3QVcp7ZpJgrBr9L
5HplQY7gw5r3ofvWc+J5TkVARQFXP3F/nrm9+cFCUtjXgR1XxUYYiHnSeqM+iuj279uY
/VjqfwP/EGkMkV9q7QFXne6sNFFxKYTNMMZAu9eB0p8qYAsx12OHEeMExKw3O593nQrk
WAFQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1780434022; x=1781038822;
h=mime-version:message-id:date:subject:to:from:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=JWum9wpqZAQpMYfqAvyAqFSgIr/oE1pblEvCPohr1Mk=;
b=Y8vw++EVGL4CDnKlpSbIOpNIM7l11yNE/Tnty+GSEhUrj7i+vQ5vL01uiPAAv2JJuW
8zdXI240L0VueCB+K4jj1Te+/Ce3MuFFPqUuNMwJuer3xIxQmEOQHSVr+0zfVBwIP1F5
rJFjkEWxgxun/rxblEuiLBOqHn0+oGBAmoPYUL2CE7fbURzTpBa9svBH38TCS8DwsNDv
QvRRlUUWPBrhQtx7S4BsmVS0vxhKsbEmduvx7QX3inOgp0g13Xtxz5GJwmb/uCaubYSY
KZ5WBFmRAnaz+Qd+xONIwXlde85qffFVdCpP6rRy+GdtPKydE8XpGd/g6Ev765oxfDEk
+MzA==
X-Gm-Message-State: AOJu0YwWAuzxkGy5D6YnBM9iT8H369gugIe8nn5vFX8jd/8ZyRMNiZNc
W3nmv3r2tM0EvNp2/GchwHui2AW0He2tAC8cYbKwvRJoumqdi9/1d1ewGXaEiA==
X-Gm-Gg: Acq92OF09aIXwoGZb097qfzxsG+sDhdWrWQSEXapTyyAkHLqEmzIiG+tMKIGzF7/IS8
VZoFUhTMi8VvTZLRzs6+Nfky2zIgxdB9f5ecOKARQ0DGpeE2qbHAFC5yiqNzV+RMzC7XJhv1wm4
lk5PynROpALxPnHpGGBqTuVst6RVRRbF1fHA4Wvkyb4U8lrSTV9wUuNFVF45uq1fWnvEc+/xkNV
em7c0+cWLAZzrDoWzwhuvfzMPjvmJheL4APOX3h+slCAOD0G/pMgzH6+rV8CSZ6YvwlBTMEzV4E
0pYCg7hSB2Fv5TCD8W+iXb346t8lW/gKIuE18/YWTjeSNEvpTuk4h34NaZqAPfVurAZVpNUaY3K
2JOmKVTsVux5nkktIVLeoiD1bDr7xbs++nJP0UqYXGYN5j2ugzqahoTZa7YWem1VcMYhXBTJINW
huJf6d3LPD/4dCSGnyBwrylaK95/4KpwdpVw==
X-Received: by 2002:a05:6830:d0a:b0:7d9:ad90:5670 with SMTP id
46e09a7af769-7e6e97b6030mr208380a34.18.1780434021627;
Tue, 02 Jun 2026 14:00:21 -0700 (PDT)
Received: from moss ([131.183.130.137]) by smtp.gmail.com with ESMTPSA id
46e09a7af769-7e6e75ef0e4sm360167a34.12.2026.06.02.14.00.20
for <bug-gnu-emacs@HIDDEN>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Tue, 02 Jun 2026 14:00:20 -0700 (PDT)
From: "J.D. Smith" <jdtsmith@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: [PATCH] (v31) Allow brew/macports libgccjit for default native
compilation
Date: Tue, 02 Jun 2026 17:00:19 -0400
Message-ID: <m2fr34u07w.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=2607:f8b0:4864:20::332;
envelope-from=jdtsmith@HIDDEN; helo=mail-ot1-x332.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 2.0 (++)
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: Tags: patch Native compilation appears to be configured by
default if libgccjit is available. On Mac systems,
libgccjit is usually installed
by Homebrew or macports and therefore is not found on the normal lib pa [...]
Content analysis details: (2.0 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received'
headers
-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (jdtsmith[at]gmail.com)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)
--=-=-=
Content-Type: text/plain
Tags: patch
Native compilation appears to be configured by default if libgccjit is
available. On Mac systems, libgccjit is usually installed by Homebrew
or macports and therefore is not found on the normal lib path. It is
located and used to set flags and compile in native-comp support
if and only if `--with-native-compilation` is passed explicitly.
Otherwise, the value of `with_native_compilation' is `default', and
"soft" tests are run, _prior_ to extending the CFLAGS / LIBS. These
tests therefore spuriously fail, even when libgccjit is installed.
E.g.:
checking for gcc_jit_context_acquire in -lgccjit... no
configure: WARNING: Elisp native compiler can't be enabled as libgccjit was not
found.
Please try installing libgccjit or a similar package if you want to have it
enabled.
checking for libgccjit.h... no
configure: WARNING: Elisp native compiler can't be enabled as libgccjit header files
were not found.
Please try installing libgccjit-dev or a similar package if you want to have it
enabled.
This results in disabling native compilation.
This patch moves the Homebrew/macports libgccjit search code up so it
also benefits the "default" case on Darwin/Mac. The result is, if the
libgccjit library is installed by Homebrew or macports, you no longer
need to specify `--with-native-compilation'.
It should still result in an error if the library is not installed and
you explicitly request it.
--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
filename=0001-Allow-brew-macports-libgccjit-for-default-native-com.patch
Content-Description: Allow brew/macports libgccjit for default native compilation
From 5c81aa537fc8ca74dddc1143392516c19c8904bd Mon Sep 17 00:00:00 2001
From: JD Smith <jdtsmith@HIDDEN>
Date: Tue, 2 Jun 2026 16:38:58 -0400
Subject: [PATCH] Allow brew/macports libgccjit for default native compilation
* configure.ac: Move flag setup for libgccjit installed by Homebrew or
macports earlier, so default native compilation can proceed.
---
configure.ac | 54 ++++++++++++++++++++++++++++------------------------
1 file changed, 29 insertions(+), 25 deletions(-)
diff --git a/configure.ac b/configure.ac
index 8bc5f6daa11..7c592e6b89f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5227,25 +5227,7 @@ AC_DEFUN
with_native_compilation=no
fi
-if test "${with_native_compilation}" = "default"; then
- # Check if libgccjit is available.
- AC_CHECK_LIB([gccjit], [gcc_jit_context_acquire],
- [], [libgccjit_not_found])
- AC_CHECK_HEADERS([libgccjit.h], [], [libgccjit_dev_not_found])
- if test "${with_native_compilation}" != "no"; then
- # Check if libgccjit really works.
- AC_RUN_IFELSE([libgccjit_smoke_test], [], [libgccjit_broken])
- fi
-fi
-
if test "${with_native_compilation}" != "no"; then
- if test "${HAVE_ZLIB}" = no; then
- AC_MSG_ERROR(['--with-native-compilation' requires zlib])
- fi
-
- SAVE_CFLAGS=$CFLAGS
- SAVE_LIBS=$LIBS
-
if test "${opsys}" = "darwin"; then
# Ensure libgccjit installed by Homebrew or macports can be found.
if test -n "$BREW"; then
@@ -5282,15 +5264,37 @@ AC_DEFUN
fi
fi
- # In the default case we already checked
- if test "${with_native_compilation}" != "default"; then
- # Check if libgccjit is available.
- AC_CHECK_LIB([gccjit], [gcc_jit_context_acquire],
- [], [libgccjit_not_found_err])
- AC_CHECK_HEADERS([libgccjit.h], [], [libgccjit_dev_not_found_err])
+ # Check if libgccjit is available.
+ AC_CHECK_LIB([gccjit], [gcc_jit_context_acquire], [],
+ [if test "${with_native_compilation}" = "default"; then
+ libgccjit_not_found
+ else
+ libgccjit_not_found_err
+ fi])
+ AC_CHECK_HEADERS([libgccjit.h], [],
+ [if test "${with_native_compilation}" = "default"; then
+ libgccjit_dev_not_found
+ else
+ libgccjit_dev_not_found_err
+ fi])
+ if test "${with_native_compilation}" != "no"; then
# Check if libgccjit really works.
- AC_RUN_IFELSE([libgccjit_smoke_test], [], [libgccjit_broken_err])
+ AC_RUN_IFELSE([libgccjit_smoke_test], [],
+ [if test "${with_native_compilation}" = "default"; then
+ libgccjit_broken
+ else
+ libgccjit_broken_err
+ fi])
fi
+fi
+
+if test "${with_native_compilation}" != "no"; then
+ if test "${HAVE_ZLIB}" = no; then
+ AC_MSG_ERROR(['--with-native-compilation' requires zlib])
+ fi
+
+ SAVE_CFLAGS=$CFLAGS
+ SAVE_LIBS=$LIBS
HAVE_NATIVE_COMP=yes
case "${opsys}" in
# mingw32 loads the library dynamically.
--
2.54.0
--=-=-=--
"J.D. Smith" <jdtsmith@HIDDEN>:bug-gnu-emacs@HIDDEN.
Full text available.bug-gnu-emacs@HIDDEN:bug#81171; Package emacs.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.