From: Eli Zaretskii <eliz@gnu.org>
To: Loreno Heer <loreno.heer@bluewin.ch>, Andrea Corallo <akrl@sdf.org>
Cc: 58434@debbugs.gnu.org
Subject: bug#58434: Native compile results in error if -march and -mtune are specified
Date: Tue, 11 Oct 2022 18:52:23 +0300 [thread overview]
Message-ID: <83lepme4so.fsf@gnu.org> (raw)
In-Reply-To: <18231ac2-baca-e269-0f51-3c34e3283ea3@bluewin.ch> (message from Loreno Heer on Tue, 11 Oct 2022 15:48:54 +0200)
[Please use Reply All to keep the bug tracker on the CC list.]
> Date: Tue, 11 Oct 2022 15:48:54 +0200
> From: Loreno Heer <loreno.heer@bluewin.ch>
>
> (setq native-comp-compiler-options '("-O2" "-march=native" "-mtune=native"))
>
> in my .emacs file.
> I wanted to speed up the installation a bit. I found the suggestion
> here:
> https://www.reddit.com/r/emacs/comments/prihh8/optimization_flags_for_nativecomp_whats_the/
OK, so the compiler told you it doesn't support -march=native, so you
will have to specify the exact architecture.
Btw, I think you should use native-comp-driver-options for this, not
native-comp-compiler-options. Andrea, am I right? I think GCC is
"driver" and "compiler" means cc1, no? (If I'm right, we need to fix
the doc strings.)
next prev parent reply other threads:[~2022-10-11 15:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-11 9:00 bug#58434: Native compile results in error if -march and -mtune are specified Loreno Heer
2022-10-11 13:40 ` Eli Zaretskii
[not found] ` <18231ac2-baca-e269-0f51-3c34e3283ea3@bluewin.ch>
2022-10-11 15:52 ` Eli Zaretskii [this message]
2022-10-11 18:58 ` Loreno Heer
2022-10-11 19:43 ` Andrea Corallo
2022-10-12 4:55 ` Eli Zaretskii
2022-10-12 7:13 ` Loreno Heer
2022-10-12 7:29 ` Eli Zaretskii
2022-10-12 10:35 ` Loreno Heer
2022-10-12 11:45 ` Andrea Corallo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83lepme4so.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=58434@debbugs.gnu.org \
--cc=akrl@sdf.org \
--cc=loreno.heer@bluewin.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.