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


View this message in rfc822 format

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