Bug 2295

Summary: poky-tiny: eglibc-nativesdk fails to compile xregex.c in meta-toolchain target
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Darren Hart <dvhart>
Component: devtools / tool chainAssignee: Nitin Kamble <nitin.a.kamble>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, reinette.chatre, richard.purdie, song.liu
Version: 1.2   
Target Milestone: 1.2   
Hardware: All   
OS: Multiple   
Whiteboard: (1.2)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Darren Hart 2012-04-14 06:54:23 UTC
Building the meta-toolchain target for qemux86 with DISTRO=poky-tiny fails to compile eglibc-nativesdk with the following error:

...
| In file included from xregex.c:634:0:
| xregex.c: In function 'byte_regex_compile':
| xregex.c:3395:8: error: too few arguments to function 'findidx'
| ../locale/weight.h:23:1: note: declared here
...

  virtual:nativesdk:/home/dvhart/source/poky/meta/recipes-core/eglibc/eglibc_2.15.bb, do_compile

This is as of poky master commit:
commit ee71422b9893f9f77173fb2612d1ffbbc68643c3
Comment 1 Nitin Kamble 2012-04-16 17:25:06 UTC
I am able to reproduce it, and also understand the root cause of the issue. testing a fix now.
Comment 2 Nitin Kamble 2012-04-16 18:35:13 UTC
the potential fix I had does not work, need to look further at the issue.
Comment 3 Richard Purdie 2012-04-16 22:11:18 UTC
Reset priority, this is not a release blocker.
Comment 4 Nitin Kamble 2012-04-16 22:12:31 UTC
I have a fix for this, will post to ML soon.
Comment 5 Richard Purdie 2012-04-17 11:41:03 UTC
Fix for 1.2 in master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=cf05f09f9ffa28a7502ebb9bf1ab00420aee1449

There was a proposal from RP for a better fix in the 1.3 time frame for meta-toolchain.
Comment 6 Reinette Chatre 2012-04-17 17:14:18 UTC
*** Bug 2317 has been marked as a duplicate of this bug. ***