public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Enable PGO/LTO build for binutils+gdb
@ 2020-10-29 19:11 H.J. Lu
  2020-10-29 19:11 ` [PATCH 1/3] GCC: Pass --plugin to AR and RANLIB H.J. Lu
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: H.J. Lu @ 2020-10-29 19:11 UTC (permalink / raw)
  To: binutils; +Cc: gcc-patches, Martin Liska

Add the --enable-pgo-build[=lto] configure option.  When binutils+gdb
is not built together with GCC, --enable-pgo-build enables the PGO build:

0. Pass --plugin to AR and RANLIB.
1. First build with -fprofile-generate.
2. Use "make maybe-check-*" to generate profiling data.
3. Use "make clean" to remove the previous build.
4. Rebuild with -fprofile-use.


H.J. Lu (3):
  GCC: Pass --plugin to AR and RANLIB
  Binutils: Pass --plugin to AR and RANLIB
  Support the PGO build for binutils+gdb

 Makefile.in            |  63 ++++++++++++-
 Makefile.tpl           |  63 ++++++++++++-
 bfd/configure          |  27 +++++-
 binutils/configure     |  27 +++++-
 config/gcc-plugin.m4   |  28 ++++++
 configure              | 139 ++++++++++++++++++++++++++-
 configure.ac           |  80 ++++++++++++++++
 gas/configure          |  27 +++++-
 gprof/configure        |  27 +++++-
 ld/configure           |  27 +++++-
 libctf/configure       |  27 +++++-
 libiberty/Makefile.in  |   5 +-
 libiberty/aclocal.m4   |   1 +
 libiberty/configure    |  37 ++++++++
 libiberty/configure.ac |  12 +++
 libtool.m4             |  25 ++++-
 opcodes/configure      |  27 +++++-
 zlib/configure         | 206 ++++++++++++++++++++++++++++++++++++++++-
 18 files changed, 818 insertions(+), 30 deletions(-)

-- 
2.28.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-01-11 16:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-29 19:11 [PATCH 0/3] Enable PGO/LTO build for binutils+gdb H.J. Lu
2020-10-29 19:11 ` [PATCH 1/3] GCC: Pass --plugin to AR and RANLIB H.J. Lu
2021-01-11 14:58   ` Luis Machado
2021-01-11 16:48     ` Hans-Peter Nilsson
2020-10-29 19:11 ` [PATCH 2/3] Binutils: " H.J. Lu
2020-10-29 19:11 ` [PATCH 3/3] Support the PGO build for binutils+gdb H.J. Lu
2020-12-17 16:16   ` Matthias Klose
2020-12-17 16:54   ` Matthias Klose
2020-11-16 13:11 ` PING [PATCH 0/3] Enable PGO/LTO " H.J. Lu
2020-11-27 15:21 ` Martin Liška
2020-12-15 17:10 ` PING^1 " H.J. Lu

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).