This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients gregory.p.smith, vstinner
Date 2018-12-19.12:21:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1545222109.33.0.788709270274.issue35499@psf.upfronthosting.co.za>
In-reply-to
Content
> (...) things like PGO often require flags that the linker sees in order to generate the instrumented binary. If those are left off of the link step, you won't have an instrumented binary and won't generate profile data.

Oh, I didn't try my PR...

$ ./configure --enable-optimizations
$ make
...
/usr/bin/ld: libpython3.8m.a(myreadline.o):(.data+0xa0): undefined reference to `__gcov_merge_add'
...

My PR simply doesn't work: we have to pass PGO flags to the linker. At least for the first step generating a profile.

My bad, sorry, I close my PR 11219.
History
Date User Action Args
2018-12-19 12:21:49vstinnersetrecipients: + vstinner, gregory.p.smith
2018-12-19 12:21:49vstinnersetmessageid: <1545222109.33.0.788709270274.issue35499@psf.upfronthosting.co.za>
2018-12-19 12:21:49vstinnerlinkissue35499 messages
2018-12-19 12:21:49vstinnercreate