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.devel Subject: Re: If I choose not to enable native-compile, why does configure complain so much? Date: Wed, 20 Mar 2024 15:07:32 +0200 Message-ID: <86y1ad2grv.fsf@gnu.org> References: <1920A1F3-CF34-4F0F-A3A2-B720D33DDEC9@gmail.com> 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="5967"; mail-complaints-to="usenet@ciao.gmane.io" Cc: paaguti@gmail.com, emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 20 14:08:35 2024 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 1rmvgJ-0001L3-Cr for ged-emacs-devel@m.gmane-mx.org; Wed, 20 Mar 2024 14:08:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmvfX-0003wK-1M; Wed, 20 Mar 2024 09:07:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmvfV-0003vd-9s for emacs-devel@gnu.org; Wed, 20 Mar 2024 09:07:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmvfV-0006Tf-1V; Wed, 20 Mar 2024 09:07:45 -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=1jsR2tvD+zM8pfkOkt9GJgAemFJ/LPeNi2Q0HgoTUHA=; b=mMANWJ9Z5jCbiDbjn4Cl uS9Cp7VrZYiq3wNVLps6xan3AZbto3JNFUJjRai3841xHS2TSH0Y/SStuD1fnyzAwV7wRvRODM4Fw Ja1UHc61S3rsvfGeg70EIh3H7+8WvDypJw5FNkTG+YQUgqxz7cFB9cFJOgaSgMOyjoQYoipaHFgoH 4VLoO6mD0WbRHDRi9al7EXWKRWTn9BTp/9o059vNGl/9QtezhhLip+fDfSlm+3kcIJ7PbtCaxDjUh RnUdsRD4msks2LgTTV4/iPkwZW4YYp0nUDPG2ZWkQCrW3dA/bmoqJk5lUQrRe4110mHDr3Szfxl3S HEvM+skz6257Ag==; In-Reply-To: (message from Andrea Corallo on Wed, 20 Mar 2024 06:05:14 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:317216 Archived-At: > From: Andrea Corallo > Cc: emacs-devel > Date: Wed, 20 Mar 2024 06:05:14 -0400 > > Pedro Andres Aranda Gutierrez writes: > > > Hi, > > > > When I compile Emacs for macOS, I disable native-compilation for good: > > > > ./configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig \ > > LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" \ > > CC=clang OBJC=clang CFLAGS="-g -O3" > > --with-ns --with-modules --with-jansson \ > > --with-native-compilation=no > > > > I know what I’m doing and I don’t know why I get all these messages: > > > > checking for gcc_jit_context_acquire in -lgccjit... no > > configure: WARNING: Elisp native compiler can't be enabled as libgccjit was not > > found. > > Please try installing libgccjit or a similar package if you want to have it > > enabled. > > checking for libgccjit.h... no > > configure: WARNING: Elisp native compiler can't be enabled as libgccjit header files > > were not found. > > Please try installing libgccjit-dev or a similar package if you want to have it > > enabled. > > > > I really DO NOT want notice compilation here…and I know that I’m doing. > > > > Just a bit bored by unwanted messages… > > /PA > > Hello Pedro, > > no need to be frustrated, this is just a bug :) Are we sure there's a bug? My reading of configure.ac is that the libgccjit test is only done if the value of with_native-compilation is "default", but not if it is "no". So I suspect some cockpit error; perhaps the command was typed incorrectly?