Message332134
| 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:49 | vstinner | set | recipients:
+ vstinner, gregory.p.smith |
| 2018年12月19日 12:21:49 | vstinner | set | messageid: <1545222109.33.0.788709270274.issue35499@psf.upfronthosting.co.za> |
| 2018年12月19日 12:21:49 | vstinner | link | issue35499 messages |
| 2018年12月19日 12:21:49 | vstinner | create |
|