Re: [OE-core] [PATCH] glibc: Help compile with -Os

2015-03-06 Thread Khem Raj
> On Mar 4, 2015, at 10:53 PM, Robert Yang wrote: > > > Hello, > > I get errors when: > MACHINE = "qemux86" > DEBUG_BUILD = "1" > > $ bitbake glibc We use -O ( which is -O1) when we do DEBUG builds. So same logic as -Os needs to go for -O as well. I will send a patch over weekend if no on

Re: [OE-core] [PATCH] glibc: Help compile with -Os

2015-03-04 Thread Robert Yang
Hello, I get errors when: MACHINE = "qemux86" DEBUG_BUILD = "1" $ bitbake glibc ../include/inline-hashtab.h: In function '_dl_make_tlsdesc_dynamic': ./tlsdeschtab.h:28:1: error: inlining failed in call to 'hash_tlsdesc': indirect function call with a yet undetermined callee [-Werror=inline]

Re: [OE-core] [PATCH] glibc: Help compile with -Os

2015-03-01 Thread Khem Raj
On Mar 1, 2015 8:35 PM, "Peter Urbanec" wrote: > > On 02/03/15 15:23, Peter Urbanec wrote: >> >> I think there's a typo here which prevents this from working as >> intended. The second check is done on "-O0" when it's supposed to be "-Os" > > > Tested patch submitted. > Thanks --

Re: [OE-core] [PATCH] glibc: Help compile with -Os

2015-03-01 Thread Peter Urbanec
On 02/03/15 15:23, Peter Urbanec wrote: I think there's a typo here which prevents this from working as intended. The second check is done on "-O0" when it's supposed to be "-Os" Tested patch submitted. -- ___ Openembedded-core mailing list Openembed

Re: [OE-core] [PATCH] glibc: Help compile with -Os

2015-03-01 Thread Peter Urbanec
On 24/02/15 17:39, Khem Raj wrote: When we modify to use -Os -Werror doesnt go well with it, glibc needs to be cleaned up for that but until then lets disable -Werror when using -Os Change-Id: I5495255fce67953f15c07e423e3e0eef41d4ce5e Signed-off-by: Khem Raj --- meta/recipes-core/glibc/glibc.

Re: [OE-core] [PATCH] glibc: Help compile with -Os

2015-02-24 Thread Khem Raj
> On Feb 24, 2015, at 4:11 AM, Burton, Ross wrote: > > > On 24 February 2015 at 06:39, Khem Raj > wrote: > .../glibc/glibc/eglibc-use-option-groups.patch | 47 > ++ > > Is this chunk related? The commit log only talks about disabling -Werro

Re: [OE-core] [PATCH] glibc: Help compile with -Os

2015-02-24 Thread Burton, Ross
On 24 February 2015 at 06:39, Khem Raj wrote: > .../glibc/glibc/eglibc-use-option-groups.patch | 47 > ++ > Is this chunk related? The commit log only talks about disabling -Werror. Ross -- ___ Openembedded-core mailing list