PING [PATCH 0/3] Enable PGO/LTO build for binutils+gdb

H.J. Lu hjl.tools@gmail.com
Mon Nov 16 13:11:17 GMT 2020


On Thu, Oct 29, 2020 at 12:11 PM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> 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(-)
>

Any comments, objections?

-- 
H.J.


More information about the Gcc-patches mailing list