Bug 5391 - eglibc failes to compile with autoconf 2.69 and make 4.0
Summary: eglibc failes to compile with autoconf 2.69 and make 4.0
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.6
Assignee: Khem Raj
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-10-28 11:55 UTC by Jack Mitchell
Modified: 2014-01-18 14:10 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
0001-eglibc-2.18-Allow-to-use-make-4.0-and-autoconf-2.69-.patch (3.76 KB, patch)
2013-10-30 20:06 UTC, Martin Jansa
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Mitchell 2013-10-28 11:55:11 UTC
eglibc is hardcoded to accept make 3.* and exactly autoconf 2.68. With autoconf 2.69 and make 4.0 released, this causes my nativesdk builds to fail.
Comment 1 Jack Mitchell 2013-10-28 11:56:11 UTC
| checking for gnumake... make
| checking version of make... 4.0, bad
| checking for gnumsgfmt... no
| checking for gmsgfmt... no
| checking for msgfmt... msgfmt
| checking version of msgfmt... 0.18.3, ok
| checking for makeinfo... makeinfo
| checking version of makeinfo... 5.2, ok
| checking for sed... sed
| checking version of sed... 4.2.2, ok
| checking for gawk... gawk
| checking version of gawk... 4.1.0, ok
| checking for i586-oe-linux-nm... i586-oe-linux-nm
| checking for autoconf... autoconf
| checking whether autoconf works... no
| configure: error:
| *** These critical programs are missing or too old: make
| *** Check the INSTALL file for required versions.
Comment 2 Martin Jansa 2013-10-30 18:00:26 UTC
I've changed aclocal and configure to allow newer make and autoconf, but then it fails a bit later in do_compile:

| /OE/oe-core/tmp-eglibc/work/x86_64-oe-linux/eglibc/2.18-r0/eglibc-2.18/libc/resolv/gethnamaddr.c:510: undefined reference to `__stack_chk_guard'
| /OE/oe-core/tmp-eglibc/work/x86_64-oe-linux/eglibc/2.18-r0/build-x86_64-oe-linux/resolv/libresolv_pic.a(gethnamaddr.os):/OE/oe-core/tmp-eglibc/work/x86_64-oe-linux/eglibc/2.18-r0/eglibc-2.18/libc/resolv/gethnamaddr.c:636: more undefined references to `__stack_chk_guard' follow
| collect2: error: ld returned 1 exit status
| ../Makerules:461: recipe for target '/OE/oe-core/tmp-eglibc/work/x86_64-oe-linux/eglibc/2.18-r0/build-x86_64-oe-linux/resolv/libresolv.so' failed
Comment 3 Martin Jansa 2013-10-30 20:06:20 UTC
Created attachment 1596 [details]
0001-eglibc-2.18-Allow-to-use-make-4.0-and-autoconf-2.69-.patch

Just RFC, because it fails later in build.
Comment 4 Martin Jansa 2014-01-18 14:10:30 UTC
Different version of such patch was merged and it looks like this was resolved, please reopen if it still fails for you.