From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Perry E. Metzger" Newsgroups: gmane.emacs.devel Subject: Re: Failure building with libgccjit under MacOS Monterey Date: Mon, 8 Nov 2021 15:49:28 -0500 Message-ID: <4f09a21c-2007-5949-1dc5-9dda150063f0@piermont.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28393"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:95.0) Gecko/20100101 Thunderbird/95.0 To: Alan Third , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 08 21:50:09 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mkBah-00078h-Tr for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Nov 2021 21:50:07 +0100 Original-Received: from localhost ([::1]:48442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkBag-0006c9-ED for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Nov 2021 15:50:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkBa9-0005vB-59 for emacs-devel@gnu.org; Mon, 08 Nov 2021 15:49:33 -0500 Original-Received: from hacklheber.piermont.com ([166.84.7.14]:55614) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkBa6-0003Mv-BZ for emacs-devel@gnu.org; Mon, 08 Nov 2021 15:49:32 -0500 Original-Received: from snark.cb.piermont.com (localhost [127.0.0.1]) by hacklheber.piermont.com (Postfix) with ESMTP id 8C55A59; Mon, 8 Nov 2021 15:49:29 -0500 (EST) Original-Received: from [10.160.2.107] (jabberwock.cb.piermont.com [10.160.2.107]) by snark.cb.piermont.com (Postfix) with ESMTP id 546932DF473; Mon, 8 Nov 2021 15:49:29 -0500 (EST) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=166.84.7.14; envelope-from=perry@piermont.com; helo=hacklheber.piermont.com X-Spam_score_int: -49 X-Spam_score: -5.0 X-Spam_bar: ----- X-Spam_report: (-5.0 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-3.06, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:279062 Archived-At: On 11/8/21 15:16, Alan Third wrote: > On Sun, Nov 07, 2021 at 04:46:21PM -0500, Perry E. Metzger wrote: >> Howdy! I suspect this is a mistake I'm making somewhere, but I'd like a hint >> on where to look to fix it. When building the Emacs 28 branch on the latest >> MacOS, I unexpectedly get a failure: >> >>   configure: error: The installed libgccjit failed to compile and run a test >> program using >>   the libgccjit library; see config.log for the details of the failure. >> >> Looking at the config.log says (I think this is the key line): >> >>   ld: library not found for -lSystem >> >> A few weeks ago I was building JIT versions of Emacs just fine with the same >> configuration; updating the OS might or might not have been the big change. >> Any ideas what I might need to fix? > How have you installed libgccjit? Using MacPorts. The mechanism hasn't changed significantly since it was last working (nor has the package). > It might be helpful to give a little more context around the error. Is > there a complete command that it's trying to run? I can forward the full build configure if that will help. I suspect most people on the mailing list don't want to see it; should I send it to you personally? Perry