[OE-core] [PATCH 3/4] eglibc: Add recipes for 2.14

Richard Purdie richard.purdie at linuxfoundation.org
Wed Sep 28 11:01:58 UTC 2011


On Tue, 2011-09-27 at 18:13 -0700, Khem Raj wrote:
> On Tue, Sep 27, 2011 at 6:02 PM, Saul Wold <saul.wold at intel.com> wrote:
> > On 09/27/2011 05:17 PM, Khem Raj wrote:
> >>
> >> On Tue, Sep 27, 2011 at 4:07 PM, Saul Wold<saul.wold at intel.com>  wrote:
> >>>
> >>> On 09/26/2011 08:39 PM, Khem Raj wrote:
> >>>>
> >>>> Backport Fedora patch to enable sunrpc as it was in 2.13
> >>>> Fix cross-localedef-native to be able to build from eglibc 2.14 branch
> >>>>
> >>>> Tested builds/boot of angstrom/console-image on qemu for
> >>>> arm,mips,ppc,i386,x86_64
> >>>>
> >>>> Signed-off-by: Khem Raj<raj.khem at gmail.com>
> >>>> ---
> >>>>  .../eglibc/cross-localedef-native_2.14.bb          |   44 ++
> >>>>  .../eglibc/eglibc-2.14/IO-acquire-lock-fix.patch   |   17 +
> >>>>  .../eglibc-2.14/armv4-eabi-compile-fix.patch       |   25 +
> >>>>  .../eglibc-2.14/eglibc-rpc-export-again.patch      |   69 +++
> >>>>  .../eglibc-svn-arm-lowlevellock-include-tls.patch  |   21 +
> >>>>  .../eglibc/eglibc-2.14/generate-supported.mk       |   11 +
> >>>>  .../eglibc/eglibc-2.14/ld-search-order.patch       |   56 ++
> >>>>  .../eglibc/eglibc-2.14/mips-rld-map-check.patch    |   26 +
> >>>>  .../eglibc/eglibc-2.14/multilib_readlib.patch      |   17 +
> >>>>  .../recipes-core/eglibc/eglibc-2.14/ppc-sqrt.patch |  538
> >>>> ++++++++++++++++++++
> >>>>  .../eglibc-2.14/shorten-build-commands.patch       |   82 +++
> >>>>  .../eglibc/eglibc-2.14/stack-protector-test.patch  |   35 ++
> >>>>  meta/recipes-core/eglibc/eglibc-initial_2.14.bb    |    6 +
> >>>>  meta/recipes-core/eglibc/eglibc-locale_2.14.bb     |    1 +
> >>>>  meta/recipes-core/eglibc/eglibc_2.14.bb            |  219 ++++++++
> >>>>  15 files changed, 1167 insertions(+), 0 deletions(-)
> >>>>  create mode 100644
> >>>> meta/recipes-core/eglibc/cross-localedef-native_2.14.bb
> >>>>  create mode 100644
> >>>> meta/recipes-core/eglibc/eglibc-2.14/IO-acquire-lock-fix.patch
> >>>>  create mode 100644
> >>>> meta/recipes-core/eglibc/eglibc-2.14/armv4-eabi-compile-fix.patch
> >>>>  create mode 100644
> >>>> meta/recipes-core/eglibc/eglibc-2.14/eglibc-rpc-export-again.patch
> >>>>  create mode 100644
> >>>>
> >>>> meta/recipes-core/eglibc/eglibc-2.14/eglibc-svn-arm-lowlevellock-include-tls.patch
> >>>>  create mode 100644 meta/recipes-core/eglibc/eglibc-2.14/etc/ld.so.conf
> >>>>  create mode 100644
> >>>> meta/recipes-core/eglibc/eglibc-2.14/generate-supported.mk
> >>>>  create mode 100644
> >>>> meta/recipes-core/eglibc/eglibc-2.14/ld-search-order.patch
> >>>>  create mode 100644
> >>>> meta/recipes-core/eglibc/eglibc-2.14/mips-rld-map-check.patch
> >>>>  create mode 100644
> >>>> meta/recipes-core/eglibc/eglibc-2.14/multilib_readlib.patch
> >>>>  create mode 100644 meta/recipes-core/eglibc/eglibc-2.14/ppc-sqrt.patch
> >>>>  create mode 100644
> >>>> meta/recipes-core/eglibc/eglibc-2.14/shorten-build-commands.patch
> >>>>  create mode 100644
> >>>> meta/recipes-core/eglibc/eglibc-2.14/stack-protector-test.patch
> >>>>  create mode 100644 meta/recipes-core/eglibc/eglibc-initial_2.14.bb
> >>>>  create mode 100644 meta/recipes-core/eglibc/eglibc-locale_2.14.bb
> >>>>  create mode 100644 meta/recipes-core/eglibc/eglibc_2.14.bb
> >>>>
> >>>
> >>> Khem,
> >>>
> >>> This one seems to have had a problem on mips, when I built it on the
> >>> Autobuilder, I get the following failure:
> >>> checking for ld --version-script... no
> >>> | *** WARNING: You should not compile GNU libc without versioning. Not
> >>> using
> >>> | *** versioning will introduce incompatibilities so that old binaries
> >>> | *** will not run anymore.
> >>> | *** For versioning you need recent binutils (binutils-2.8.1.0.23 or
> >>> newer).
> >>> | checking for .previous assembler directive... yes
> >>> | checking for .protected and .hidden assembler directive... yes
> >>> | checking whether __attribute__((visibility())) is supported... yes
> >>> | checking for broken __attribute__((visibility()))... no
> >>> | checking for broken __attribute__((alias()))... no
> >>> | checking whethERROR: Function 'do_configure' failed (see
> >>>
> >>> /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/mips-poky-linux/eglibc-2.13-r17+svnr14157/temp/log.do_configure.1476
> >>
> >> this here tells me that its compiling eglibc 2.13 not 2.14
> >> did you change EGLIBCVERSION to 2.14 in
> >> meta/conf/distro/include/tcmode-default.inc ?
> >>
> > Nope, that might be my problem, so something is getting hosed around for
> > mips because everything else is building OK.  Maybe it's one of the compiler
> > changes or does that need tcmode changes also?
> 
> compiler does not need version change. I am not sure whats going on there
> its cross binutils thats not installed properly and thats why the test
> is failing
> 
> Did u try a build from scratch ?

I'm pretty sure this would be a build from scratch.

In an effort to pin down the problem, I've not taken the gcc update yet,
just to be sure we can rule that out. I'm not sure how this could be
eglibc since we've not enabled the new version yet. I did therefore take
that patch.

Cheers,

Richard





More information about the Openembedded-core mailing list