Re: [OE-core] [PATCH V2] ltp: set -fomit-frame-pointer explicitly for x86-64

2018-06-15 Thread Yu, Mingli
On 2018年06月15日 17:16, Richard Purdie wrote: On Fri, 2018-06-15 at 17:01 +0800, mingli...@windriver.com wrote: From: Mingli Yu When build ltp with -fno-omit-frame-pointer on x86-64, it will trigger below error: cve-2015-3290.c: In function 'child_thread': cve-2015-3290.c:416:1: error: bp

Re: [OE-core] [PATCH V2] ltp: set -fomit-frame-pointer explicitly for x86-64

2018-06-15 Thread Richard Purdie
On Fri, 2018-06-15 at 17:01 +0800, mingli...@windriver.com wrote: > From: Mingli Yu > > When build ltp with -fno-omit-frame-pointer on > x86-64, it will trigger below error: > > cve-2015-3290.c: In function 'child_thread': > > cve-2015-3290.c:416:1: error: bp cannot be used in asm here > > And

[OE-core] [PATCH V2] ltp: set -fomit-frame-pointer explicitly for x86-64

2018-06-15 Thread mingli.yu
From: Mingli Yu When build ltp with -fno-omit-frame-pointer on x86-64, it will trigger below error: | cve-2015-3290.c: In function 'child_thread': | cve-2015-3290.c:416:1: error: bp cannot be used in asm here And there is also some comment as below in the source file