From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#57380: 29.0.50; configure --config-cache --with-native-compilation failing Date: Wed, 24 Aug 2022 14:55:25 +0200 Message-ID: References: <83pmgp6cx3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27597"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Cc: 57380@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 24 15:04:30 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 1oQq3a-0006pM-0u for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Aug 2022 15:04:30 +0200 Original-Received: from localhost ([::1]:55686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQq3Y-0002CI-UG for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Aug 2022 09:04:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQpvP-0002VH-44 for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2022 08:56:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56218) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQpvO-0004IM-RI for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2022 08:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQpvO-0002B9-Fz for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2022 08:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Aug 2022 12:56: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.16613457408342 (code B ref 57380); Wed, 24 Aug 2022 12:56:02 +0000 Original-Received: (at 57380) by debbugs.gnu.org; 24 Aug 2022 12:55:40 +0000 Original-Received: from localhost ([127.0.0.1]:45967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQpv1-0002AU-HX for submit@debbugs.gnu.org; Wed, 24 Aug 2022 08:55:39 -0400 Original-Received: from mail-ej1-f50.google.com ([209.85.218.50]:38603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQpuv-0002A9-8E for 57380@debbugs.gnu.org; Wed, 24 Aug 2022 08:55:37 -0400 Original-Received: by mail-ej1-f50.google.com with SMTP id u9so4372531ejy.5 for <57380@debbugs.gnu.org>; Wed, 24 Aug 2022 05:55:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id:from:to:cc; bh=iN+7LSfJv7OrzbLvh9C4tF+2ac5ufuehF4t4llwYmUk=; b=H4KzeezG/pWSUhuop76kqkkrJ/wpox90VDivi5D3iI0F5F9xkIdM0CuMqdiVojwG+3 0YK8vMrDLnnWA2ji0iCNfA7mUbkvl5AvMX1AN9tTrkDvATXX5plwIjq7kBwss1lnB8TR ssbSSNFdUeKR2oFUMbEL74hB8AJCQ/agS0+wUqCmxeeI/U6cPSDhYmy6USzUHsdjSM4R 7F6/y7gsuRuYC+e4gf6quUpLvQtcRu5xt07F2UAM0ajW1fpSJPrrtzlMd1siOMKovr8r pbuCGnhuOKRHGRrMqXvKiK2Q4n8wZZAVIrqYsSNOE05kyy/aU15bEirOh0D2RMfpcwr0 pW3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=iN+7LSfJv7OrzbLvh9C4tF+2ac5ufuehF4t4llwYmUk=; b=Ar6W6MNAZOYSnkXbG6WyqknFRRnzEqDcU0U7fsgj0oLPH9qJ/tEDDUafttOuKcmjTU zlsH1YF4K63jdQz9OYN/PNGQ8MtYoOSG/7JXnITugnHmbyQ27iLkFNva1p69l+KrkGq8 Inwn1m0MbMnV2U5WNGtqC6IqBM7TVkYLFwYQf4hg9zE9nMUwRMi5i5/6BpAzKy2iwrPM 7SiOkg77Kou3rxVyWTZ0ZT+/UPLzhHtMUiahnK9LhSXRTqRf7P+BcZR7AFKcxGKc+geY 7TIgKtRn7N9z+6IJwNjYLxRcT7FBK8vuiasAoEU0295eLV+bIYTcP6QI0/cnDqVohD1s gZUA== X-Gm-Message-State: ACgBeo0473UKhe1zBk0JkEgqJA2Hq1/5aOVEsl3FybRl4CaCzWL2tS2A +WnTh/kFe9jC/pSNQ69RCitB9jh3fx0cPw== X-Google-Smtp-Source: AA6agR5VbaIJI7R090W7tE4FvCVwHIlar2gdtPeFvP94pMhJXN/00PvshslGBP2b2P6/yvc5eJ90aA== X-Received: by 2002:a17:906:7f90:b0:73d:7d37:a893 with SMTP id f16-20020a1709067f9000b0073d7d37a893mr2795782ejr.741.1661345727273; Wed, 24 Aug 2022 05:55:27 -0700 (PDT) Original-Received: from [192.168.178.21] (pd9e366fd.dip0.t-ipconnect.de. [217.227.102.253]) by smtp.gmail.com with ESMTPSA id o11-20020a170906768b00b0073d6cfdc44dsm1118442ejm.115.2022.08.24.05.55.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 Aug 2022 05:55:26 -0700 (PDT) Content-Language: en-US In-Reply-To: <83pmgp6cx3.fsf@gnu.org> 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:240617 Archived-At: On 22-08-24 14:31 , Eli Zaretskii wrote: >> 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? Yeah, they are vastly different: configure:19674: gcc -o conftest -g3 -O2 -isystem /opt/homebrew/Cellar/libffi/3.4.2/include -isystem /opt/homebrew/Cellar/librsvg/2.54.4/include/librsvg-2.0 -isystem /opt/homebrew/Cellar/gdk-pixbuf/2.42.9/include/gdk-pixbuf-2.0 -isystem /opt/homebrew/Cellar/jpeg-turbo/2.1.4... I'd bet a small mount that these come from configure.ac:4266 ff. if test -n "$MAC_CFLAGS" && test -n "$MAC_LIBS"; then CFLAGS="$CFLAGS ${MAC_CFLAGS}" LIBS="$LIBS ${MAC_LIBS}" fi ... AC_RUN_IFELSE([libgccjit_smoke_test], [], [libgccjit_broken]) ... CFLAGS=$SAVE_CFLAGS LIBS=$SAVE_LIBS fi AC_RUN_IFELSE is apparently run differently when using the cache, or something like that. Hm.