[OE-core] [PATCH 1/1] python: gcc optimization level 2
Hongxu Jia
hongxu.jia at windriver.com
Wed Dec 2 09:51:00 UTC 2015
On 12/02/2015 05:19 PM, Burton, Ross wrote:
>
> On 2 December 2015 at 05:06, Hongxu Jia <hongxu.jia at windriver.com
> <mailto:hongxu.jia at windriver.com>> wrote:
>
> The qemu didn't support '-march=corei7 -mtune=corei7' and
> gcc optimization level 3 '-O3' very well, in which the
> /usr/lib64/python2.7/test/test_md5.py and
> /usr/lib64/python2.7/test/test_sha.py failed.
>
> So we use gcc optimization level 2 to instead.
>
> YOCTO [# 8747]
>
>
> Has anyone decided if this is a bug in the compiler, or the Python
> code making assumptions that don't hold at -O3?
>
The root cause is the qemu didn't support gcc optimization level 3 very
well.
This fix is a workaround, and I file another defect to trace the root cause.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=8748
//Hongxu
> Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20151202/f79089b9/attachment-0002.html>
More information about the Openembedded-core
mailing list