Re: [OE-core] [PATCH 1/1] python: gcc optimization level 2

2015-12-07 Thread Khem Raj
> On Dec 2, 2015, at 2:28 AM, Hongxu Jia wrote: > > On 12/02/2015 05:57 PM, Burton, Ross wrote: >> >> On 2 December 2015 at 09:51, Hongxu Jia > > wrote: >> The root cause is the qemu didn't support gcc optimization level 3 very well. >> >> Oh, so the problem on

Re: [OE-core] [PATCH 1/1] python: gcc optimization level 2

2015-12-02 Thread Burton, Ross
On 2 December 2015 at 10:28, Hongxu Jia wrote: > Trace the issue costs a lot of time, the original failure was invoking > 'smart update' in qemu, and found out the python md5/sha checksum > output incorrect, and then found out qemu86-64 with corei7-64 did > not support gcc optimization level 3 '

Re: [OE-core] [PATCH 1/1] python: gcc optimization level 2

2015-12-02 Thread Hongxu Jia
On 12/02/2015 05:57 PM, Burton, Ross wrote: On 2 December 2015 at 09:51, Hongxu Jia > wrote: The root cause is the qemu didn't support gcc optimization level 3 very well. Oh, so the problem only appears in qemu if you enable tuning that is known to b

Re: [OE-core] [PATCH 1/1] python: gcc optimization level 2

2015-12-02 Thread Burton, Ross
On 2 December 2015 at 09:51, Hongxu Jia wrote: > The root cause is the qemu didn't support gcc optimization level 3 very > well. > Oh, so the problem only appears in qemu if you enable tuning that is known to be broken in qemu? I don't think we should apply the Python workaround to oe-core as e

Re: [OE-core] [PATCH 1/1] python: gcc optimization level 2

2015-12-02 Thread Hongxu Jia
On 12/02/2015 05:19 PM, Burton, Ross wrote: On 2 December 2015 at 05:06, Hongxu Jia > 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

Re: [OE-core] [PATCH 1/1] python: gcc optimization level 2

2015-12-02 Thread Burton, Ross
On 2 December 2015 at 05:06, Hongxu Jia 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

[OE-core] [PATCH 1/1] python: gcc optimization level 2

2015-12-01 Thread Hongxu Jia
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] Signed-off-by: Hongxu Jia --- .