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#57380: 29.0.50; configure --config-cache --with-native-compilation failing Date: Wed, 24 Aug 2022 15:31:20 +0300 Message-ID: <83pmgp6cx3.fsf@gnu.org> 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="33908"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57380@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 24 14:42:47 2022 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 1oQpiZ-0008jS-4Z for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Aug 2022 14:42:47 +0200 Original-Received: from localhost ([::1]:36836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQpiY-0005Cz-3G for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Aug 2022 08:42:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQpYB-0007lp-0f for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2022 08:32:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56151) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQpYA-0006xb-Ms for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2022 08:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQpYA-0007nX-IY for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2022 08:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Aug 2022 12:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57380 X-GNU-PR-Package: emacs Original-Received: via spool by 57380-submit@debbugs.gnu.org id=B57380.166134427929902 (code B ref 57380); Wed, 24 Aug 2022 12:32:02 +0000 Original-Received: (at 57380) by debbugs.gnu.org; 24 Aug 2022 12:31:19 +0000 Original-Received: from localhost ([127.0.0.1]:45896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQpXT-0007mE-7J for submit@debbugs.gnu.org; Wed, 24 Aug 2022 08:31:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQpXS-0007m2-8n for 57380@debbugs.gnu.org; Wed, 24 Aug 2022 08:31:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58082) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQpXN-0006tl-0V; Wed, 24 Aug 2022 08:31:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=FTVVFOjRbDRWF77W5vsU+A3s28salyZPpGrtEQpUUb8=; b=aBlYCusTQiriKdJsMiy5 j1bteYQoedkAhLyS+elVBQYUFBzlLsCB3CRQ85ejNynCNcSmsg//EAgrzUAQ4BtbQTOgYHKOCgzVB aIrXu6GQDtZgfAX04wFAxIraMvCdvpmUxib/iaxx2S1YheOevuE0vl0Wzl4fggwIFngp9RAl7Ok8w Sq0vhh7Q+Ldi1j/1TVWo2a9nQKo9K3DsUBcVpXq9nBv6++aayunY/l8eFTpcqRlYW9wWJ3+0mr7bt JQNFKBHAvec/uICggMMWGQxlYsR97+jt9bfaFselI9NnfXcPgnfeqSlNw10nybASRH4jlUtPcfSRt sRrJ6o1AS0Q2mg==; Original-Received: from [87.69.77.57] (port=4873 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 1oQpXM-0001x3-6O; Wed, 24 Aug 2022 08:31:12 -0400 In-Reply-To: (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Wed, 24 Aug 2022 14:09:07 +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:240611 Archived-At: > From: Gerd Möllmann > Date: Wed, 24 Aug 2022 14:09:07 +0200 > > The second configure, in the first recipe this is './config.status > --recheck', fails with > > checking for gcc_jit_context_acquire in -lgccjit... (cached) yes > checking for libgccjit.h... (cached) 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. > > Config.log says > > configure:19611: checking for libgccjit.h > configure:19611: result: yes > configure:19674: gcc -o conftest -g -O2 conftest.m -lgccjit -lsqlite3 -L/opt/homebrew/Cellar/libgccjit/12.1.0/lib/gcc/current >&5 > conftest.m:131:12: fatal error: 'libgccjit.h' file not found > #include > ^~~~~~~~~~~~~ > 1 error generated. Does the command to compile the test program look different in a config.log from a successful build? If so, what is the difference? (Perhaps some -I switch is missing?) And if there's no difference, how come the same command sometimes succeeds and sometimes fails?