From: Andrea Corallo via "Emacs development discussions." <emacs-devel@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Evan Klitzke <evan@eklitzke.org>, emacs-devel@gnu.org
Subject: Re: [PATCH 1/1] Stop using legacy -ffat-lto-objects flag
Date: Mon, 09 Nov 2020 08:57:51 +0000 [thread overview]
Message-ID: <xjf4klygb5c.fsf@sdf.org> (raw)
In-Reply-To: <838sbb5i3a.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 09 Nov 2020 05:23:21 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Evan Klitzke <evan@eklitzke.org>
>> Date: Sun, 08 Nov 2020 12:05:28 -0800
>>
>> Currently when Emacs is configured using the
>> --enable-link-time-optimization configure flag, the build will use the
>> -ffat-lto-objects flag if the host compiler is GCC (but not Clang).
>> According to the comments in configure.ac this is to work around an
>> issue with LTO builds in GCC 4.9.0. This flag makes builds take much
>> longer (and produces much larger object files), so I suggest removing it
>> as GCC 4.x is quite old at this point and doesn't have great LTO support
>> anyway.
>
> I think this is too soon: fencepost.gnu.org, which runs Trisquel LTS,
> still has GCC 4.8.4.
>
> Thanks.
Couldn't we check and decide based on the GCC version? IIUC we already
do something like this using gl_GCC_VERSION_IFELSE.
Andrea
next prev parent reply other threads:[~2020-11-09 8:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-08 20:05 [PATCH 1/1] Stop using legacy -ffat-lto-objects flag Evan Klitzke
2020-11-09 3:23 ` Eli Zaretskii
2020-11-09 8:57 ` Andrea Corallo via Emacs development discussions. [this message]
2020-11-09 15:59 ` Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xjf4klygb5c.fsf@sdf.org \
--to=emacs-devel@gnu.org \
--cc=akrl@sdf.org \
--cc=eliz@gnu.org \
--cc=evan@eklitzke.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).