Re: [OE-core] [PATCH] glibc: add -fno-builtin-strlen when not using -O2

2016-12-15 Thread Andre McCurdy
On Wed, Dec 14, 2016 at 5:04 PM, Randy MacLeod wrote: > On 2016-12-13 04:16 AM, Andre McCurdy wrote: >> >> On Mon, Dec 12, 2016 at 9:14 PM, Huang, Jie (Jackie) >> wrote: From: Andre McCurdy [mailto:armccu...@gmail.com] For

Re: [OE-core] [PATCH] glibc: add -fno-builtin-strlen when not using -O2

2016-12-14 Thread Randy MacLeod
On 2016-12-13 04:16 AM, Andre McCurdy wrote: On Mon, Dec 12, 2016 at 9:14 PM, Huang, Jie (Jackie) wrote: From: Andre McCurdy [mailto:armccu...@gmail.com] For reference, here's the patch I've been using. It's a slightly more generic fix than the one in the KDE bug

Re: [OE-core] [PATCH] glibc: add -fno-builtin-strlen when not using -O2

2016-12-13 Thread Huang, Jie (Jackie)
> -Original Message- > From: Andre McCurdy [mailto:armccu...@gmail.com] > Sent: Tuesday, December 13, 2016 5:17 PM > To: Huang, Jie (Jackie) > Cc: Khem Raj; Patches and discussions about the oe-core layer > Subject: Re: [OE-core] [PATCH] glibc: add -fno-builtin-str

Re: [OE-core] [PATCH] glibc: add -fno-builtin-strlen when not using -O2

2016-12-13 Thread Andre McCurdy
On Mon, Dec 12, 2016 at 9:14 PM, Huang, Jie (Jackie) wrote: >> From: Andre McCurdy [mailto:armccu...@gmail.com] >> For reference, here's the patch I've been using. It's a slightly more >> generic fix than the one in the KDE bug report. > > Thanks, It's a better patch

Re: [OE-core] [PATCH] glibc: add -fno-builtin-strlen when not using -O2

2016-12-12 Thread Huang, Jie (Jackie)
t; To: Huang, Jie (Jackie) > >> Cc: Patches and discussions about the oe-core layer > >> Subject: Re: [OE-core] [PATCH] glibc: add -fno-builtin-strlen when not > >> using -O2 > >> > >> On Sun, Dec 11, 2016 at 9:42 PM, <jackie.hu...@windriver.com>

Re: [OE-core] [PATCH] glibc: add -fno-builtin-strlen when not using -O2

2016-12-12 Thread Andre McCurdy
discussions about the oe-core layer >> Subject: Re: [OE-core] [PATCH] glibc: add -fno-builtin-strlen when not using >> -O2 >> >> On Sun, Dec 11, 2016 at 9:42 PM, <jackie.hu...@windriver.com> wrote: >> > From: Jackie Huang <jackie.hu...@windriver.com&g

Re: [OE-core] [PATCH] glibc: add -fno-builtin-strlen when not using -O2

2016-12-11 Thread Huang, Jie (Jackie)
> -Original Message- > From: Khem Raj [mailto:raj.k...@gmail.com] > Sent: Monday, December 12, 2016 2:37 PM > To: Huang, Jie (Jackie) > Cc: Patches and discussions about the oe-core layer > Subject: Re: [OE-core] [PATCH] glibc: add -fno-builtin-strlen when not using

Re: [OE-core] [PATCH] glibc: add -fno-builtin-strlen when not using -O2

2016-12-11 Thread Khem Raj
On Sun, Dec 11, 2016 at 9:42 PM, wrote: > From: Jackie Huang > > The strlen will be inlined when compile with -O, -O1 or -Os, > so there is no symbol for strlen in ld-linux-x86-64.so.2, > causing a fatal error in valgrind: > > valgrind:

[OE-core] [PATCH] glibc: add -fno-builtin-strlen when not using -O2

2016-12-11 Thread jackie.huang
From: Jackie Huang The strlen will be inlined when compile with -O, -O1 or -Os, so there is no symbol for strlen in ld-linux-x86-64.so.2, causing a fatal error in valgrind: valgrind: Fatal error at startup: a function redirection valgrind: which is mandatory for this