From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#48804: 27.2; compilation emacs on macOS Date: Fri, 04 Jun 2021 21:55:50 +0300 Message-ID: <83v96tlart.fsf@gnu.org> References: <8335tyw4mk.fsf@gnu.org> <834kedn7hx.fsf@gnu.org> <3AF5227F-7CBC-4F9A-BB72-E4E92F3BFDBF@idiocy.org> <8335txn73m.fsf@gnu.org> <66405D8B-FDF5-4CCC-BDBF-C54A66BDCD3B@algon.dk> <831r9hn37i.fsf@gnu.org> <83wnr9lnr8.fsf@gnu.org> <587B61A2-0B53-49A7-8039-96DD7C3C24DA@algon.dk> <1741ADC5-FF2A-4FDA-A448-BBE82B44525F@algon.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38447"; mail-complaints-to="usenet@ciao.gmane.io" Cc: alan@idiocy.org, nisoni@algon.dk, konrad.podczeck@univie.ac.at, 48804@debbugs.gnu.org To: Niels =?UTF-8?Q?S=C3=B8ndergaard?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 04 20:57:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1lpF0H-0009iT-CT for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Jun 2021 20:57:09 +0200 Original-Received: from localhost ([::1]:51514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpF0F-0000Ky-IO for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Jun 2021 14:57:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50456) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpF0A-0000Ka-8M for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2021 14:57:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36331) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpF0A-00077y-37 for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2021 14:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lpF09-0006kN-Vo for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2021 14:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Jun 2021 18:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48804 X-GNU-PR-Package: emacs Original-Received: via spool by 48804-submit@debbugs.gnu.org id=B48804.162283297225877 (code B ref 48804); Fri, 04 Jun 2021 18:57:01 +0000 Original-Received: (at 48804) by debbugs.gnu.org; 4 Jun 2021 18:56:12 +0000 Original-Received: from localhost ([127.0.0.1]:47877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpEzL-0006jJ-Sf for submit@debbugs.gnu.org; Fri, 04 Jun 2021 14:56:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpEzI-0006j4-N4 for 48804@debbugs.gnu.org; Fri, 04 Jun 2021 14:56:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47336) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpEz9-0006OP-BC; Fri, 04 Jun 2021 14:55:59 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4908 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpEz8-0008T8-SS; Fri, 04 Jun 2021 14:55:59 -0400 In-Reply-To: <1741ADC5-FF2A-4FDA-A448-BBE82B44525F@algon.dk> (message from Niels =?UTF-8?Q?S=C3=B8ndergaard?= on Fri, 4 Jun 2021 17:15:30 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:208035 Archived-At: > From: Niels Søndergaard > Date: Fri, 4 Jun 2021 17:15:30 +0200 > Cc: Alan Third , > Eli Zaretskii , > konrad.podczeck@univie.ac.at, > 48804@debbugs.gnu.org > > with: ./configure --without-ns --with-x-toolkit=no -with-native-compilation --with-mailutils > which is not what I really wants, > > we’re back to the original failure: > > checking libgccjit.h usability... yes > checking libgccjit.h presence... 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. Don't set CC in the environment. Instead, add the directory where the gcc compiler driver (the 'gcc' executable file) is installed to your PATH, but after the directory where clang is installed. Also, make sure you don't have on PATH a 'gcc' executable that actually calls clang. The problem is that you need clang as your compiler to build Emacs, but you need to arrange for libgccjit to find 'gcc' and its C compiler ('cc1').