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#69689: 30.0.50; cannot native compile with -flto in native-comp-compiler-options Date: Sun, 10 Mar 2024 19:47:52 +0200 Message-ID: <86ttleugfr.fsf@gnu.org> References: <87frwyepsy.fsf@strawberrytea.xyz> <86o7bmwqn8.fsf@gnu.org> <87v85ugfh2.fsf@strawberrytea.xyz> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26442"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69689@debbugs.gnu.org, eggert@cs.ucla.edu To: StrawberryTea Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 10 18:48:42 2024 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 1rjNHu-0006jG-Io for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Mar 2024 18:48:42 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjNHj-0004iv-25; Sun, 10 Mar 2024 13:48:31 -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 1rjNHh-0004iQ-AS for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2024 13:48:29 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rjNHh-0004cF-2F for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2024 13:48:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rjNIE-000069-3F for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2024 13:49: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: Sun, 10 Mar 2024 17:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69689 X-GNU-PR-Package: emacs Original-Received: via spool by 69689-submit@debbugs.gnu.org id=B69689.171009291932700 (code B ref 69689); Sun, 10 Mar 2024 17:49:02 +0000 Original-Received: (at 69689) by debbugs.gnu.org; 10 Mar 2024 17:48:39 +0000 Original-Received: from localhost ([127.0.0.1]:37838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjNHq-0008VJ-LT for submit@debbugs.gnu.org; Sun, 10 Mar 2024 13:48:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjNHo-0008UX-Gh for 69689@debbugs.gnu.org; Sun, 10 Mar 2024 13:48:37 -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 1rjNHA-0004Zh-C4; Sun, 10 Mar 2024 13:47:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=zR3kI2T6d7RCQgu9KzWNxwyc6aEK8d6H9GU489E4VN8=; b=jFIWyNvJoWMe h55niWUMJFsc9GjCdkK1WVrugp5ToUV+CrkuPUbzQN1D0HD/PHY872iFv0UhYgqiQwZSI8x0cByZO QjX9KjkuGh3UoC21caIr47fambe7iveR7FsOwHb1CXjWl+PWTBsDcqetWPY3esc1rcktNDhM6IYoJ CEnFM2sWU4P66XvQ0b4ydwOXRhDOHYGowvEthhip4CMbSjkhNt4llqzvjDE1BsJBO0lHjRYRkWjtN +ePP3T6463ECGQsoPM+aUz0J3pbAHT0gH/zy0xLMipZw3ni3Vlc9lOsF3ws2PVnOgLCpKulQMcKNq tqCCx4sa3LmjYrQDaTwEEQ==; In-Reply-To: <87v85ugfh2.fsf@strawberrytea.xyz> (message from StrawberryTea on Sun, 10 Mar 2024 12:32:25 -0500) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:281420 Archived-At: > From: StrawberryTea > Cc: Paul Eggert , 69689@debbugs.gnu.org > Date: Sun, 10 Mar 2024 12:32:25 -0500 > > Well, I wanted to ask here because I wanted to check if anyone else is > able to compile elisp files with -flto in native-comp-compiler-options. > I believe that the error is related to the native-comp branch, as a > Gentoo developer from the libgccjit mailing list has already confirmed > that libgccjit is compiled with lto support. The matter at hand is not > about Emacs's inherent support for -flto, but rather if the native-comp > branch can compile Elisp using the -flto option. I don't see how this is a question for us, given the error messages that you cite in your OP. It clearly says that something is missing in your GCC/Binutils installation, and therefore libgccjit fails to run the GCC driver. How can that be a problem with Emacs?