bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/26766] Support standalone PGO build


From: hjl.tools at gmail dot com
Subject: [Bug ld/26766] Support standalone PGO build
Date: Mon, 26 Oct 2020 15:29:57 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=26766

--- Comment #11 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Martin Liska from comment #10)

> - about the --enable-pgo-bootstrap=lto, I would recommend adding an
> orthogonal option: --enable-lto-build where it will append -flto=jobserver
> and will be independent to --enable-pgo-bootstrap as I asked in the original
> comment.
> 

I pass -flto=jobserver to the PGO build.  The separate --enable-lto-build
isn't very useful.  You can build binutils with LTO by passing -flto to
CFLAGS. I will rename --enable-pgo-bootstrap=lto to --enable-pgo-build=lto
since the newly built binutils is used only for PGO training.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]