From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: Failure building with libgccjit under MacOS Monterey Date: Mon, 8 Nov 2021 20:16:32 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26955"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: "Perry E. Metzger" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 08 21:17:38 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 1mkB5G-0006lQ-9w for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Nov 2021 21:17:38 +0100 Original-Received: from localhost ([::1]:35476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkB5A-0004ZL-5H for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Nov 2021 15:17:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkB4K-0003tL-Uf for emacs-devel@gnu.org; Mon, 08 Nov 2021 15:16:41 -0500 Original-Received: from outbound.soverin.net ([116.202.126.228]:49175) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkB4I-0001xv-KR for emacs-devel@gnu.org; Mon, 08 Nov 2021 15:16:40 -0500 Original-Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id DBC1F4F; Mon, 8 Nov 2021 20:16:34 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1636402594; bh=+g2HnOrz1AnYe/+fpJnI7/Kc9bxU74APxiqxclyIPhQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=b9yyehozw7cAmeuzquixjzxDUK/ynQaeRjupdFtDDfGDyACLwWOOG7BulUNz6WoUF dimoNLys1WBqnAKTt06wymnvpvGr+fp0wId56hDCeQc3qrjWgpnBBCrAhAc2rIhFgM YMsKJnwwRYRR1Nt+nLMEuRdurN+i+v0MiBzrub1TzSPEf5tIMbetniDTuoZ4ZKrPz+ gNN3m3EWBdyNoF60aaMP3nNLmTDEcxmOSdo0XXcFD7nu06rssPf6CBsH0OYl0u4AMW rTobDQk+MK5kpfoFoo80+a4HEEN9mnfkHFOO4f1XWnO5W5Ow0VqqXc0DtPRdvGlU2w pEPY7+BoB8hbQ== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2) (envelope-from ) id 1mkB4C-000GYO-5Y; Mon, 08 Nov 2021 20:16:32 +0000 Mail-Followup-To: Alan Third , "Perry E. Metzger" , emacs-devel Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=116.202.126.228; envelope-from=alan@idiocy.org; helo=outbound.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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:279060 Archived-At: 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? It might be helpful to give a little more context around the error. Is there a complete command that it's trying to run? -- Alan Third