On 12/02/2015 05:19 PM, Burton, Ross wrote:

On 2 December 2015 at 05:06, Hongxu Jia <hongxu.jia@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