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: ./configure --with-native-compilation on macos (11.5.2 Big Sur) Date: Mon, 13 Sep 2021 19:19:57 +0100 Message-ID: References: <5F33DEC8-5272-41B7-A113-32A69A2E7357@traduction-libre.org> <07148D36-9963-4048-AF82-582FF09B5EB2@traduction-libre.org> <06FC1F7D-92CF-4722-AB6F-1B698F48082B@traduction-libre.org> <608CDAE6-7F71-4193-90A0-B145B5A0F0A3@traduction-libre.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13568"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs Devel To: Jean-Christophe Helary Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 13 20:21: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 1mPqaI-0003HT-6D for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Sep 2021 20:21:38 +0200 Original-Received: from localhost ([::1]:44252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPqaH-0006WZ-3G for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Sep 2021 14:21:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPqYz-0005Ri-GJ for emacs-devel@gnu.org; Mon, 13 Sep 2021 14:20:17 -0400 Original-Received: from outbound.soverin.net ([2a01:4f8:fff0:65::8:228]:32859) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPqYw-0005ab-Uy for emacs-devel@gnu.org; Mon, 13 Sep 2021 14:20:16 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.28]) (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 B017847; Mon, 13 Sep 2021 18:20:00 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.142]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1631557200; bh=xmsNyVkcbpe9DgohdHtZA1QqaQmhAowfVwr37NnGE2Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=agy+utZkNJVBcb4aqU03AgElEqB5vfFfGqF+eCfZYGoA3R1sBddbh7SL3RnxHi3Wu m51LqVTR4Hel/QwbS9MZqFriVYAKA01Yc5xKQkFZYdxaUy/VGllbEUYVbKcLv4eoVF 6KTOt2jvcq1uxo86xojhulclbBRVTRPQrWlOHzDfHW2sOAYMelJuNgYorSSWoaEGwe 9fvSuVqZLfn3UOndMwB9oGOB8MfKB0KlCoUOG+YmmI4ijTJfK2jL7ylIg6qvtkpnai //6yRp6Ket7aI5Zy7dP/AqGBZQVRwr4raKetGuI4ZXniCDmT3AzLDGYjQyj1MDjbU1 VSYqKYRBgTM7g== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.94.2) (envelope-from ) id 1mPqYf-001n4A-9V; Mon, 13 Sep 2021 19:19:57 +0100 Mail-Followup-To: Alan Third , Jean-Christophe Helary , Emacs Devel Content-Disposition: inline In-Reply-To: <608CDAE6-7F71-4193-90A0-B145B5A0F0A3@traduction-libre.org> Received-SPF: pass client-ip=2a01:4f8:fff0:65::8: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.23 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:274661 Archived-At: On Mon, Sep 13, 2021 at 09:06:06PM +0900, Jean-Christophe Helary wrote: > > > > On Sep 12, 2021, at 20:59, Alan Third wrote: > > > What this tells me is that either this simple bit of shell script > > behaves entirely differently when run interactively vs when run within > > configure, or... perhaps there's some other problem causing the > > failure further on? > > Here is the error: > > checking for dlfunc... no > checking for gcc_jit_context_acquire in -lgccjit... yes > checking for libgccjit.h... yes > 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. > The test program can be found here: > . > You can try compiling it yourself to investigate the issues. > Please report the issue to your distribution if libgccjit was installed > through that. > You can find the instructions on how to compile and install libgccjit from > source on this site: > . > > > Please resend config.log. > > offlist. Here's the real error: configure:16948: ./conftest ld: library not found for -lgcc_ext.10.5 libgccjit.so: error: error invoking gcc driver I have no idea what gcc_ext.10.5 is about. That's not part of the Homebrew libgccjit install, but it does appear to be part of gcc. Perhaps you need to install Homebrew's gcc as well? But surely it's a dependency...? On the plus side, it does look like my last patch is probably doing the right thing. -- Alan Third