GNU bug report logs - #58434
Native compile results in error if -march and -mtune are specified

Previous Next

Package: emacs;

Reported by: Loreno Heer <loreno.heer <at> bluewin.ch>

Date: Tue, 11 Oct 2022 11:24:02 UTC

Severity: normal

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


Message #34 received at 58434 <at> debbugs.gnu.org (full text, mbox):

From: Loreno Heer <loreno.heer <at> bluewin.ch>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 58434 <at> debbugs.gnu.org, akrl <at> sdf.org
Subject: Re: bug#58434: Native compile results in error if -march and -mtune
 are specified
Date: Wed, 12 Oct 2022 12:35:38 +0200
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 <at> debbugs.gnu.org
>> From: Loreno Heer <loreno.heer <at> bluewin.ch>
>>
>>> 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.




This bug report was last modified 2 years and 306 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.