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: Fri, 23 Oct 2020 14:30:20 +0000

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

--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Martin Liska from comment #7)
> > The way I implement it works better with --enable-pgo-bootstrap=lto since
> > -flto is passed together with PGO options.  --enable-lto can't work without
> > --enable-pgo-bootstrap.
> > 
> 
> Can you please explain to me why it can't work?

LTO option is passed with

# Pass additional PGO and LTO compiler options to the stanalone binutils
# PGO build.
BINUTILS_CFLAGS = $(BINUTILS_PGO_CFLAGS) $(BINUTILS_LTO_CFLAGS)
override CFLAGS += $(BINUTILS_CFLAGS)
override CXXFLAGS += $(BINUTILS_CFLAGS)

-- 
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]