unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Andrea Corallo <akrl@sdf.org>
Cc: evan@eklitzke.org, emacs-devel@gnu.org
Subject: Re: [PATCH 1/1] Stop using legacy -ffat-lto-objects flag
Date: Mon, 09 Nov 2020 17:59:02 +0200	[thread overview]
Message-ID: <83v9ee4j3t.fsf@gnu.org> (raw)
In-Reply-To: <xjf4klygb5c.fsf@sdf.org> (message from Andrea Corallo on Mon, 09 Nov 2020 08:57:51 +0000)

> From: Andrea Corallo <akrl@sdf.org>
> Cc: Evan Klitzke <evan@eklitzke.org>,  emacs-devel@gnu.org
> Date: Mon, 09 Nov 2020 08:57:51 +0000
> 
> >> 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.

That'd be fine with me, thanks.



      reply	other threads:[~2020-11-09 15:59 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.
2020-11-09 15:59     ` Eli Zaretskii [this message]

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=83v9ee4j3t.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=akrl@sdf.org \
    --cc=emacs-devel@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).