Message319614
| Author |
Dormouse759 |
| Recipients |
Dormouse759, cstratak, jkloth, koobs, mcepl, mi, vstinner |
| Date |
2018年06月15日.13:12:37 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1529068357.48.0.947875510639.issue30345@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
LTO may break the debug symbols and make GDB unusable.
There is an option, that fixes the issue: to use a -g switch in link flags.
Note that this slows loading of the debug symbols significantly.
I suggest these options as possible approaches:
1) make the configure script include -g in LDFLAGS when --enable-optimizations and --with-lto are used
2) same as 1), but only when --with-pydebug is also used.
3) document this problem and make the user aware that this possible fix (-g in link flags) exists |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2018年06月15日 13:12:37 | Dormouse759 | set | recipients:
+ Dormouse759, vstinner, jkloth, mcepl, koobs, cstratak, mi |
| 2018年06月15日 13:12:37 | Dormouse759 | set | messageid: <1529068357.48.0.947875510639.issue30345@psf.upfronthosting.co.za> |
| 2018年06月15日 13:12:37 | Dormouse759 | link | issue30345 messages |
| 2018年06月15日 13:12:37 | Dormouse759 | create |
|