From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 04DAFE008BC; Mon, 2 Feb 2015 09:26:18 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.216.53 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from mail-qa0-f53.google.com (mail-qa0-f53.google.com [209.85.216.53]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A8EC8E00824 for ; Mon, 2 Feb 2015 09:26:05 -0800 (PST) Received: by mail-qa0-f53.google.com with SMTP id n4so30133729qaq.12 for ; Mon, 02 Feb 2015 09:26:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=fSoDQ5P6XGJQIb9tl/oNhweVDEGLKO+C1YRHP3eYrzo=; b=l2N/huX76s96FwT/nT33nxsaqhK7toFkGjja652UnSM30f6/w0oA6LL7+O/qNWwajU K3o78Fz+ZCXprqY6vP3TX2SfEB1LhFtpcDBurcGYbq3qnSh8RLtSd1qt9NQa4bdLQpox qFzkJar+8ieFpTZxsXrBEw/paJbYEHjrj4iBUranNyVbUsFsVVtOt1sqdeanBb0mX9sp lnZmalqv6jm/qSlI+3OCSBnkYPQPI343P0xKZJVOnMTr/FMd8WstrjPuJRBhc7rO5ULN LtsOSc+nlDcYZ1ms3CTsWNcDVHPEBANq6duKkfFECoIctuUAwnjS5O1wUIy7TyiPn7dV FPdQ== X-Gm-Message-State: ALoCoQkTuTO6wrFhCjY4FgH5Hjg53wKLiUznp2ZqZFir9i2to2DH+ewyFouXzl0BJbf2j+Er9scS X-Received: by 10.224.103.129 with SMTP id k1mr43596598qao.93.1422897964838; Mon, 02 Feb 2015 09:26:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.96.166 with HTTP; Mon, 2 Feb 2015 09:25:44 -0800 (PST) In-Reply-To: References: From: "Burton, Ross" Date: Mon, 2 Feb 2015 17:25:44 +0000 Message-ID: To: Khem Raj Cc: "yocto@yoctoproject.org" , openembeded-devel , Patches and discussions about the oe-core layer Subject: Re: [RFT] upcoming glibc 2.21 and gcc 4.9 upgrade X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2015 17:26:18 -0000 Content-Type: multipart/alternative; boundary=047d7b66f74bbf11c3050e1e3f8d --047d7b66f74bbf11c3050e1e3f8d Content-Type: text/plain; charset=UTF-8 On 2 February 2015 at 10:54, Khem Raj wrote: > On Mon, Feb 2, 2015 at 2:40 AM, Burton, Ross > wrote: > > cross-localdef-native: > > > > | In file included from glibc/locale/programs/locarchive.c:696:0: > > | glibc/locale/programs/../../intl/l10nflist.c: In function > > '_nl_normalize_codeset': > > | glibc/locale/programs/../../intl/l10nflist.c:306:12: error: missing > binary > > operator before token "(" > > | glibc/locale/programs/../../intl/l10nflist.c:313:9: error: > > '_nl_C_locobj_ptr' undeclared (first use in this function) > > | glibc/locale/programs/../../intl/l10nflist.c:313:9: note: each > undeclared > > identifier is reported only once for each function it appears in > > > gcc would work with latest tree but I did not run into this error. So > wait a while until I get to it. I can confirm that the current branch builds gcc (and everything else in a minimal image) apart from cross-localdef-native, with a long set of errors for me now: | In file included from glibc/locale/programs/locarchive.c:696:0: | glibc/locale/programs/../../intl/l10nflist.c: In function '_nl_normalize_codeset': | glibc/locale/programs/../../intl/l10nflist.c:306:12: error: missing binary operator before token "(" | glibc/locale/programs/../../intl/l10nflist.c:313:9: error: '_nl_C_locobj_ptr' undeclared (first use in this function) | glibc/locale/programs/../../intl/l10nflist.c:313:9: note: each undeclared identifier is reported only once for each function it appears in | glibc/locale/programs/locarchive.c: In function 'add_locales_to_archive': | glibc/locale/programs/locarchive.c:1517:7: warning: passing argument 1 of '__xpg_basename' discards 'const' qualifier from pointer target type [enabled by default] | In file included from /data/poky-master/tmp/work/x86_64-linux/cross-localedef-native/2.21-r0/git/localedef/include/string.h:4:0, | from glibc/locale/programs/locarchive.c:34: | /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' | glibc/locale/programs/ld-ctype.c: In function 'set_class_defaults': | glibc/locale/programs/ld-ctype.c:3012:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3012:7: note: use option -std=c99 or -std=gnu99 to compile your code | glibc/locale/programs/ld-ctype.c:3016:19: error: redefinition of 'cnt' | glibc/locale/programs/ld-ctype.c:3012:19: note: previous definition of 'cnt' was here | glibc/locale/programs/ld-ctype.c:3016:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3034:5: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3038:17: error: redefinition of 'cnt' | glibc/locale/programs/ld-ctype.c:3034:17: note: previous definition of 'cnt' was here | glibc/locale/programs/ld-ctype.c:3038:5: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3250:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3254:19: error: redefinition of 'cnt' | glibc/locale/programs/ld-ctype.c:3250:19: note: previous definition of 'cnt' was here | glibc/locale/programs/ld-ctype.c:3254:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3272:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3276:19: error: redefinition of 'cnt' | glibc/locale/programs/ld-ctype.c:3272:19: note: previous definition of 'cnt' was here | glibc/locale/programs/ld-ctype.c:3276:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3383:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3389:19: error: redefinition of 'cnt' | glibc/locale/programs/ld-ctype.c:3383:19: note: previous definition of 'cnt' was here | glibc/locale/programs/ld-ctype.c:3389:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3401:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c: In function 'allocate_arrays': | glibc/locale/programs/ld-ctype.c:3887:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:4039:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:4062:19: error: redefinition of 'cnt' | glibc/locale/programs/ld-ctype.c:4039:19: note: previous definition of 'cnt' was here | glibc/locale/programs/ld-ctype.c:4062:7: error: 'for' loop initial declarations are only allowed in C99 mode | make: *** [locarchive.o] Error 1 Ross --047d7b66f74bbf11c3050e1e3f8d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On 2 February 2015 at 10:54, Khem Raj <raj.khem@gmail.com> = wrote:
On Mon, Feb 2, 2015 at 2:40 AM,= Burton, Ross <ross.burton@inte= l.com> wrote:
> cross-localdef-native:
>
> | In file included from glibc/locale/programs/locarchive.c:696:0:
> | glibc/locale/programs/../../intl/l10nflist.c: In function
> '_nl_normalize_codeset':
> | glibc/locale/programs/../../intl/l10nflist.c:306:12: error: missing = binary
> operator before token "("
> | glibc/locale/programs/../../intl/l10nflist.c:313:9: error:
> '_nl_C_locobj_ptr' undeclared (first use in this function)
> | glibc/locale/programs/../../intl/l10nflist.c:313:9: note: each undec= lared
> identifier is reported only once for each function it appears in


gcc would work with latest tree but I did not run into this error. S= o
wait a while until I get to it.

I can confirm that th= e current branch builds gcc (and everything else in a minimal image) apart = from cross-localdef-native, with a long set of errors for me now:

| In file included from glibc/locale/programs/locarchive.c:696:= 0:
| glibc/locale/programs/../../intl/l10nf= list.c: In function '_nl_normalize_codeset':
| glibc/locale/programs/../../intl/l10nflist.c:306:12: error: mis= sing binary operator before token "("
| glibc/locale/programs/../../intl/l10nflist.c:313:9: error: '_nl_= C_locobj_ptr' undeclared (first use in this function)
| glibc/locale/programs/../../intl/l10nflist.c:313:9: note= : each undeclared identifier is reported only once for each function it app= ears in
| glibc/locale/programs/locarchive.= c: In function 'add_locales_to_archive':
| glibc/locale/programs/locarchive.c:1517:7: warning: passing argumen= t 1 of '__xpg_basename' discards 'const' qualifier from poi= nter target type [enabled by default]
| In = file included from /data/poky-master/tmp/work/x86_64-linux/cross-localedef-= native/2.21-r0/git/localedef/include/string.h:4:0,
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fro= m glibc/locale/programs/locarchive.c:34:
| = /usr/include/libgen.h:35:14: note: expected 'char *' but argument i= s of type 'const char *'
| glibc/lo= cale/programs/ld-ctype.c: In function 'set_class_defaults':
| glibc/locale/programs/ld-ctype.c:3012:7: error: = 'for' loop initial declarations are only allowed in C99 mode
<= div class=3D"gmail_extra">| glibc/locale/programs/ld-ctype.c:3012:7: note: = use option -std=3Dc99 or -std=3Dgnu99 to compile your code
| glibc/locale/programs/ld-ctype.c:3016:19: error: redefin= ition of 'cnt'
| glibc/locale/progr= ams/ld-ctype.c:3012:19: note: previous definition of 'cnt' was here=
| glibc/locale/programs/ld-ctype.c:3016:7:= error: 'for' loop initial declarations are only allowed in C99 mod= e
| glibc/locale/programs/ld-ctype.c:3034:5= : error: 'for' loop initial declarations are only allowed in C99 mo= de
| glibc/locale/programs/ld-ctype.c:3038:= 17: error: redefinition of 'cnt'
| = glibc/locale/programs/ld-ctype.c:3034:17: note: previous definition of '= ;cnt' was here
| glibc/locale/programs/= ld-ctype.c:3038:5: error: 'for' loop initial declarations are only = allowed in C99 mode
| glibc/locale/programs= /ld-ctype.c:3250:7: error: 'for' loop initial declarations are only= allowed in C99 mode
| glibc/locale/program= s/ld-ctype.c:3254:19: error: redefinition of 'cnt'
| glibc/locale/programs/ld-ctype.c:3250:19: note: previous= definition of 'cnt' was here
| gli= bc/locale/programs/ld-ctype.c:3254:7: error: 'for' loop initial dec= larations are only allowed in C99 mode
| gl= ibc/locale/programs/ld-ctype.c:3272:7: error: 'for' loop initial de= clarations are only allowed in C99 mode
| g= libc/locale/programs/ld-ctype.c:3276:19: error: redefinition of 'cnt= 9;
| glibc/locale/programs/ld-ctype.c:3272:= 19: note: previous definition of 'cnt' was here
| glibc/locale/programs/ld-ctype.c:3276:7: error: 'for'= ; loop initial declarations are only allowed in C99 mode
| glibc/locale/programs/ld-ctype.c:3383:7: error: 'for= 9; loop initial declarations are only allowed in C99 mode
| glibc/locale/programs/ld-ctype.c:3389:19: error: redefin= ition of 'cnt'
| glibc/locale/progr= ams/ld-ctype.c:3383:19: note: previous definition of 'cnt' was here=
| glibc/locale/programs/ld-ctype.c:3389:7:= error: 'for' loop initial declarations are only allowed in C99 mod= e
| glibc/locale/programs/ld-ctype.c:3401:7= : error: 'for' loop initial declarations are only allowed in C99 mo= de
| glibc/locale/programs/ld-ctype.c: In f= unction 'allocate_arrays':
| glibc/= locale/programs/ld-ctype.c:3887:7: error: 'for' loop initial declar= ations are only allowed in C99 mode
| glibc= /locale/programs/ld-ctype.c:4039:7: error: 'for' loop initial decla= rations are only allowed in C99 mode
| glib= c/locale/programs/ld-ctype.c:4062:19: error: redefinition of 'cnt'<= /div>
| glibc/locale/programs/ld-ctype.c:4039:19:= note: previous definition of 'cnt' was here
| glibc/locale/programs/ld-ctype.c:4062:7: error: 'for' l= oop initial declarations are only allowed in C99 mode
| make: *** [locarchive.o] Error 1

Ross
--047d7b66f74bbf11c3050e1e3f8d-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qc0-f174.google.com (mail-qc0-f174.google.com [209.85.216.174]) by mail.openembedded.org (Postfix) with ESMTP id 21FAD61486 for ; Mon, 2 Feb 2015 17:26:03 +0000 (UTC) Received: by mail-qc0-f174.google.com with SMTP id s11so31283139qcv.5 for ; Mon, 02 Feb 2015 09:26:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=fSoDQ5P6XGJQIb9tl/oNhweVDEGLKO+C1YRHP3eYrzo=; b=MYDOzEPZP2c70u7wMopC52dvatp2HxameP9vxbSghlCsmV6hJzNoDRn2hg2bhV8TBn 8TTX9IaI4nEZbNhGBBWiywyUXCvy6AZ66+C/vK2SDBSd3HMJL2lU4qWQOv7DPqzJTTbR MIP15xOaueNkqSInXyJJJlFYNor+jdHmazQ/O+fNPQDSicnU5/VpBsJ/JyMHJTaPEmFH C7MoN0hy3RJ9gxry4wkYs7il5QLXxsi4WLVu2Qi1cddXiRy0Y61cMoOUniZMQ2kF8PW/ x53uvNEMydq1eXE3fnywDjqPju+H+XtzHQ++NR53U+5TJqtbIaVS3x8UZxBau4kz/fZr PylQ== X-Gm-Message-State: ALoCoQnVtDtjm+yai4Sbrcvxhlc130XEtpd2m/KeJUyb4ZGP1BGx+TN1WRBkMO9oNFYNKJo2qrUq X-Received: by 10.224.103.129 with SMTP id k1mr43596598qao.93.1422897964838; Mon, 02 Feb 2015 09:26:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.96.166 with HTTP; Mon, 2 Feb 2015 09:25:44 -0800 (PST) In-Reply-To: References: From: "Burton, Ross" Date: Mon, 2 Feb 2015 17:25:44 +0000 Message-ID: To: Khem Raj Cc: "yocto@yoctoproject.org" , openembeded-devel , Patches and discussions about the oe-core layer Subject: Re: [yocto] [RFT] upcoming glibc 2.21 and gcc 4.9 upgrade X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2015 17:26:11 -0000 Content-Type: multipart/alternative; boundary=047d7b66f74bbf11c3050e1e3f8d --047d7b66f74bbf11c3050e1e3f8d Content-Type: text/plain; charset=UTF-8 On 2 February 2015 at 10:54, Khem Raj wrote: > On Mon, Feb 2, 2015 at 2:40 AM, Burton, Ross > wrote: > > cross-localdef-native: > > > > | In file included from glibc/locale/programs/locarchive.c:696:0: > > | glibc/locale/programs/../../intl/l10nflist.c: In function > > '_nl_normalize_codeset': > > | glibc/locale/programs/../../intl/l10nflist.c:306:12: error: missing > binary > > operator before token "(" > > | glibc/locale/programs/../../intl/l10nflist.c:313:9: error: > > '_nl_C_locobj_ptr' undeclared (first use in this function) > > | glibc/locale/programs/../../intl/l10nflist.c:313:9: note: each > undeclared > > identifier is reported only once for each function it appears in > > > gcc would work with latest tree but I did not run into this error. So > wait a while until I get to it. I can confirm that the current branch builds gcc (and everything else in a minimal image) apart from cross-localdef-native, with a long set of errors for me now: | In file included from glibc/locale/programs/locarchive.c:696:0: | glibc/locale/programs/../../intl/l10nflist.c: In function '_nl_normalize_codeset': | glibc/locale/programs/../../intl/l10nflist.c:306:12: error: missing binary operator before token "(" | glibc/locale/programs/../../intl/l10nflist.c:313:9: error: '_nl_C_locobj_ptr' undeclared (first use in this function) | glibc/locale/programs/../../intl/l10nflist.c:313:9: note: each undeclared identifier is reported only once for each function it appears in | glibc/locale/programs/locarchive.c: In function 'add_locales_to_archive': | glibc/locale/programs/locarchive.c:1517:7: warning: passing argument 1 of '__xpg_basename' discards 'const' qualifier from pointer target type [enabled by default] | In file included from /data/poky-master/tmp/work/x86_64-linux/cross-localedef-native/2.21-r0/git/localedef/include/string.h:4:0, | from glibc/locale/programs/locarchive.c:34: | /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' | glibc/locale/programs/ld-ctype.c: In function 'set_class_defaults': | glibc/locale/programs/ld-ctype.c:3012:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3012:7: note: use option -std=c99 or -std=gnu99 to compile your code | glibc/locale/programs/ld-ctype.c:3016:19: error: redefinition of 'cnt' | glibc/locale/programs/ld-ctype.c:3012:19: note: previous definition of 'cnt' was here | glibc/locale/programs/ld-ctype.c:3016:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3034:5: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3038:17: error: redefinition of 'cnt' | glibc/locale/programs/ld-ctype.c:3034:17: note: previous definition of 'cnt' was here | glibc/locale/programs/ld-ctype.c:3038:5: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3250:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3254:19: error: redefinition of 'cnt' | glibc/locale/programs/ld-ctype.c:3250:19: note: previous definition of 'cnt' was here | glibc/locale/programs/ld-ctype.c:3254:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3272:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3276:19: error: redefinition of 'cnt' | glibc/locale/programs/ld-ctype.c:3272:19: note: previous definition of 'cnt' was here | glibc/locale/programs/ld-ctype.c:3276:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3383:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3389:19: error: redefinition of 'cnt' | glibc/locale/programs/ld-ctype.c:3383:19: note: previous definition of 'cnt' was here | glibc/locale/programs/ld-ctype.c:3389:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3401:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c: In function 'allocate_arrays': | glibc/locale/programs/ld-ctype.c:3887:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:4039:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:4062:19: error: redefinition of 'cnt' | glibc/locale/programs/ld-ctype.c:4039:19: note: previous definition of 'cnt' was here | glibc/locale/programs/ld-ctype.c:4062:7: error: 'for' loop initial declarations are only allowed in C99 mode | make: *** [locarchive.o] Error 1 Ross --047d7b66f74bbf11c3050e1e3f8d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On 2 February 2015 at 10:54, Khem Raj <raj.khem@gmail.com> = wrote:
On Mon, Feb 2, 2015 at 2:40 AM,= Burton, Ross <ross.burton@inte= l.com> wrote:
> cross-localdef-native:
>
> | In file included from glibc/locale/programs/locarchive.c:696:0:
> | glibc/locale/programs/../../intl/l10nflist.c: In function
> '_nl_normalize_codeset':
> | glibc/locale/programs/../../intl/l10nflist.c:306:12: error: missing = binary
> operator before token "("
> | glibc/locale/programs/../../intl/l10nflist.c:313:9: error:
> '_nl_C_locobj_ptr' undeclared (first use in this function)
> | glibc/locale/programs/../../intl/l10nflist.c:313:9: note: each undec= lared
> identifier is reported only once for each function it appears in


gcc would work with latest tree but I did not run into this error. S= o
wait a while until I get to it.

I can confirm that th= e current branch builds gcc (and everything else in a minimal image) apart = from cross-localdef-native, with a long set of errors for me now:

| In file included from glibc/locale/programs/locarchive.c:696:= 0:
| glibc/locale/programs/../../intl/l10nf= list.c: In function '_nl_normalize_codeset':
| glibc/locale/programs/../../intl/l10nflist.c:306:12: error: mis= sing binary operator before token "("
| glibc/locale/programs/../../intl/l10nflist.c:313:9: error: '_nl_= C_locobj_ptr' undeclared (first use in this function)
| glibc/locale/programs/../../intl/l10nflist.c:313:9: note= : each undeclared identifier is reported only once for each function it app= ears in
| glibc/locale/programs/locarchive.= c: In function 'add_locales_to_archive':
| glibc/locale/programs/locarchive.c:1517:7: warning: passing argumen= t 1 of '__xpg_basename' discards 'const' qualifier from poi= nter target type [enabled by default]
| In = file included from /data/poky-master/tmp/work/x86_64-linux/cross-localedef-= native/2.21-r0/git/localedef/include/string.h:4:0,
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fro= m glibc/locale/programs/locarchive.c:34:
| = /usr/include/libgen.h:35:14: note: expected 'char *' but argument i= s of type 'const char *'
| glibc/lo= cale/programs/ld-ctype.c: In function 'set_class_defaults':
| glibc/locale/programs/ld-ctype.c:3012:7: error: = 'for' loop initial declarations are only allowed in C99 mode
<= div class=3D"gmail_extra">| glibc/locale/programs/ld-ctype.c:3012:7: note: = use option -std=3Dc99 or -std=3Dgnu99 to compile your code
| glibc/locale/programs/ld-ctype.c:3016:19: error: redefin= ition of 'cnt'
| glibc/locale/progr= ams/ld-ctype.c:3012:19: note: previous definition of 'cnt' was here=
| glibc/locale/programs/ld-ctype.c:3016:7:= error: 'for' loop initial declarations are only allowed in C99 mod= e
| glibc/locale/programs/ld-ctype.c:3034:5= : error: 'for' loop initial declarations are only allowed in C99 mo= de
| glibc/locale/programs/ld-ctype.c:3038:= 17: error: redefinition of 'cnt'
| = glibc/locale/programs/ld-ctype.c:3034:17: note: previous definition of '= ;cnt' was here
| glibc/locale/programs/= ld-ctype.c:3038:5: error: 'for' loop initial declarations are only = allowed in C99 mode
| glibc/locale/programs= /ld-ctype.c:3250:7: error: 'for' loop initial declarations are only= allowed in C99 mode
| glibc/locale/program= s/ld-ctype.c:3254:19: error: redefinition of 'cnt'
| glibc/locale/programs/ld-ctype.c:3250:19: note: previous= definition of 'cnt' was here
| gli= bc/locale/programs/ld-ctype.c:3254:7: error: 'for' loop initial dec= larations are only allowed in C99 mode
| gl= ibc/locale/programs/ld-ctype.c:3272:7: error: 'for' loop initial de= clarations are only allowed in C99 mode
| g= libc/locale/programs/ld-ctype.c:3276:19: error: redefinition of 'cnt= 9;
| glibc/locale/programs/ld-ctype.c:3272:= 19: note: previous definition of 'cnt' was here
| glibc/locale/programs/ld-ctype.c:3276:7: error: 'for'= ; loop initial declarations are only allowed in C99 mode
| glibc/locale/programs/ld-ctype.c:3383:7: error: 'for= 9; loop initial declarations are only allowed in C99 mode
| glibc/locale/programs/ld-ctype.c:3389:19: error: redefin= ition of 'cnt'
| glibc/locale/progr= ams/ld-ctype.c:3383:19: note: previous definition of 'cnt' was here=
| glibc/locale/programs/ld-ctype.c:3389:7:= error: 'for' loop initial declarations are only allowed in C99 mod= e
| glibc/locale/programs/ld-ctype.c:3401:7= : error: 'for' loop initial declarations are only allowed in C99 mo= de
| glibc/locale/programs/ld-ctype.c: In f= unction 'allocate_arrays':
| glibc/= locale/programs/ld-ctype.c:3887:7: error: 'for' loop initial declar= ations are only allowed in C99 mode
| glibc= /locale/programs/ld-ctype.c:4039:7: error: 'for' loop initial decla= rations are only allowed in C99 mode
| glib= c/locale/programs/ld-ctype.c:4062:19: error: redefinition of 'cnt'<= /div>
| glibc/locale/programs/ld-ctype.c:4039:19:= note: previous definition of 'cnt' was here
| glibc/locale/programs/ld-ctype.c:4062:7: error: 'for' l= oop initial declarations are only allowed in C99 mode
| make: *** [locarchive.o] Error 1

Ross
--047d7b66f74bbf11c3050e1e3f8d-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qg0-f50.google.com (mail-qg0-f50.google.com [209.85.192.50]) by mail.openembedded.org (Postfix) with ESMTP id 01462606BF for ; Mon, 2 Feb 2015 17:26:03 +0000 (UTC) Received: by mail-qg0-f50.google.com with SMTP id f51so48458948qge.9 for ; Mon, 02 Feb 2015 09:26:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=fSoDQ5P6XGJQIb9tl/oNhweVDEGLKO+C1YRHP3eYrzo=; b=DufQrXnMC1cMFWyAKnc4GBIRt1eq9utpLDXSfubPzE8CVQxevuU+hUVgI34pouaN06 9/Mv3O4TRn51gLRVaGxitQCoPY2vO0SNDqL/cC22sTmQ/62UAVBGQDGOOXiM4CZvqgYX qxbr9W4+bq5zARudsANKrMshcyDWcz39zWbFyBaxaGgSIr3mTp7QXqvfb7sl9v5+U3ji xuR2y18SS69PmXCVLYo2SA5QKz8Y7pBdo/Hv2q7F0jzesBI2SajcrOltZnQw0I+9dQE3 0nvREPW4w6kBxNqMaiiQxx1R9WKFpSuAy9NFK0vK0ult0ovcpcpwpcLSIA+/X9E1obVw x1SA== X-Gm-Message-State: ALoCoQlGKMCq2Dvu9V1DRpMhN48W+Ua6Q6UjSqUPyzvQ8n8l2AT0R7fNOsKwnVO+ia7p75Qq1mO3 X-Received: by 10.224.103.129 with SMTP id k1mr43596598qao.93.1422897964838; Mon, 02 Feb 2015 09:26:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.96.166 with HTTP; Mon, 2 Feb 2015 09:25:44 -0800 (PST) In-Reply-To: References: From: "Burton, Ross" Date: Mon, 2 Feb 2015 17:25:44 +0000 Message-ID: To: Khem Raj X-Content-Filtered-By: Mailman/MimeDel 2.1.12 Cc: "yocto@yoctoproject.org" , openembeded-devel , Patches and discussions about the oe-core layer Subject: Re: [yocto] [RFT] upcoming glibc 2.21 and gcc 4.9 upgrade X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2015 17:26:11 -0000 Content-Type: text/plain; charset=UTF-8 On 2 February 2015 at 10:54, Khem Raj wrote: > On Mon, Feb 2, 2015 at 2:40 AM, Burton, Ross > wrote: > > cross-localdef-native: > > > > | In file included from glibc/locale/programs/locarchive.c:696:0: > > | glibc/locale/programs/../../intl/l10nflist.c: In function > > '_nl_normalize_codeset': > > | glibc/locale/programs/../../intl/l10nflist.c:306:12: error: missing > binary > > operator before token "(" > > | glibc/locale/programs/../../intl/l10nflist.c:313:9: error: > > '_nl_C_locobj_ptr' undeclared (first use in this function) > > | glibc/locale/programs/../../intl/l10nflist.c:313:9: note: each > undeclared > > identifier is reported only once for each function it appears in > > > gcc would work with latest tree but I did not run into this error. So > wait a while until I get to it. I can confirm that the current branch builds gcc (and everything else in a minimal image) apart from cross-localdef-native, with a long set of errors for me now: | In file included from glibc/locale/programs/locarchive.c:696:0: | glibc/locale/programs/../../intl/l10nflist.c: In function '_nl_normalize_codeset': | glibc/locale/programs/../../intl/l10nflist.c:306:12: error: missing binary operator before token "(" | glibc/locale/programs/../../intl/l10nflist.c:313:9: error: '_nl_C_locobj_ptr' undeclared (first use in this function) | glibc/locale/programs/../../intl/l10nflist.c:313:9: note: each undeclared identifier is reported only once for each function it appears in | glibc/locale/programs/locarchive.c: In function 'add_locales_to_archive': | glibc/locale/programs/locarchive.c:1517:7: warning: passing argument 1 of '__xpg_basename' discards 'const' qualifier from pointer target type [enabled by default] | In file included from /data/poky-master/tmp/work/x86_64-linux/cross-localedef-native/2.21-r0/git/localedef/include/string.h:4:0, | from glibc/locale/programs/locarchive.c:34: | /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' | glibc/locale/programs/ld-ctype.c: In function 'set_class_defaults': | glibc/locale/programs/ld-ctype.c:3012:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3012:7: note: use option -std=c99 or -std=gnu99 to compile your code | glibc/locale/programs/ld-ctype.c:3016:19: error: redefinition of 'cnt' | glibc/locale/programs/ld-ctype.c:3012:19: note: previous definition of 'cnt' was here | glibc/locale/programs/ld-ctype.c:3016:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3034:5: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3038:17: error: redefinition of 'cnt' | glibc/locale/programs/ld-ctype.c:3034:17: note: previous definition of 'cnt' was here | glibc/locale/programs/ld-ctype.c:3038:5: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3250:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3254:19: error: redefinition of 'cnt' | glibc/locale/programs/ld-ctype.c:3250:19: note: previous definition of 'cnt' was here | glibc/locale/programs/ld-ctype.c:3254:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3272:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3276:19: error: redefinition of 'cnt' | glibc/locale/programs/ld-ctype.c:3272:19: note: previous definition of 'cnt' was here | glibc/locale/programs/ld-ctype.c:3276:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3383:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3389:19: error: redefinition of 'cnt' | glibc/locale/programs/ld-ctype.c:3383:19: note: previous definition of 'cnt' was here | glibc/locale/programs/ld-ctype.c:3389:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:3401:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c: In function 'allocate_arrays': | glibc/locale/programs/ld-ctype.c:3887:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:4039:7: error: 'for' loop initial declarations are only allowed in C99 mode | glibc/locale/programs/ld-ctype.c:4062:19: error: redefinition of 'cnt' | glibc/locale/programs/ld-ctype.c:4039:19: note: previous definition of 'cnt' was here | glibc/locale/programs/ld-ctype.c:4062:7: error: 'for' loop initial declarations are only allowed in C99 mode | make: *** [locarchive.o] Error 1 Ross