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 17:23:01 +0300 Message-ID: <83czcp67qy.fsf@gnu.org> References: <83pmgp6cx3.fsf@gnu.org> 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="13025"; 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 16:24:20 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 1oQrIq-0003Ey-CG for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Aug 2022 16:24:20 +0200 Original-Received: from localhost ([::1]:35104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQrIp-0000ws-8e for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Aug 2022 10:24:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQrIc-0000wN-9Y for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2022 10:24:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57858) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQrIZ-00044w-1J for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2022 10:24:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQrIY-000740-Tr for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2022 10:24: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 14:24: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.166135098827065 (code B ref 57380); Wed, 24 Aug 2022 14:24:02 +0000 Original-Received: (at 57380) by debbugs.gnu.org; 24 Aug 2022 14:23:08 +0000 Original-Received: from localhost ([127.0.0.1]:47602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQrHc-00072Q-Nq for submit@debbugs.gnu.org; Wed, 24 Aug 2022 10:23:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQrHX-00071f-6X for 57380@debbugs.gnu.org; Wed, 24 Aug 2022 10:23:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44252) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQrHR-0003w5-Sp; Wed, 24 Aug 2022 10:22:53 -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=dtsfxr40Qd++Wh2wkLLErr/FSOX3rr9216H82JDT7Ls=; b=kRI7u8fgAqMaq6Gm93av 501z+cJ7Ad/Gh4lzSIsTSDsJP6PJZfmgRaWDP8gAdMucjmPuBNfOEniCtcFM73m1iYt9L4t9AkdJR 8bxWHDaWMXNXNN7yO3CoPGGtxwGI2WnBnJwTcE4BQn9qnO8QGB/7HoHT4200sEemc4T25nPYml1bK 0AvtNxRctKW1z9X9/wMtljU9duvSbG6c5aNML0ePGICXmzEdOzvKY8ckJ2xcgYbwYiXJwyTxE65Y7 1TBDVMfS5ZC8dZ2QqWnnJqJT6NHHSwjFjh1VTgOL297XaGyy5BCUvkDu6KLA6xA7ZgrdhK2jjgqLz rNauCgnwUr/BcA==; Original-Received: from [87.69.77.57] (port=3921 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 1oQrHP-0003VS-Vg; Wed, 24 Aug 2022 10:22:53 -0400 In-Reply-To: (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Wed, 24 Aug 2022 15:37:16 +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:240629 Archived-At: > From: Gerd Möllmann > Cc: 57380@debbugs.gnu.org > Date: Wed, 24 Aug 2022 15:37:16 +0200 > > Gerd Möllmann writes: > > > > > Gerd Möllmann writes: > > > >> AC_RUN_IFELSE is apparently run differently when using the cache, or > >> something like that. > > > > Success and failure > > > > configure:19674: gcc -o conftest -g3 -O2 ... conftest.c > > configure:19674: gcc -o conftest -g -O2 ... conftest.m > > ^^ > > > > Baffled. > > diff --git a/configure.ac b/configure.ac > index 7616e450d0..08a41a7808 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -4273,6 +4273,7 @@ AC_DEFUN > [], [libgccjit_not_found]) > AC_CHECK_HEADERS([libgccjit.h], [], [libgccjit_dev_not_found]) > # Check if libgccjit really works. > + AC_LANG(C) > AC_RUN_IFELSE([libgccjit_smoke_test], [], [libgccjit_broken]) > HAVE_NATIVE_COMP=yes > case "${opsys}" in > > This makes it work for me. Doh! Do you understand why it is only needed in one of the two cases? And doesn't it affect the following tests? > It that something for emacs-28, or rather not? Guess not, but just in > case. What does this call produce in the configure script?