2.36 Branch imminent

H.J. Lu hjl.tools@gmail.com
Tue Dec 15 18:25:12 GMT 2020


On Tue, Dec 15, 2020 at 9:33 AM Tom Tromey <tom@tromey.com> wrote:
>
> >> https://sourceware.org/pipermail/gdb-patches/2020-December/174120.html
>
> Thanks.
>
> >> Someone needs to try PGO and LTO build with GDB.   "make check" in GDB
> >> can be used for PGO training.
>
> If the patches don't affect ordinary gdb builds, then I think it's fine

PGO build needs to be enabled with --enable-pgo-build.

> from the gdb perspective.

Thanks.

> If you want PGO to work with gdb, then maybe you could try it.  Also, it
> seems unusual that configure changes were needed in other directories,
> but not in any of the gdb-related ones.

My binutils PGO/LTO branch is at

https://gitlab.com/x86-binutils/binutils-gdb/-/commits/users/hjl/pgo-lto

GDB PGO training with "make check" failed.   Interested GDB developers
can try to fix GDB PGO build  and send me patches.

> I'm not sure that the gdb test suite is really representative of what
> GDB normally does.  It tries to exercise all of GDB's features, which
> includes many weird things that aren't normally used.  On the other
> hand, the typical cause of performance problems in GDB is the DWARF
> reader.  So perhaps a better training would be just "gdb -batch gdb".
>

-- 
H.J.


More information about the Binutils mailing list