Patchwork [00/14] eglibc 2.16

login
register
mail settings
Submitter Khem Raj
Date July 5, 2012, 2:35 p.m.
Message ID <cover.1341498745.git.raj.khem@gmail.com>
Download mbox
Permalink /patch/31221/
State New
Headers show

Pull-request

git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.16

Comments

Khem Raj - July 5, 2012, 2:35 p.m.
This patch adds eglibc 2.16 recipes. I was able to build world
on x86 except perf which was failing with 2.15 as well.

I have also build and run core-image-sato on all qemus

I did not remove 2.15 to allow some soak in time.

The following changes since commit 5beb7176d361d4bfa279bbfab5a17b8fe4fa3b73:

  netbase: update to ver. 5.0 (2012-07-05 14:18:19 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.16
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.16

Khem Raj (14):
  mirrors: Add debian archive snapshot mirrors to search list
  gdb: Replace struct siginfo with proper siginfo_t
  busybox: Include sys/resource.h for rusage definition
  coreutils: Fix build with eglibc 2.16
  diffutils: Fix build with eglibc 2.16
  udev: Fix build with eglibc 2.16
  gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16
  bison: Fix for gets being removed from eglibc 2.16
  grub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibc
  boost: Upgrade recipe to 1.50.0
  puzzles: Fix checksums
  valgrind: Fix build with eglibc 2.16
  libpam: Fix build with eglibc 2.16
  eglibc: Add recipes for 2.16 release

 meta/classes/mirrors.bbclass                       |    4 +-
 meta/recipes-bsp/grub/grub-1.99/remove-gets.patch  |   20 +
 meta/recipes-bsp/grub/grub_1.99.bb                 |    3 +-
 .../busybox/busybox-1.19.4/sys_resource.patch      |   18 +
 meta/recipes-core/busybox/busybox_1.19.4.bb        |    3 +-
 .../coreutils/coreutils-8.14/remove-gets.patch     |   23 +
 meta/recipes-core/coreutils/coreutils_8.14.bb      |    3 +-
 .../eglibc/cross-localedef-native_2.16.bb          |   44 ++
 .../eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch    |  108 ++++
 .../eglibc/eglibc-2.16/IO-acquire-lock-fix.patch   |   17 +
 .../eglibc-svn-arm-lowlevellock-include-tls.patch  |   21 +
 .../eglibc_fix_findidx_parameters.patch            |   38 ++
 .../eglibc/eglibc-2.16/generate-supported.mk       |   11 +
 .../eglibc/eglibc-2.16/initgroups_keys.patch       |   20 +
 .../eglibc/eglibc-2.16/ld-search-order.patch       |   56 ++
 .../eglibc/eglibc-2.16/mips-rld-map-check.patch    |   26 +
 .../eglibc/eglibc-2.16/multilib_readlib.patch      |   17 +
 .../recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch |  538 ++++++++++++++++++++
 .../eglibc/eglibc-2.16/ppc-sqrt_finite.patch       |  112 ++++
 .../eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch |  123 +++++
 .../eglibc/eglibc-2.16/rpc-bootstrap.patch         |   63 +++
 .../eglibc-2.16/use-sysroot-cxx-headers.patch      |   42 ++
 meta/recipes-core/eglibc/eglibc-initial_2.16.bb    |    6 +
 meta/recipes-core/eglibc/eglibc-locale_2.16.bb     |    1 +
 meta/recipes-core/eglibc/eglibc_2.16.bb            |  146 ++++++
 .../gettext/gettext-0.18.1.1/remove_gets.patch     |   58 +++
 meta/recipes-core/gettext/gettext_0.18.1.1.bb      |    3 +-
 meta/recipes-core/udev/udev/include_resource.patch |   31 ++
 meta/recipes-core/udev/udev_164.bb                 |    7 +-
 .../recipes-devtools/bison/bison/remove-gets.patch |   20 +
 meta/recipes-devtools/bison/bison_2.5.bb           |    6 +-
 meta/recipes-devtools/gdb/gdb-common.inc           |    2 +-
 meta/recipes-devtools/gdb/gdb.inc                  |    1 +
 meta/recipes-devtools/gdb/gdb/siginfo_t.patch      |  403 +++++++++++++++
 .../recipes-devtools/guile/files/remove-gets.patch |   23 +
 meta/recipes-devtools/guile/guile_2.0.5.bb         |    3 +-
 meta/recipes-devtools/m4/m4-1.4.16.inc             |    6 +-
 meta/recipes-devtools/m4/m4/remove-gets.patch      |   21 +
 .../valgrind-3.7.0/configure-with-glibc-2.16.patch |   32 ++
 meta/recipes-devtools/valgrind/valgrind_3.7.0.bb   |    6 +-
 .../augeas/augeas/remove-gets.patch                |   20 +
 meta/recipes-extended/augeas/augeas_0.10.0.bb      |    4 +-
 .../cpio/cpio-2.11/remove-gets.patch               |   20 +
 meta/recipes-extended/cpio/cpio_2.11.bb            |    5 +-
 .../diffutils/diffutils-3.2/remove-gets.patch      |   22 +
 meta/recipes-extended/diffutils/diffutils_3.2.bb   |    6 +-
 .../pam/libpam/include-sys-resource.patch          |   12 +
 meta/recipes-extended/pam/libpam_1.1.5.bb          |    6 +-
 .../tar/tar-1.26/remove-gets.patch                 |   20 +
 meta/recipes-extended/tar/tar_1.26.bb              |    5 +-
 .../wget/wget-1.13.4/remove-gets.patch             |   23 +
 meta/recipes-extended/wget/wget_1.13.4.bb          |    3 +-
 meta/recipes-sato/puzzles/puzzles_r9561.bb         |    5 +-
 .../boost/{boost_1.49.0.bb => boost_1.50.0.bb}     |    5 +-
 .../gnutls/gnutls/remove-gets.patch                |   41 ++
 meta/recipes-support/gnutls/gnutls_2.12.20.bb      |    3 +-
 56 files changed, 2254 insertions(+), 31 deletions(-)
 create mode 100644 meta/recipes-bsp/grub/grub-1.99/remove-gets.patch
 create mode 100644 meta/recipes-core/busybox/busybox-1.19.4/sys_resource.patch
 create mode 100644 meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patch
 create mode 100644 meta/recipes-core/eglibc/cross-localedef-native_2.16.bb
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/IO-acquire-lock-fix.patch
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/eglibc-svn-arm-lowlevellock-include-tls.patch
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/eglibc_fix_findidx_parameters.patch
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/etc/ld.so.conf
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/generate-supported.mk
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/initgroups_keys.patch
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ld-search-order.patch
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/mips-rld-map-check.patch
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/multilib_readlib.patch
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt_finite.patch
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/use-sysroot-cxx-headers.patch
 create mode 100644 meta/recipes-core/eglibc/eglibc-initial_2.16.bb
 create mode 100644 meta/recipes-core/eglibc/eglibc-locale_2.16.bb
 create mode 100644 meta/recipes-core/eglibc/eglibc_2.16.bb
 create mode 100644 meta/recipes-core/gettext/gettext-0.18.1.1/remove_gets.patch
 create mode 100644 meta/recipes-core/udev/udev/include_resource.patch
 create mode 100644 meta/recipes-devtools/bison/bison/remove-gets.patch
 create mode 100644 meta/recipes-devtools/gdb/gdb/siginfo_t.patch
 create mode 100644 meta/recipes-devtools/guile/files/remove-gets.patch
 create mode 100644 meta/recipes-devtools/m4/m4/remove-gets.patch
 create mode 100644 meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-with-glibc-2.16.patch
 create mode 100644 meta/recipes-extended/augeas/augeas/remove-gets.patch
 create mode 100644 meta/recipes-extended/cpio/cpio-2.11/remove-gets.patch
 create mode 100644 meta/recipes-extended/diffutils/diffutils-3.2/remove-gets.patch
 create mode 100644 meta/recipes-extended/pam/libpam/include-sys-resource.patch
 create mode 100644 meta/recipes-extended/tar/tar-1.26/remove-gets.patch
 create mode 100644 meta/recipes-extended/wget/wget-1.13.4/remove-gets.patch
 rename meta/recipes-support/boost/{boost_1.49.0.bb => boost_1.50.0.bb} (53%)
 create mode 100644 meta/recipes-support/gnutls/gnutls/remove-gets.patch
Martin Jansa - July 5, 2012, 8:23 p.m.
On Thu, Jul 05, 2012 at 07:35:19AM -0700, Khem Raj wrote:
> This patch adds eglibc 2.16 recipes. I was able to build world
> on x86 except perf which was failing with 2.15 as well.
> 
> I have also build and run core-image-sato on all qemus
> 
> I did not remove 2.15 to allow some soak in time.
> 
> The following changes since commit 5beb7176d361d4bfa279bbfab5a17b8fe4fa3b73:
> 
>   netbase: update to ver. 5.0 (2012-07-05 14:18:19 +0100)

Build and runtime tested on armv4t with bfd (om-gta02), but on armv7a 
(where I have enabled gold) it fails in do_configure already.

*** These critical programs are missing or too old: ld

IIRC I've seen this with older eglibc too, but then it was working
again..

BTW: gold on armv4t is still unusable right?

Cheers,

> 
> are available in the git repository at:
> 
>   git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.16
>   http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.16
> 
> Khem Raj (14):
>   mirrors: Add debian archive snapshot mirrors to search list
>   gdb: Replace struct siginfo with proper siginfo_t
>   busybox: Include sys/resource.h for rusage definition
>   coreutils: Fix build with eglibc 2.16
>   diffutils: Fix build with eglibc 2.16
>   udev: Fix build with eglibc 2.16
>   gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16
>   bison: Fix for gets being removed from eglibc 2.16
>   grub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibc
>   boost: Upgrade recipe to 1.50.0
>   puzzles: Fix checksums
>   valgrind: Fix build with eglibc 2.16
>   libpam: Fix build with eglibc 2.16
>   eglibc: Add recipes for 2.16 release
> 
>  meta/classes/mirrors.bbclass                       |    4 +-
>  meta/recipes-bsp/grub/grub-1.99/remove-gets.patch  |   20 +
>  meta/recipes-bsp/grub/grub_1.99.bb                 |    3 +-
>  .../busybox/busybox-1.19.4/sys_resource.patch      |   18 +
>  meta/recipes-core/busybox/busybox_1.19.4.bb        |    3 +-
>  .../coreutils/coreutils-8.14/remove-gets.patch     |   23 +
>  meta/recipes-core/coreutils/coreutils_8.14.bb      |    3 +-
>  .../eglibc/cross-localedef-native_2.16.bb          |   44 ++
>  .../eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch    |  108 ++++
>  .../eglibc/eglibc-2.16/IO-acquire-lock-fix.patch   |   17 +
>  .../eglibc-svn-arm-lowlevellock-include-tls.patch  |   21 +
>  .../eglibc_fix_findidx_parameters.patch            |   38 ++
>  .../eglibc/eglibc-2.16/generate-supported.mk       |   11 +
>  .../eglibc/eglibc-2.16/initgroups_keys.patch       |   20 +
>  .../eglibc/eglibc-2.16/ld-search-order.patch       |   56 ++
>  .../eglibc/eglibc-2.16/mips-rld-map-check.patch    |   26 +
>  .../eglibc/eglibc-2.16/multilib_readlib.patch      |   17 +
>  .../recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch |  538 ++++++++++++++++++++
>  .../eglibc/eglibc-2.16/ppc-sqrt_finite.patch       |  112 ++++
>  .../eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch |  123 +++++
>  .../eglibc/eglibc-2.16/rpc-bootstrap.patch         |   63 +++
>  .../eglibc-2.16/use-sysroot-cxx-headers.patch      |   42 ++
>  meta/recipes-core/eglibc/eglibc-initial_2.16.bb    |    6 +
>  meta/recipes-core/eglibc/eglibc-locale_2.16.bb     |    1 +
>  meta/recipes-core/eglibc/eglibc_2.16.bb            |  146 ++++++
>  .../gettext/gettext-0.18.1.1/remove_gets.patch     |   58 +++
>  meta/recipes-core/gettext/gettext_0.18.1.1.bb      |    3 +-
>  meta/recipes-core/udev/udev/include_resource.patch |   31 ++
>  meta/recipes-core/udev/udev_164.bb                 |    7 +-
>  .../recipes-devtools/bison/bison/remove-gets.patch |   20 +
>  meta/recipes-devtools/bison/bison_2.5.bb           |    6 +-
>  meta/recipes-devtools/gdb/gdb-common.inc           |    2 +-
>  meta/recipes-devtools/gdb/gdb.inc                  |    1 +
>  meta/recipes-devtools/gdb/gdb/siginfo_t.patch      |  403 +++++++++++++++
>  .../recipes-devtools/guile/files/remove-gets.patch |   23 +
>  meta/recipes-devtools/guile/guile_2.0.5.bb         |    3 +-
>  meta/recipes-devtools/m4/m4-1.4.16.inc             |    6 +-
>  meta/recipes-devtools/m4/m4/remove-gets.patch      |   21 +
>  .../valgrind-3.7.0/configure-with-glibc-2.16.patch |   32 ++
>  meta/recipes-devtools/valgrind/valgrind_3.7.0.bb   |    6 +-
>  .../augeas/augeas/remove-gets.patch                |   20 +
>  meta/recipes-extended/augeas/augeas_0.10.0.bb      |    4 +-
>  .../cpio/cpio-2.11/remove-gets.patch               |   20 +
>  meta/recipes-extended/cpio/cpio_2.11.bb            |    5 +-
>  .../diffutils/diffutils-3.2/remove-gets.patch      |   22 +
>  meta/recipes-extended/diffutils/diffutils_3.2.bb   |    6 +-
>  .../pam/libpam/include-sys-resource.patch          |   12 +
>  meta/recipes-extended/pam/libpam_1.1.5.bb          |    6 +-
>  .../tar/tar-1.26/remove-gets.patch                 |   20 +
>  meta/recipes-extended/tar/tar_1.26.bb              |    5 +-
>  .../wget/wget-1.13.4/remove-gets.patch             |   23 +
>  meta/recipes-extended/wget/wget_1.13.4.bb          |    3 +-
>  meta/recipes-sato/puzzles/puzzles_r9561.bb         |    5 +-
>  .../boost/{boost_1.49.0.bb => boost_1.50.0.bb}     |    5 +-
>  .../gnutls/gnutls/remove-gets.patch                |   41 ++
>  meta/recipes-support/gnutls/gnutls_2.12.20.bb      |    3 +-
>  56 files changed, 2254 insertions(+), 31 deletions(-)
>  create mode 100644 meta/recipes-bsp/grub/grub-1.99/remove-gets.patch
>  create mode 100644 meta/recipes-core/busybox/busybox-1.19.4/sys_resource.patch
>  create mode 100644 meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patch
>  create mode 100644 meta/recipes-core/eglibc/cross-localedef-native_2.16.bb
>  create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch
>  create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/IO-acquire-lock-fix.patch
>  create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/eglibc-svn-arm-lowlevellock-include-tls.patch
>  create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/eglibc_fix_findidx_parameters.patch
>  create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/etc/ld.so.conf
>  create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/generate-supported.mk
>  create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/initgroups_keys.patch
>  create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ld-search-order.patch
>  create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/mips-rld-map-check.patch
>  create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/multilib_readlib.patch
>  create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch
>  create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt_finite.patch
>  create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch
>  create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch
>  create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/use-sysroot-cxx-headers.patch
>  create mode 100644 meta/recipes-core/eglibc/eglibc-initial_2.16.bb
>  create mode 100644 meta/recipes-core/eglibc/eglibc-locale_2.16.bb
>  create mode 100644 meta/recipes-core/eglibc/eglibc_2.16.bb
>  create mode 100644 meta/recipes-core/gettext/gettext-0.18.1.1/remove_gets.patch
>  create mode 100644 meta/recipes-core/udev/udev/include_resource.patch
>  create mode 100644 meta/recipes-devtools/bison/bison/remove-gets.patch
>  create mode 100644 meta/recipes-devtools/gdb/gdb/siginfo_t.patch
>  create mode 100644 meta/recipes-devtools/guile/files/remove-gets.patch
>  create mode 100644 meta/recipes-devtools/m4/m4/remove-gets.patch
>  create mode 100644 meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-with-glibc-2.16.patch
>  create mode 100644 meta/recipes-extended/augeas/augeas/remove-gets.patch
>  create mode 100644 meta/recipes-extended/cpio/cpio-2.11/remove-gets.patch
>  create mode 100644 meta/recipes-extended/diffutils/diffutils-3.2/remove-gets.patch
>  create mode 100644 meta/recipes-extended/pam/libpam/include-sys-resource.patch
>  create mode 100644 meta/recipes-extended/tar/tar-1.26/remove-gets.patch
>  create mode 100644 meta/recipes-extended/wget/wget-1.13.4/remove-gets.patch
>  rename meta/recipes-support/boost/{boost_1.49.0.bb => boost_1.50.0.bb} (53%)
>  create mode 100644 meta/recipes-support/gnutls/gnutls/remove-gets.patch
> 
> -- 
> 1.7.9.5
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Khem Raj - July 5, 2012, 8:39 p.m.
On Thu, Jul 5, 2012 at 1:23 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Thu, Jul 05, 2012 at 07:35:19AM -0700, Khem Raj wrote:
>> This patch adds eglibc 2.16 recipes. I was able to build world
>> on x86 except perf which was failing with 2.15 as well.
>>
>> I have also build and run core-image-sato on all qemus
>>
>> I did not remove 2.15 to allow some soak in time.
>>
>> The following changes since commit 5beb7176d361d4bfa279bbfab5a17b8fe4fa3b73:
>>
>>   netbase: update to ver. 5.0 (2012-07-05 14:18:19 +0100)
>
> Build and runtime tested on armv4t with bfd (om-gta02), but on armv7a
> (where I have enabled gold) it fails in do_configure already.
>
> *** These critical programs are missing or too old: ld

which package do you see this issue with ?
glibc itself is not buildable with gold. In OE-Core we use gnu ld for
linking eglibc and gold for rest of it.

>
> IIRC I've seen this with older eglibc too, but then it was working
> again..
>
> BTW: gold on armv4t is still unusable right?
>

yes. It still is. I think one option is to try binutils/master, I was
close to fixing it before I ran out of time
Martin Jansa - July 5, 2012, 8:57 p.m.
On Thu, Jul 05, 2012 at 01:39:04PM -0700, Khem Raj wrote:
> On Thu, Jul 5, 2012 at 1:23 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> > On Thu, Jul 05, 2012 at 07:35:19AM -0700, Khem Raj wrote:
> >> This patch adds eglibc 2.16 recipes. I was able to build world
> >> on x86 except perf which was failing with 2.15 as well.
> >>
> >> I have also build and run core-image-sato on all qemus
> >>
> >> I did not remove 2.15 to allow some soak in time.
> >>
> >> The following changes since commit 5beb7176d361d4bfa279bbfab5a17b8fe4fa3b73:
> >>
> >>   netbase: update to ver. 5.0 (2012-07-05 14:18:19 +0100)
> >
> > Build and runtime tested on armv4t with bfd (om-gta02), but on armv7a
> > (where I have enabled gold) it fails in do_configure already.
> >
> > *** These critical programs are missing or too old: ld
> 
> which package do you see this issue with ?
> glibc itself is not buildable with gold. In OE-Core we use gnu ld for
> linking eglibc and gold for rest of it.

eglibc-initial
http://norman-schleicher.de/jenkins/job/shr-core-branches-nokia900-shr-image/lastBuild/console

I was looking in meta/recipes-core/eglibc for switch forcing bfd for it,
but I haven't found it neither in 2.15 or 2.16..

Cheers,

> 
> >
> > IIRC I've seen this with older eglibc too, but then it was working
> > again..
> >
> > BTW: gold on armv4t is still unusable right?
> >
> 
> yes. It still is. I think one option is to try binutils/master, I was
> close to fixing it before I ran out of time
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Khem Raj - July 5, 2012, 9:34 p.m.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 7/5/2012 1:57 PM, Martin Jansa wrote:
> I was looking in meta/recipes-core/eglibc for switch forcing bfd
> for it, but I haven't found it neither in 2.15 or 2.16..

STAGINGCC is gcc-cross-intermediate for eglibc and gcc-cross-initial
for eglibc-initial

and if you look at gcc-cross-intermediate recipe then it uses

in EXTRA_OECONF

${@base_contains('DISTRO_FEATURES', 'ld-is-gold',
'--with-ld=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}ld.bfd', '', d)}"

which means it use ld.bfd when ld-is-gold is enabled.

however we need something similar for gcc-cross-initial as well
and thats why you see the problem with eglibc-initial

I have created a patch and added it to the pull branch please
try that out

especially this one
http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/eglibc-2.16&id=3b68cb3e23138c72e61771c50a4a4b08bb4d0865

Thanks
- -Khem
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/2CGoACgkQuwUzVZGdMxSiXQCfT+LaNCf9iZAK1tr2fNsX8opW
MAIAnihWe8FauLk+y3gmLMHcg8e+MfIf
=m9f1
-----END PGP SIGNATURE-----
Martin Jansa - July 5, 2012, 9:55 p.m.
On Thu, Jul 05, 2012 at 02:34:34PM -0700, Khem Raj wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 7/5/2012 1:57 PM, Martin Jansa wrote:
> > I was looking in meta/recipes-core/eglibc for switch forcing bfd
> > for it, but I haven't found it neither in 2.15 or 2.16..
> 
> STAGINGCC is gcc-cross-intermediate for eglibc and gcc-cross-initial
> for eglibc-initial
> 
> and if you look at gcc-cross-intermediate recipe then it uses
> 
> in EXTRA_OECONF
> 
> ${@base_contains('DISTRO_FEATURES', 'ld-is-gold',
> '--with-ld=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}ld.bfd', '', d)}"
> 
> which means it use ld.bfd when ld-is-gold is enabled.
> 
> however we need something similar for gcc-cross-initial as well
> and thats why you see the problem with eglibc-initial
> 
> I have created a patch and added it to the pull branch please
> try that out
> 
> especially this one
> http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/eglibc-2.16&id=3b68cb3e23138c72e61771c50a4a4b08bb4d0865
> 

yes this helps eglibc-initial:do_configre passed,

Thanks!

Cheers,

> Thanks
> - -Khem
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk/2CGoACgkQuwUzVZGdMxSiXQCfT+LaNCf9iZAK1tr2fNsX8opW
> MAIAnihWe8FauLk+y3gmLMHcg8e+MfIf
> =m9f1
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Saul Wold - July 17, 2012, 2:59 p.m.
On 07/05/2012 07:35 AM, Khem Raj wrote:
> This patch adds eglibc 2.16 recipes. I was able to build world
> on x86 except perf which was failing with 2.15 as well.
>
> I have also build and run core-image-sato on all qemus
>
> I did not remove 2.15 to allow some soak in time.
>
> The following changes since commit 5beb7176d361d4bfa279bbfab5a17b8fe4fa3b73:
>
>    netbase: update to ver. 5.0 (2012-07-05 14:18:19 +0100)
>
> are available in the git repository at:
>
>    git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.16
>    http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.16
>
> Khem Raj (14):
>    mirrors: Add debian archive snapshot mirrors to search list
>    gdb: Replace struct siginfo with proper siginfo_t
>    busybox: Include sys/resource.h for rusage definition
>    coreutils: Fix build with eglibc 2.16
>    diffutils: Fix build with eglibc 2.16
>    udev: Fix build with eglibc 2.16
>    gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16
>    bison: Fix for gets being removed from eglibc 2.16
>    grub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibc
>    boost: Upgrade recipe to 1.50.0
>    puzzles: Fix checksums
>    valgrind: Fix build with eglibc 2.16
>    libpam: Fix build with eglibc 2.16
>    eglibc: Add recipes for 2.16 release
>

Merged this branch (along with the other changes) into OE-Core

I dropped the puzzles change in favor of using the SVN version due to 
the potential of checksums changing again, he rebuilds the tarball daily!

Thanks
	Sau!

>   meta/classes/mirrors.bbclass                       |    4 +-
>   meta/recipes-bsp/grub/grub-1.99/remove-gets.patch  |   20 +
>   meta/recipes-bsp/grub/grub_1.99.bb                 |    3 +-
>   .../busybox/busybox-1.19.4/sys_resource.patch      |   18 +
>   meta/recipes-core/busybox/busybox_1.19.4.bb        |    3 +-
>   .../coreutils/coreutils-8.14/remove-gets.patch     |   23 +
>   meta/recipes-core/coreutils/coreutils_8.14.bb      |    3 +-
>   .../eglibc/cross-localedef-native_2.16.bb          |   44 ++
>   .../eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch    |  108 ++++
>   .../eglibc/eglibc-2.16/IO-acquire-lock-fix.patch   |   17 +
>   .../eglibc-svn-arm-lowlevellock-include-tls.patch  |   21 +
>   .../eglibc_fix_findidx_parameters.patch            |   38 ++
>   .../eglibc/eglibc-2.16/generate-supported.mk       |   11 +
>   .../eglibc/eglibc-2.16/initgroups_keys.patch       |   20 +
>   .../eglibc/eglibc-2.16/ld-search-order.patch       |   56 ++
>   .../eglibc/eglibc-2.16/mips-rld-map-check.patch    |   26 +
>   .../eglibc/eglibc-2.16/multilib_readlib.patch      |   17 +
>   .../recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch |  538 ++++++++++++++++++++
>   .../eglibc/eglibc-2.16/ppc-sqrt_finite.patch       |  112 ++++
>   .../eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch |  123 +++++
>   .../eglibc/eglibc-2.16/rpc-bootstrap.patch         |   63 +++
>   .../eglibc-2.16/use-sysroot-cxx-headers.patch      |   42 ++
>   meta/recipes-core/eglibc/eglibc-initial_2.16.bb    |    6 +
>   meta/recipes-core/eglibc/eglibc-locale_2.16.bb     |    1 +
>   meta/recipes-core/eglibc/eglibc_2.16.bb            |  146 ++++++
>   .../gettext/gettext-0.18.1.1/remove_gets.patch     |   58 +++
>   meta/recipes-core/gettext/gettext_0.18.1.1.bb      |    3 +-
>   meta/recipes-core/udev/udev/include_resource.patch |   31 ++
>   meta/recipes-core/udev/udev_164.bb                 |    7 +-
>   .../recipes-devtools/bison/bison/remove-gets.patch |   20 +
>   meta/recipes-devtools/bison/bison_2.5.bb           |    6 +-
>   meta/recipes-devtools/gdb/gdb-common.inc           |    2 +-
>   meta/recipes-devtools/gdb/gdb.inc                  |    1 +
>   meta/recipes-devtools/gdb/gdb/siginfo_t.patch      |  403 +++++++++++++++
>   .../recipes-devtools/guile/files/remove-gets.patch |   23 +
>   meta/recipes-devtools/guile/guile_2.0.5.bb         |    3 +-
>   meta/recipes-devtools/m4/m4-1.4.16.inc             |    6 +-
>   meta/recipes-devtools/m4/m4/remove-gets.patch      |   21 +
>   .../valgrind-3.7.0/configure-with-glibc-2.16.patch |   32 ++
>   meta/recipes-devtools/valgrind/valgrind_3.7.0.bb   |    6 +-
>   .../augeas/augeas/remove-gets.patch                |   20 +
>   meta/recipes-extended/augeas/augeas_0.10.0.bb      |    4 +-
>   .../cpio/cpio-2.11/remove-gets.patch               |   20 +
>   meta/recipes-extended/cpio/cpio_2.11.bb            |    5 +-
>   .../diffutils/diffutils-3.2/remove-gets.patch      |   22 +
>   meta/recipes-extended/diffutils/diffutils_3.2.bb   |    6 +-
>   .../pam/libpam/include-sys-resource.patch          |   12 +
>   meta/recipes-extended/pam/libpam_1.1.5.bb          |    6 +-
>   .../tar/tar-1.26/remove-gets.patch                 |   20 +
>   meta/recipes-extended/tar/tar_1.26.bb              |    5 +-
>   .../wget/wget-1.13.4/remove-gets.patch             |   23 +
>   meta/recipes-extended/wget/wget_1.13.4.bb          |    3 +-
>   meta/recipes-sato/puzzles/puzzles_r9561.bb         |    5 +-
>   .../boost/{boost_1.49.0.bb => boost_1.50.0.bb}     |    5 +-
>   .../gnutls/gnutls/remove-gets.patch                |   41 ++
>   meta/recipes-support/gnutls/gnutls_2.12.20.bb      |    3 +-
>   56 files changed, 2254 insertions(+), 31 deletions(-)
>   create mode 100644 meta/recipes-bsp/grub/grub-1.99/remove-gets.patch
>   create mode 100644 meta/recipes-core/busybox/busybox-1.19.4/sys_resource.patch
>   create mode 100644 meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patch
>   create mode 100644 meta/recipes-core/eglibc/cross-localedef-native_2.16.bb
>   create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch
>   create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/IO-acquire-lock-fix.patch
>   create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/eglibc-svn-arm-lowlevellock-include-tls.patch
>   create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/eglibc_fix_findidx_parameters.patch
>   create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/etc/ld.so.conf
>   create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/generate-supported.mk
>   create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/initgroups_keys.patch
>   create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ld-search-order.patch
>   create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/mips-rld-map-check.patch
>   create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/multilib_readlib.patch
>   create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch
>   create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt_finite.patch
>   create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch
>   create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch
>   create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/use-sysroot-cxx-headers.patch
>   create mode 100644 meta/recipes-core/eglibc/eglibc-initial_2.16.bb
>   create mode 100644 meta/recipes-core/eglibc/eglibc-locale_2.16.bb
>   create mode 100644 meta/recipes-core/eglibc/eglibc_2.16.bb
>   create mode 100644 meta/recipes-core/gettext/gettext-0.18.1.1/remove_gets.patch
>   create mode 100644 meta/recipes-core/udev/udev/include_resource.patch
>   create mode 100644 meta/recipes-devtools/bison/bison/remove-gets.patch
>   create mode 100644 meta/recipes-devtools/gdb/gdb/siginfo_t.patch
>   create mode 100644 meta/recipes-devtools/guile/files/remove-gets.patch
>   create mode 100644 meta/recipes-devtools/m4/m4/remove-gets.patch
>   create mode 100644 meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-with-glibc-2.16.patch
>   create mode 100644 meta/recipes-extended/augeas/augeas/remove-gets.patch
>   create mode 100644 meta/recipes-extended/cpio/cpio-2.11/remove-gets.patch
>   create mode 100644 meta/recipes-extended/diffutils/diffutils-3.2/remove-gets.patch
>   create mode 100644 meta/recipes-extended/pam/libpam/include-sys-resource.patch
>   create mode 100644 meta/recipes-extended/tar/tar-1.26/remove-gets.patch
>   create mode 100644 meta/recipes-extended/wget/wget-1.13.4/remove-gets.patch
>   rename meta/recipes-support/boost/{boost_1.49.0.bb => boost_1.50.0.bb} (53%)
>   create mode 100644 meta/recipes-support/gnutls/gnutls/remove-gets.patch
>