Bug 2295 - poky-tiny: eglibc-nativesdk fails to compile xregex.c in meta-toolchain target
Summary: poky-tiny: eglibc-nativesdk fails to compile xregex.c in meta-toolchain target
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.2
Hardware: All Multiple
: Medium normal
Target Milestone: 1.2
Assignee: Nitin Kamble
QA Contact:
URL:
Whiteboard: (1.2)
: 2317 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-04-14 06:54 UTC by Darren Hart
Modified: 2012-04-17 17:14 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***