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#58434: Native compile results in error if -march and -mtune are specified Date: Wed, 12 Oct 2022 10:29:48 +0300 Message-ID: <83leplcxeb.fsf@gnu.org> References: <7bf7a01e-224c-3413-b07e-6a5bc3ac85dd@bluewin.ch> <83pmeyeawl.fsf@gnu.org> <18231ac2-baca-e269-0f51-3c34e3283ea3@bluewin.ch> <83lepme4so.fsf@gnu.org> <8335btej34.fsf@gnu.org> <5b3a7a2b-cb65-3458-2c44-efe64b414022@bluewin.ch> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18036"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58434@debbugs.gnu.org, akrl@sdf.org To: Loreno Heer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 12 09:30:21 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 1oiWC4-0004ZG-PF for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Oct 2022 09:30:20 +0200 Original-Received: from localhost ([::1]:40570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiWC2-00035b-Hh for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Oct 2022 03:30:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36310) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiWBo-00034Z-IW for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 03:30:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56455) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiWBn-0003EI-3x for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 03:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiWBm-0006Yl-Tx for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 03:30: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, 12 Oct 2022 07:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58434 X-GNU-PR-Package: emacs Original-Received: via spool by 58434-submit@debbugs.gnu.org id=B58434.166555978625164 (code B ref 58434); Wed, 12 Oct 2022 07:30:02 +0000 Original-Received: (at 58434) by debbugs.gnu.org; 12 Oct 2022 07:29:46 +0000 Original-Received: from localhost ([127.0.0.1]:55533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiWBW-0006Xn-I6 for submit@debbugs.gnu.org; Wed, 12 Oct 2022 03:29:46 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36702) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiWBV-0006Xc-A5 for 58434@debbugs.gnu.org; Wed, 12 Oct 2022 03:29:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49798) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiWBO-0003Bx-IF; Wed, 12 Oct 2022 03:29:38 -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=kky6GXMpIt6jOqkudNYHLAmgqTc49RkiK7YnvN8N4Ps=; b=j1JpKleaLft2 Rjb8+Fns7daNrO4iHlfg9ZArJCOOc3Y4khTLmK3atKf6QTrCBrOxO9rXWWub92jw+g8/9GZRRXRwl BCXCmIr4+nWmNCWBhBjSKv/Z+q6uynEOudtZ25URHJ9370U6m29Iq1T3Tgw2nVZ4PBFbLcOj8e36+ rsXZ6tTErTF2bF1a3iFaW61B1bmoJgmbE7Aki6cL8Y/A7dIBko008lRlfWHi0YF+AtBrfSDeABQp2 H2NiaiDhDTQq3tMBE+3J/6vWB9Xkn4YkQS7e/yz9SKezo6p8c+KSUPEmjB328lp6/yGoDx7Am6D1s wOfzD9xbFkGt7PmiJxEjow==; Original-Received: from [87.69.77.57] (port=2186 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 1oiWBN-0004SW-Rg; Wed, 12 Oct 2022 03:29:38 -0400 In-Reply-To: <5b3a7a2b-cb65-3458-2c44-efe64b414022@bluewin.ch> (message from Loreno Heer on Wed, 12 Oct 2022 09:13:34 +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:245171 Archived-At: > Date: Wed, 12 Oct 2022 09:13:34 +0200 > Cc: 58434@debbugs.gnu.org > From: Loreno Heer > > > OK, so I guess the only problem is that the compiler doesn't support > > "-march=native", and needs a specific architecture instead of a > > generic one. > > Yes, but there might be some disadvantages of specifying the > architecture directly. For example cache sizes are not supplied. > (https://stackoverflow.com/questions/5470257/how-to-see-which-flags-march-native-will-activate?noredirect=1&lq=1) What can Emacs do about this? The problem seems to be between you and libgccjit/GCC you have installed. The rejection comes from there, not from Emacs, AFAIU.