From unknown Sun Jun 15 08:46:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57023: [PATCH] Take last libgccjit.dylib or .so from homebrew Resent-From: "James N. V. Cash" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Aug 2022 23:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57023 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 57023@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16598281822987 (code B ref -1); Sat, 06 Aug 2022 23:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Aug 2022 23:23:02 +0000 Received: from localhost ([127.0.0.1]:35626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKT8I-0000m6-82 for submit@debbugs.gnu.org; Sat, 06 Aug 2022 19:23:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:56324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKT8D-0000lB-2r for submit@debbugs.gnu.org; Sat, 06 Aug 2022 19:23:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKT8C-0007T5-SV for bug-gnu-emacs@gnu.org; Sat, 06 Aug 2022 19:22:56 -0400 Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]:40536) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKT85-00056V-IN for bug-gnu-emacs@gnu.org; Sat, 06 Aug 2022 19:22:54 -0400 Received: by mail-qt1-x82e.google.com with SMTP id bz13so4348574qtb.7 for ; Sat, 06 Aug 2022 16:22:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:to:from:feedback-id:from:to:cc; bh=JOpKXMzMbIdtcvSVTPJdQ0H6t20bZyzPfoaBWUv/+GQ=; b=Dma7OMys/EsE6W02gcRftAkmC1v5uUAt9zE/MFXr9vSz1AdFswFxqFDIymMhKnrix2 84U1Tqpi5K4uAFOpqz+gKj8SRT46LBPi/n+jLXe5hV6vZckzinPQUU6HDpiMAhpfBDFv GcLKUMeHBdu16NRDDj0DLwb5SiC1Hxq54UBD5R19tuicbKpSOpDhZzSi2Ck6Y8svnddC x5b2gJ4RiiTwAz9y/uNaig8gnrFGOndmFdBq82/t6L7od9oECejEApkaSxSj3OOyj4o3 /BoiRDY3BTwmPo97G4AIcGQxwtl7ywMFl1nDDJLST4KvK7UXG2ukeBGnfnPpapjm8E8f /KWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:feedback-id :x-gm-message-state:from:to:cc; bh=JOpKXMzMbIdtcvSVTPJdQ0H6t20bZyzPfoaBWUv/+GQ=; b=wmrVpWP68dKT2xW2x9PuTSyUbln/e+0f4YymqE8gGD2uWQHl2UdHc1msi45l/kE5wZ 929T6wIoWdHgXJrK/r0LstM5PzlrRi0JCgg33l1Odp7fb0IpyJy87oASKDZ3QuRg0HBz P7Iaqn7dEAMQuLFDUqo3fniyshyAsGG6+Xwa/67iSgASzCrg9Qw7FKKeVGF7N3WzZ1JE yiAYuPrBnZ6xudI4Pt8eTalAA9dHi5Bm6ADG15PC0s1YivBA89N+w20HBgq8pdi8KZk1 xkxLyDayQh+BmMq7FyJbOvhM3+1sNxUm4EsuKvyow4P/NrGztzizl63HEZYIbvkuYSI7 eRDg== X-Gm-Message-State: ACgBeo2Y3WMgE8yHSaD3xN7OOwF1nbnYCqUz0cDfqLQWq/kx4Lp/fxtR 8BK6cV68UdaXxXe5b9ON+Vs2xtRLGJk= X-Google-Smtp-Source: AA6agR7VLl4gl8pXYFEiNFqY3FRAUtzw2wLLfMaykNSRXX47ZicfDtwvaYW2cn/gjYItejHdxKJZlQ== X-Received: by 2002:ac8:7d07:0:b0:31e:e094:ef12 with SMTP id g7-20020ac87d07000000b0031ee094ef12mr11211514qtb.301.1659828166951; Sat, 06 Aug 2022 16:22:46 -0700 (PDT) Received: from auth2-smtp.messagingengine.com (auth2-smtp.messagingengine.com. [66.111.4.228]) by smtp.gmail.com with ESMTPSA id r12-20020ae9d60c000000b006b93fcc9604sm1284615qkk.108.2022.08.06.16.22.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Aug 2022 16:22:46 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id E550B27C0054 for ; Sat, 6 Aug 2022 19:22:45 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 06 Aug 2022 19:22:45 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdefgedgvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtsehmtderredttd dtnecuhfhrohhmpedflfgrmhgvshcupfdrucggrdcuvegrshhhfdcuoehjrghmvghsrdhn vhgtsehgmhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpeffhefhgeeghfehveekhe egtdetvdelueekhfejudeiuefgleefteekteeuheevgeenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjrghmvghspggtrghshhdomhgvshhmth hprghuthhhphgvrhhsohhnrghlihhthidquddvfedvtddvjeelvddqvdejkeegtdduhedv qdhjrghmvghsrdhnvhgtpeepghhmrghilhdrtghomhesohgttggrshhiohhnrghllhihtg hoghgvnhhtrdgtohhm X-ME-Proxy: Feedback-ID: id93146f9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 6 Aug 2022 19:22:45 -0400 (EDT) From: "James N. V. Cash" Date: Sat, 06 Aug 2022 19:22:43 -0400 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::82e; envelope-from=james.nvc@gmail.com; helo=mail-qt1-x82e.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: -2.3 (--) --=-=-= Content-Type: text/plain Tags: patch This patch fixes a bug where building with native-compilation with the latest libgccjit from homebrew fails, because an extra copy of the dylib showing up in the output of brew ls results in a malformed CFLAG. James Cash --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Take-last-libgccjit.dylib-or-.so-from-homebrew.patch >From b5ec156fb396ca4567e900c64ab6faeae1702400 Mon Sep 17 00:00:00 2001 From: "James N. V. Cash" Date: Sat, 6 Aug 2022 18:18:42 -0400 Subject: [PATCH] Take last libgccjit.dylib or .so from homebrew Homebrew now shows multiple dylibs, under "/" and "current/". One is a symlink to the other, so it doesn't matter which we choose, but otherwise the linker flag gets malformed (ends up as "-L/whatever/12/libgccjit.dylib\n/whatever/current/") --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 1a264275bd..f55ffaa339 100644 --- a/configure.ac +++ b/configure.ac @@ -4241,7 +4241,8 @@ AC_DEFUN MAC_CFLAGS="-I$(dirname $($BREW ls -v libgccjit | \ grep libgccjit.h))" MAC_LIBS="-L$(dirname $($BREW ls -v libgccjit| \ - grep -E 'libgccjit\.(so|dylib)$'))" + grep -E 'libgccjit\.(so|dylib)$'| \ + tail -n 1))" fi fi -- 2.32.1 (Apple Git-133) --=-=-=-- From unknown Sun Jun 15 08:46:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57023: [PATCH] Take last libgccjit.dylib or .so from homebrew Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Aug 2022 13:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57023 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: "James N. V. Cash" Cc: 57023@debbugs.gnu.org Received: via spool by 57023-submit@debbugs.gnu.org id=B57023.165987714919751 (code B ref 57023); Sun, 07 Aug 2022 13:00:02 +0000 Received: (at 57023) by debbugs.gnu.org; 7 Aug 2022 12:59:09 +0000 Received: from localhost ([127.0.0.1]:36192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKfs5-00058T-Hs for submit@debbugs.gnu.org; Sun, 07 Aug 2022 08:59:09 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKfs3-00057t-MT for 57023@debbugs.gnu.org; Sun, 07 Aug 2022 08:59:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=SI8vpJrrB13wc1AY/gOW0jzz4KT4APoms5yLqUt++/A=; b=TMPYqqeypJd7Hsxt6fRz8vMxKe dwC1vY36eFeFG6blO7FNoR4cRSc9BkXi7b5b4vBHm3DRYyQ205BfK0/FpphX0CIR/eMm4mUgaJxEN MZcheOTNlKgXb0y1IgjiLz1H5xm55idAXijyRC5xlU/p1hJE+V4kq7ehVgD/JDWCQWv8=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oKfrv-0006en-Nd; Sun, 07 Aug 2022 14:59:01 +0200 From: Lars Ingebrigtsen In-Reply-To: (James N. V. Cash's message of "Sat, 06 Aug 2022 19:22:43 -0400") References: Date: Sun, 07 Aug 2022 14:58:59 +0200 Message-ID: <87v8r41a7g.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: "James N. V. Cash" writes: > This patch fixes a bug where building with native-compilation with the > latest libgccjit from homebrew fails, because an extra copy of the > dylib showing up > in the output of brew ls results in a [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) "James N. V. Cash" writes: > This patch fixes a bug where building with native-compilation with the > latest libgccjit from homebrew fails, because an extra copy of the > dylib showing up > in the output of brew ls results in a malformed CFLAG. This seems to be a duplicate of bug#57029 (and many others), so I'm merging them. From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 07 08:59:15 2022 Received: (at control) by debbugs.gnu.org; 7 Aug 2022 12:59:15 +0000 Received: from localhost ([127.0.0.1]:36195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKfsA-00058m-QI for submit@debbugs.gnu.org; Sun, 07 Aug 2022 08:59:15 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKfs9-00058R-LF for control@debbugs.gnu.org; Sun, 07 Aug 2022 08:59:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ExyXgY5nEcFWrtlK8/OzG3vH1C6cFqcfd0OafHxcXDw=; b=rg8j1Az7KtUExAXawRrYZLKq3s d09HWob1LlJWWrPHJFeaKmX4zI3u3GwHJKnE6WOps/zFeVobZpB+VnLrjpU9IjSbf+42gJmszN2Rp Ifdpn49lIU36s3b97MkcPhec0oSg5IQk2rcd0K5iF10yHQisgWBvbxl4PFlA5KQgrIfc=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oKfs1-0006ey-JO for control@debbugs.gnu.org; Sun, 07 Aug 2022 14:59:07 +0200 Date: Sun, 07 Aug 2022 14:59:05 +0200 Message-Id: <87tu6o1a7a.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #57023 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: forcemerge 57023 57029 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) forcemerge 57023 57029 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 05 14:44:13 2022 Received: (at control) by debbugs.gnu.org; 5 Sep 2022 18:44:13 +0000 Received: from localhost ([127.0.0.1]:48831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVH4u-00072z-Vk for submit@debbugs.gnu.org; Mon, 05 Sep 2022 14:44:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVH4t-00072V-0J for control@debbugs.gnu.org; Mon, 05 Sep 2022 14:44:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=L42R7eqZ20L2jDy7jfXAeMZ8YBpGeBhXj5tr3LxAlB4=; b=Jg/fm+XkLirXrAE3ZS8J6R3hJZ 2jYUcQ64/QEaDaAuD4yIvocT5sWHT0yP2lKS1mEAXhBvOMZaIkrHDs3IZ4LuI0m6w0/G/GGxeYGkt 5qB5QwAn/h6p8o0JOOT2n2MUvVYNvkKhDudksfJlST/NJXVN9/CVAXjiGhoOglXkYd3Q=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oVH4l-0004KD-4R for control@debbugs.gnu.org; Mon, 05 Sep 2022 20:44:05 +0200 Date: Mon, 05 Sep 2022 20:44:00 +0200 Message-Id: <878rmx3bm7.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #57029 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: close 57029 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) close 57029 29.1 quit