From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#69689: 30.0.50; cannot native compile with -flto in native-comp-compiler-options Date: Mon, 11 Mar 2024 18:03:32 -0700 Organization: UCLA Computer Science Department Message-ID: References: <87frwyepsy.fsf@strawberrytea.xyz> <86o7bmwqn8.fsf@gnu.org> <87v85ugfh2.fsf@strawberrytea.xyz> <865xxsvqg4.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="14926"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 69689@debbugs.gnu.org, look@strawberrytea.xyz To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 12 02:04:57 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 1rjqZd-0003e9-20 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Mar 2024 02:04:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjqZE-0006UJ-T4; Mon, 11 Mar 2024 21:04:32 -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 1rjqZA-0006To-Lb for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2024 21:04:28 -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 1rjqZA-0002Mt-AV for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2024 21:04:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rjqZi-0006qM-El for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2024 21:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Mar 2024 01:05: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.171020545926244 (code B ref 69689); Tue, 12 Mar 2024 01:05:02 +0000 Original-Received: (at 69689) by debbugs.gnu.org; 12 Mar 2024 01:04:19 +0000 Original-Received: from localhost ([127.0.0.1]:41494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjqZ0-0006pE-KD for submit@debbugs.gnu.org; Mon, 11 Mar 2024 21:04:18 -0400 Original-Received: from mail.cs.ucla.edu ([131.179.128.66]:50774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjqYv-0006op-N2 for 69689@debbugs.gnu.org; Mon, 11 Mar 2024 21:04:17 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id E71D73C00F4E2; Mon, 11 Mar 2024 18:03:33 -0700 (PDT) Original-Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP id 4ZJcYk14WJym; Mon, 11 Mar 2024 18:03:33 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id E7FAE3C00E40A; Mon, 11 Mar 2024 18:03:32 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu E7FAE3C00E40A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1710205412; bh=1KOOVS+6mfU8eyFvfpf9iUDFCWPw+qhMTKNFu3DRw5k=; h=Message-ID:Date:MIME-Version:To:From; b=iIWSyjZqIX+orcLQBG2LPYi2xynjpE9XllepltgvtaPwMOCBm/z8ofdCFzDyAgVKs e6g+NYmVYyOsI7aupGggixDsqGIkwFGAG/eW8LOUZ423kU+OSDkZjR66mYHi0BUfdV zqHgnIFmhVT/PETRrwVUF1m/d9ERTKKkeSBqFH2bSF8TMxuJ/9qELbLY+MIuB5383R VVDnDR99E1jlLS+R/iP1MA7kAa8IRRejWzsyBbKMGTKchQr/RlP/B8Zfs5F/sSoL+R 46PdPBWVVdGmbFDdrA4jN4yTU95aqd3uiM/KIxr637mQmRT+Rh49ZECjRB7gIT2TCP bKxNOXDNNTaDQ== X-Virus-Scanned: amavis at mail.cs.ucla.edu Original-Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id MLrYS8blotBX; Mon, 11 Mar 2024 18:03:32 -0700 (PDT) Original-Received: from [131.179.64.200] (Penguin.CS.UCLA.EDU [131.179.64.200]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id C76E33C00F4E2; Mon, 11 Mar 2024 18:03:32 -0700 (PDT) Content-Language: en-US In-Reply-To: <865xxsvqg4.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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:281499 Archived-At: On 3/11/24 06:38, Eli Zaretskii wrote: > configure.ac says "experimental", so I guess it's not yet reliable > enough? It was added by Dmitry Antipov in 2012. I never use it, and didn't even recall it until I looked at configure.ac recently. I've not have good luck with -lto elsewhere. It can make linking slow and it tends to expose compiler bugs. Unless someone's using it regularly I would consider it experimental. > It also uses the getconf command (to figure out the number of CPU > cores?), which AFAIK is for glibc-only systems, right? Yes, but if getconf is missing 'configure' is supposed to do something reasonable anyway.