homepage

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 dmalcolm, ncoghlan, vstinner
Date 2010年04月21日.12:01:54
SpamBayes Score 5.482606e-10
Marked as misclassified No
Message-id <1271851316.87.0.731932371297.issue8482@psf.upfronthosting.co.za>
In-reply-to
Content
> The test actually runs fine under "./configure --with-pydebug" (...)
I changed configure to disable all compiler optimisations if --with-pydebug is used. Retry with ./configure CFLAGS="-O0".
A variable may be optimized (use a register instead a variable allocated on the stack) and gdb is unable to get its value. If we are able to isole the variable, you could try to ask gcc to not optimize it... but only if it doesn't change Python performances too much.
Another simple approach is to disable the test if Python was compiled with compiler optimisation. To detect optimization, we should use a gdb batch script trying to read the optimized (or not) variable.
History
Date User Action Args
2010年04月21日 12:01:56vstinnersetrecipients: + vstinner, ncoghlan, dmalcolm
2010年04月21日 12:01:56vstinnersetmessageid: <1271851316.87.0.731932371297.issue8482@psf.upfronthosting.co.za>
2010年04月21日 12:01:54vstinnerlinkissue8482 messages
2010年04月21日 12:01:54vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /