Bug 2443 - poky-tiny: eglibc 2.15 fails to compile xregex.c
Summary: poky-tiny: eglibc 2.15 fails to compile xregex.c
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3
Assignee: Nitin Kamble
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 2382
  Show dependency tree
 
Reported: 2012-05-09 07:02 UTC by Lianhao Lu
Modified: 2012-05-15 16:21 UTC (History)
4 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 Lianhao Lu 2012-05-09 07:02:57 UTC
Building the 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


bug #2295 fixed the same problem for eglibc-nativesdk, now the problem comes into eglibc, since we upgrade target eglibc to 2.15 too.
Comment 2 Nitin Kamble 2012-05-15 16:21:48 UTC
This commit in the master branch has fixed the issue.

commit 95be1d650f3e2b580e4070ee49f752ab3ad3098a
Author: Nitin A Kamble <nitin.a.kamble@intel.com>
Date:   Wed May 9 13:42:45 2012 -0700

    eglibc: fix build with poky-tiny distro

    This fixes bug [YOCTO #2443]

    The prototype of findidx() has changed, but the code in xregex.c is
    still using the old prototype. This issue stayed hidden because this
    code only gets excercised when OPTION_POSIX_REGEXP_GLIBC is disabled
    in the eglibc configuration.
      See the patch for further information.

    (From OE-Core rev: 8691038efb0aca4a2cd61fce0c53d10092e48b75)

    Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>