From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Loreno Heer Newsgroups: gmane.emacs.bugs Subject: bug#58434: Native compile results in error if -march and -mtune are specified Date: Wed, 12 Oct 2022 12:35:38 +0200 Message-ID: <8c6f532b-35bc-d221-22e7-e37484137be0@bluewin.ch> 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> <83leplcxeb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8917"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Cc: 58434@debbugs.gnu.org, akrl@sdf.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 12 15:21:09 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 1oibfZ-00024f-1y for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Oct 2022 15:21:09 +0200 Original-Received: from localhost ([::1]:44544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oibfY-0001LS-0O for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Oct 2022 09:21:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oibeX-0000p8-Dc for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 09:20:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oibeX-00015o-1C for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 09:20:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oibeW-0002mT-SI for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 09:20:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Loreno Heer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Oct 2022 13:20:04 +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.166558077010580 (code B ref 58434); Wed, 12 Oct 2022 13:20:04 +0000 Original-Received: (at 58434) by debbugs.gnu.org; 12 Oct 2022 13:19:30 +0000 Original-Received: from localhost ([127.0.0.1]:56140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oibdy-0002kT-3Y for submit@debbugs.gnu.org; Wed, 12 Oct 2022 09:19:30 -0400 Original-Received: from vimdzmsp-sfwd01.bluewin.ch ([195.186.120.131]:42822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiZ5Y-0007RK-9c for 58434@debbugs.gnu.org; Wed, 12 Oct 2022 06:35:52 -0400 Original-Received: from [127.0.0.1] ([85.195.238.56]) by vimdzmsp-sfwd01.bluewin.ch Swisscom AG with ESMTPA id iZ5Poyzx3aSptiZ5Pour0R; Wed, 12 Oct 2022 12:35:42 +0200 X-Bluewin-Spam-Analysis: v=2.4 cv=XueZhXJ9 c=1 sm=1 tr=0 ts=6346987e a=rcvfMUkxLIlYvRbKc3jktw==:117 a=rcvfMUkxLIlYvRbKc3jktw==:17 a=IkcTkHD0fZMA:10 a=mDV3o1hIAAAA:8 a=uPZiAMpXAAAA:8 a=6RZNTlsKv4fv7Z5jQ3QA:9 a=QEXdDO2ut3YA:10 a=_FVE-zBwftR9WsbkzFJk:22 X-Bluewin-Spam-Score: 0.00 X-FXIT-IP: IPv4[85.195.238.56] Epoch[1665570942] X-Bluewin-AuthAs: loreno.heer@bluewin.ch Content-Language: en-US In-Reply-To: <83leplcxeb.fsf@gnu.org> X-CMAE-Envelope: MS4xfB5FPN8DCtL8meNCGcB90qEHxRz8q0Wm+9UyY+cIauaZHNDs/SIjA+9/Sn/G5s8zWmkHlWACJ4exmOJ7E0/oppI2urqK0v5DacL8TdcERrOTWDsiwdOT oN6EB7jVzLMobRxrLMZS/6N4Lc/8UKqe++kWVqlVqcKAnQt+WSYFqaMEqxpNXRcy2/PxJddCc023HYPGCCeyawfEr0FAX7GHJ3y/0XWf8LLatOG8g2VGhaoa X-Mailman-Approved-At: Wed, 12 Oct 2022 09:19:27 -0400 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:245207 Archived-At: You are right, did not notice this is a gccjit issue. I filed a bug report with the gcc people. (might also be a packaging problem on mingw and debian, that I don't know) On 12.10.2022 09:29, Eli Zaretskii wrote: >> 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.