Skip to contentSkip to conversation

eglibc 2.14 upgrade

PATCH Applied Khem Raj 5 participants 22 messages Jun 22, 2011 – Jun 23, 2011 Arm/actions semi architecture

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

cover eglibc 2.14 upgrade

This patchset upgrades eglibc 2.13 -> 2.14
Needed a binutils fix for x86_64
Package sotruss which is new in eglibc 2.14

The following changes since commit 78de64f58b98101f5be5778e9ecbdaae5ba32997:

binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 (2011-06-21 17:58:06 -0700)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.14
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.14

Khem Raj (4):
eglibc: Upgrade recipes from 2.13 -> 2.14 eglibc-package.inc: Package newly added sotruss and supporting
libraries
binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 tcmode-default.inc: Bump EGLIBCVERSION to 2.14

 meta/conf/distro/include/tcmode-default.inc        |    2 +-
 ...tive_2.13.bb => cross-localedef-native_2.14.bb} |    0
 .../IO-acquire-lock-fix.patch                      |    0
 .../eglibc-svn-arm-lowlevellock-include-tls.patch  |    0
 .../{eglibc-2.13 => eglibc-2.14}/etc/ld.so.conf    |    0
 .../generate-supported.mk                          |    0
 .../ld-search-order.patch                          |    0
 .../mips-rld-map-check.patch                       |    0
 .../shorten-build-commands.patch                   |    0
 .../stack-protector-test.patch                     |    0
 ...libc-initial_2.13.bb => eglibc-initial_2.14.bb} |    0
 meta/recipes-core/eglibc/eglibc-package.inc        |    7 +-
 .../eglibc/{eglibc_2.13.bb => eglibc_2.14.bb}      |    7 +-
 .../binutils/binutils-2.21/binutils-pr12366.patch  |  428 ++++++++++++++++++++
 meta/recipes-devtools/binutils/binutils_2.21.bb    |    3 +-
 15 files changed, 439 insertions(+), 8 deletions(-)
 rename meta/recipes-core/eglibc/{cross-localedef-native_2.13.bb => cross-localedef-native_2.14.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.13 => eglibc-2.14}/IO-acquire-lock-fix.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.13 => eglibc-2.14}/eglibc-svn-arm-lowlevellock-include-tls.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.13 => eglibc-2.14}/etc/ld.so.conf (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.13 => eglibc-2.14}/generate-supported.mk (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.13 => eglibc-2.14}/ld-search-order.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.13 => eglibc-2.14}/mips-rld-map-check.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.13 => eglibc-2.14}/shorten-build-commands.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.13 => eglibc-2.14}/stack-protector-test.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-initial_2.13.bb => eglibc-initial_2.14.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc_2.13.bb => eglibc_2.14.bb} (97%)
 create mode 100644 meta/recipes-devtools/binutils/binutils-2.21/binutils-pr12366.patch
Signature · 1 line
1.7.5.1
author
#1 lore raw

PATCH 1/4 eglibc: Upgrade recipes from 2.13 -> 2.14

---
 ...tive_2.13.bb => cross-localedef-native_2.14.bb} |    0
 .../IO-acquire-lock-fix.patch                      |    0
 .../eglibc-svn-arm-lowlevellock-include-tls.patch  |    0
 .../{eglibc-2.13 => eglibc-2.14}/etc/ld.so.conf    |    0
 .../generate-supported.mk                          |    0
 .../ld-search-order.patch                          |    0
 .../mips-rld-map-check.patch                       |    0
 .../shorten-build-commands.patch                   |    0
 .../stack-protector-test.patch                     |    0
 ...libc-initial_2.13.bb => eglibc-initial_2.14.bb} |    0
 .../eglibc/{eglibc_2.13.bb => eglibc_2.14.bb}      |    7 +++----
 11 files changed, 3 insertions(+), 4 deletions(-)
 rename meta/recipes-core/eglibc/{cross-localedef-native_2.13.bb => cross-localedef-native_2.14.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.13 => eglibc-2.14}/IO-acquire-lock-fix.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.13 => eglibc-2.14}/eglibc-svn-arm-lowlevellock-include-tls.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.13 => eglibc-2.14}/etc/ld.so.conf (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.13 => eglibc-2.14}/generate-supported.mk (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.13 => eglibc-2.14}/ld-search-order.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.13 => eglibc-2.14}/mips-rld-map-check.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.13 => eglibc-2.14}/shorten-build-commands.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.13 => eglibc-2.14}/stack-protector-test.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-initial_2.13.bb => eglibc-initial_2.14.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc_2.13.bb => eglibc_2.14.bb} (97%)
meta/recipes-core/eglibc/cross-localedef-native_2.14.bb renamed from meta/recipes-core/eglibc/cross-localedef-native_2.13.bb +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/cross-localedef-native_2.13.bb
rename to meta/recipes-core/eglibc/cross-localedef-native_2.14.bb
meta/recipes-core/eglibc/eglibc-2.14/IO-acquire-lock-fix.patch renamed from meta/recipes-core/eglibc/eglibc-2.13/IO-acquire-lock-fix.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.13/IO-acquire-lock-fix.patch
rename to meta/recipes-core/eglibc/eglibc-2.14/IO-acquire-lock-fix.patch
meta/recipes-core/eglibc/eglibc-2.14/eglibc-svn-arm-lowlevellock-include-tls.patch renamed from meta/recipes-core/eglibc/eglibc-2.13/eglibc-svn-arm-lowlevellock-include-tls.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.13/eglibc-svn-arm-lowlevellock-include-tls.patch
rename to meta/recipes-core/eglibc/eglibc-2.14/eglibc-svn-arm-lowlevellock-include-tls.patch
meta/recipes-core/eglibc/eglibc-2.14/etc/ld.so.conf renamed from meta/recipes-core/eglibc/eglibc-2.13/etc/ld.so.conf +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.13/etc/ld.so.conf
rename to meta/recipes-core/eglibc/eglibc-2.14/etc/ld.so.conf
meta/recipes-core/eglibc/eglibc-2.14/generate-supported.mk renamed from meta/recipes-core/eglibc/eglibc-2.13/generate-supported.mk +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.13/generate-supported.mk
rename to meta/recipes-core/eglibc/eglibc-2.14/generate-supported.mk
meta/recipes-core/eglibc/eglibc-2.14/ld-search-order.patch renamed from meta/recipes-core/eglibc/eglibc-2.13/ld-search-order.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.13/ld-search-order.patch
rename to meta/recipes-core/eglibc/eglibc-2.14/ld-search-order.patch
meta/recipes-core/eglibc/eglibc-2.14/mips-rld-map-check.patch renamed from meta/recipes-core/eglibc/eglibc-2.13/mips-rld-map-check.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.13/mips-rld-map-check.patch
rename to meta/recipes-core/eglibc/eglibc-2.14/mips-rld-map-check.patch
meta/recipes-core/eglibc/eglibc-2.14/shorten-build-commands.patch renamed from meta/recipes-core/eglibc/eglibc-2.13/shorten-build-commands.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.13/shorten-build-commands.patch
rename to meta/recipes-core/eglibc/eglibc-2.14/shorten-build-commands.patch
meta/recipes-core/eglibc/eglibc-2.14/stack-protector-test.patch renamed from meta/recipes-core/eglibc/eglibc-2.13/stack-protector-test.patch +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.13/stack-protector-test.patch
rename to meta/recipes-core/eglibc/eglibc-2.14/stack-protector-test.patch
meta/recipes-core/eglibc/eglibc-initial_2.14.bb renamed from meta/recipes-core/eglibc/eglibc-initial_2.13.bb +0 -0
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-initial_2.13.bb
rename to meta/recipes-core/eglibc/eglibc-initial_2.14.bb
meta/recipes-core/eglibc/eglibc_2.14.bb renamed from meta/recipes-core/eglibc/eglibc_2.13.bb +3 -4
similarity index 97%
rename from meta/recipes-core/eglibc/eglibc_2.13.bb
rename to meta/recipes-core/eglibc/eglibc_2.14.bb
index 3490d2d..8936d9c 100644
@@ -1,13 +1,12 @@
 require eglibc.inc
 
-SRCREV = "14157"
+SRCREV = "14285"
 
 DEPENDS += "gperf-native"
-FILESPATHPKG =. "eglibc-svn:"
-PR = "r2"
+PR = "r0"
 PR_append = "+svnr${SRCPV}"
 
-EGLIBC_BRANCH="eglibc-2_13"
+EGLIBC_BRANCH="eglibc-2_14"
 SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http \
            file://eglibc-svn-arm-lowlevellock-include-tls.patch \
            file://IO-acquire-lock-fix.patch \
Signature · 1 line
1.7.5.1
author
#2 lore raw

PATCH 2/4 eglibc-package.inc: Package newly added sotruss and supporting libraries

2.14 has a new utility which can trace through PLTs of shared libraries We package the library separately and the script is already packaged in eglibc-utils so we create a RDEPEND so that the library is pulled in if someone isntalls eglibc-utils

---
 meta/recipes-core/eglibc/eglibc-package.inc |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
meta/recipes-core/eglibc/eglibc-package.inc +5 -2
index 76ebdc3..b5531ab 100644
@@ -37,7 +37,7 @@ USE_LDCONFIG ?= "1"
 PKGSUFFIX = ""
 PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
 
-PACKAGES = "${PN}-dbg ${PN} catchsegv${PKGSUFFIX} sln${PKGSUFFIX} nscd${PKGSUFFIX} ldd${PKGSUFFIX} localedef${PKGSUFFIX} libcidn ${PN}-utils ${PN}-pic ${PN}-dev eglibc-doc eglibc-locale libmemusage libsegfault${PKGSUFFIX} eglibc-extra-nss eglibc-thread-db${PKGSUFFIX} eglibc-pcprofile"
+PACKAGES = "${PN}-dbg ${PN} catchsegv${PKGSUFFIX} sln${PKGSUFFIX} nscd${PKGSUFFIX} ldd${PKGSUFFIX} localedef${PKGSUFFIX} libcidn ${PN}-utils ${PN}-pic ${PN}-dev eglibc-doc eglibc-locale libmemusage libsegfault${PKGSUFFIX} eglibc-extra-nss eglibc-thread-db${PKGSUFFIX} eglibc-pcprofile libsotruss${PKGSUFFIX}"
 
 PACKAGES_DYNAMIC = " \
 		    glibc-gconv-*${PKGSUFFIX} glibc-charmap-* glibc-localedata-* glibc-binary-localedata-* \
@@ -84,14 +84,16 @@ FILES_libmemusage = "${base_libdir}/libmemusage.so"
 FILES_eglibc-extra-nss = "${base_libdir}/libnss*"
 FILES_sln = "/sbin/sln"
 FILES_eglibc-pic = "${libdir}/*_pic.a ${libdir}/*_pic.map ${libdir}/libc_pic/"
+FILES_libsotruss${PKGSUFFIX} = "${libdir}/audit/sotruss-lib.so"
 FILES_eglibc-dev_append += "${bindir}/rpcgen ${libdir}/*.a \
 	${base_libdir}/*.a ${base_libdir}/*.o ${datadir}/aclocal"
 FILES_nscd${PKGSUFFIX} = "${sbindir}/nscd*"
 FILES_eglibc-utils = "${bindir}/* ${sbindir}/*"
 FILES_eglibc-gconv = "${libdir}/gconv/*"
-FILES_${PN}-dbg += "${libexecdir}/*/.debug ${libdir}/gconv/.debug"
+FILES_${PN}-dbg += "${libexecdir}/*/.debug ${libdir}/gconv/.debug ${libdir}/audit/.debug"
 FILES_catchsegv${PKGSUFFIX} = "${bindir}/catchsegv"
 RDEPENDS_catchsegv${PKGSUFFIX} = "libsegfault"
+EDEPENDS_eglibc-utils = "libsotruss"
 FILES_eglibc-pcprofile = "${base_libdir}/libpcprofile.so"
 FILES_eglibc-thread-db${PKGSUFFIX} = "${base_libdir}/libthread_db*"
 FILES_localedef${PKGSUFFIX} = "${bindir}/localedef"
@@ -108,6 +110,7 @@ DESCRIPTION_ldd = "/usr/bin/ldd prints shared library dependencies for each prog
 DESCRIPTION_localedef = "eglibc: compile locale definition files"
 SUMMARY_eglibc-utils = "Miscellaneous utilities provided by eglibc"
 DESCRIPTION_eglibc-utils = "Miscellaneous utilities including getconf, iconf, locale, gencat, tzselect, zic, rpcinfo, ..."
+DESCRIPTION_libsotruss = "Library to support sotruss which traces calls through PLTs"
 
 inherit libc-package
 
Signature · 1 line
1.7.5.1
author
#3 lore raw

PATCH 3/4 binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64

In reply to Khem Raj
---
 .../binutils/binutils-2.21/binutils-pr12366.patch  |  428 ++++++++++++++++++++
 meta/recipes-devtools/binutils/binutils_2.21.bb    |    3 +-
 2 files changed, 430 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-devtools/binutils/binutils-2.21/binutils-pr12366.patch
meta/recipes-devtools/binutils/binutils-2.21/binutils-pr12366.patch new file +428 -0
new file mode 100644
index 0000000..c11a802
@@ -0,0 +1,428 @@
+This is backport from 2.21 branch
+
+Upstream-Status: Backport
+
+Signed-off-by: Khem Raj <[email protected]>
+
+
+commit 946593d19f203b02efd45b5102dd2787d9418e24
+Author: H.J. Lu <[email protected]>
+Date:   Wed May 25 17:41:32 2011 +0000
+
+    Handle STT_GNU_IFUNC symols when building shared library.
+    
+    bfd/
+    
+    2012-05-25  H.J. Lu  <[email protected]>
+    
+    	Backport from mainline
+    	2012-01-06  H.J. Lu  <[email protected]>
+    
+    	PR ld/12366
+    	PR ld/12371
+    	* elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Properly
+    	handle symbols marked with regular reference, but not non-GOT
+    	reference when building shared library.
+    
+    	* elf32-i386.c (elf_i386_gc_sweep_hook): Properly handle
+    	local and global STT_GNU_IFUNC symols when building shared
+    	library.
+    	* elf64-x86-64.c (elf_x86_64_gc_sweep_hook): Likewise.
+    
+    ld/testsuite/
+    
+    2012-05-25  H.J. Lu  <[email protected]>
+    
+    	Backport from mainline
+    	2012-01-06  H.J. Lu  <[email protected]>
+    
+    	PR ld/12366
+    	PR ld/12371
+    	* ld-ifunc/ifunc-10-i386.s: Add more tests.
+    	* ld-ifunc/ifunc-10-x86-64.s: Likewise.
+    	* ld-ifunc/ifunc-11-i386.s: Likewise.
+    	* ld-ifunc/ifunc-11-x86-64.s: Likewise.
+    
+    	* ld-ifunc/ifunc-12-i386.d: New.
+    	* ld-ifunc/ifunc-12-i386.s: Likewise.
+    	* ld-ifunc/ifunc-12-x86-64.d: Likewise.
+    	* ld-ifunc/ifunc-12-x86-64.s: Likewise.
+    	* ld-ifunc/ifunc-13-i386.d: Likewise.
+    	* ld-ifunc/ifunc-13-x86-64.d: Likewise.
+    	* ld-ifunc/ifunc-13a-i386.s: Likewise.
+    	* ld-ifunc/ifunc-13a-x86-64.s: Likewise.
+    	* ld-ifunc/ifunc-13b-i386.s: Likewise.
+    	* ld-ifunc/ifunc-13b-x86-64.s: Likewise.
+
+Index: binutils-2.21/bfd/elf-ifunc.c
+===================================================================
+--- binutils-2.21.orig/bfd/elf-ifunc.c	2010-07-13 09:59:10.000000000 -0700
++++ binutils-2.21/bfd/elf-ifunc.c	2011-06-21 16:33:40.751884107 -0700
+@@ -190,10 +190,29 @@
+   /* Support garbage collection against STT_GNU_IFUNC symbols.  */
+   if (h->plt.refcount <= 0 && h->got.refcount <= 0)
+     {
+-      h->got = htab->init_got_offset;
+-      h->plt = htab->init_plt_offset;
+-      *head = NULL;
+-      return TRUE;
++      /* When building shared library, we need to handle the case
++         where it is marked with regular reference, but not non-GOT
++	 reference.  It may happen if we didn't see STT_GNU_IFUNC
++	 symbol at the time when checking relocations.  */
++      bfd_size_type count = 0;
++
++      if (info->shared
++	  && !h->non_got_ref
++	  && h->ref_regular)
++	{
++	  for (p = *head; p != NULL; p = p->next)
++	    count += p->count;
++	  if (count != 0)
++	    h->non_got_ref = 1;
++	}
++
++      if (count == 0)
++	{
++	  h->got = htab->init_got_offset;
++	  h->plt = htab->init_plt_offset;
++	  *head = NULL;
++	  return TRUE;
++	}
+     }
+ 
+   /* Return and discard space for dynamic relocations against it if
+Index: binutils-2.21/bfd/elf32-i386.c
+===================================================================
+--- binutils-2.21.orig/bfd/elf32-i386.c	2010-10-21 05:29:02.000000000 -0700
++++ binutils-2.21/bfd/elf32-i386.c	2011-06-21 16:33:40.761884138 -0700
+@@ -1807,23 +1807,10 @@
+       r_symndx = ELF32_R_SYM (rel->r_info);
+       if (r_symndx >= symtab_hdr->sh_info)
+ 	{
+-	  struct elf_i386_link_hash_entry *eh;
+-	  struct elf_dyn_relocs **pp;
+-	  struct elf_dyn_relocs *p;
+-
+ 	  h = sym_hashes[r_symndx - symtab_hdr->sh_info];
+ 	  while (h->root.type == bfd_link_hash_indirect
+ 		 || h->root.type == bfd_link_hash_warning)
+ 	    h = (struct elf_link_hash_entry *) h->root.u.i.link;
+-	  eh = (struct elf_i386_link_hash_entry *) h;
+-
+-	  for (pp = &eh->dyn_relocs; (p = *pp) != NULL; pp = &p->next)
+-	    if (p->sec == sec)
+-	      {
+-		/* Everything must go for SEC.  */
+-		*pp = p->next;
+-		break;
+-	      }
+ 	}
+       else
+ 	{
+@@ -1843,6 +1830,22 @@
+ 	    }
+ 	}
+ 
++      if (h)
++	{
++	  struct elf_i386_link_hash_entry *eh;
++	  struct elf_dyn_relocs **pp;
++	  struct elf_dyn_relocs *p;
++
++	  eh = (struct elf_i386_link_hash_entry *) h;
++	  for (pp = &eh->dyn_relocs; (p = *pp) != NULL; pp = &p->next)
++	    if (p->sec == sec)
++	      {
++		/* Everything must go for SEC.  */
++		*pp = p->next;
++		break;
++	      }
++	}
++
+       r_type = ELF32_R_TYPE (rel->r_info);
+       if (! elf_i386_tls_transition (info, abfd, sec, NULL,
+ 				     symtab_hdr, sym_hashes,
+@@ -1883,7 +1886,8 @@
+ 
+ 	case R_386_32:
+ 	case R_386_PC32:
+-	  if (info->shared)
++	  if (info->shared
++	      && (h == NULL || h->type != STT_GNU_IFUNC))
+ 	    break;
+ 	  /* Fall through */
+ 
+Index: binutils-2.21/bfd/elf64-x86-64.c
+===================================================================
+--- binutils-2.21.orig/bfd/elf64-x86-64.c	2010-10-21 05:29:02.000000000 -0700
++++ binutils-2.21/bfd/elf64-x86-64.c	2011-06-21 16:33:40.761884138 -0700
+@@ -1645,23 +1645,10 @@
+       r_symndx = ELF64_R_SYM (rel->r_info);
+       if (r_symndx >= symtab_hdr->sh_info)
+ 	{
+-	  struct elf64_x86_64_link_hash_entry *eh;
+-	  struct elf_dyn_relocs **pp;
+-	  struct elf_dyn_relocs *p;
+-
+ 	  h = sym_hashes[r_symndx - symtab_hdr->sh_info];
+ 	  while (h->root.type == bfd_link_hash_indirect
+ 		 || h->root.type == bfd_link_hash_warning)
+ 	    h = (struct elf_link_hash_entry *) h->root.u.i.link;
+-	  eh = (struct elf64_x86_64_link_hash_entry *) h;
+-
+-	  for (pp = &eh->dyn_relocs; (p = *pp) != NULL; pp = &p->next)
+-	    if (p->sec == sec)
+-	      {
+-		/* Everything must go for SEC.  */
+-		*pp = p->next;
+-		break;
+-	      }
+ 	}
+       else
+ 	{
+@@ -1682,7 +1669,24 @@
+ 	    }
+ 	}
+ 
+-      r_type = ELF64_R_TYPE (rel->r_info);
++      if (h)
++	{
++	  struct elf64_x86_64_link_hash_entry *eh;
++	  struct elf_dyn_relocs **pp;
++	  struct elf_dyn_relocs *p;
++
++	  eh = (struct elf64_x86_64_link_hash_entry *) h;
++
++	  for (pp = &eh->dyn_relocs; (p = *pp) != NULL; pp = &p->next)
++	    if (p->sec == sec)
++	      {
++		/* Everything must go for SEC.  */
++		*pp = p->next;
++		break;
++	      }
++	}
++
++      r_type = ELF32_R_TYPE (rel->r_info);
+       if (! elf64_x86_64_tls_transition (info, abfd, sec, NULL,
+ 					 symtab_hdr, sym_hashes,
+ 					 &r_type, GOT_UNKNOWN,
+@@ -1733,7 +1737,8 @@
+ 	case R_X86_64_PC16:
+ 	case R_X86_64_PC32:
+ 	case R_X86_64_PC64:
+-	  if (info->shared)
++	  if (info->shared
++	      && (h == NULL || h->type != STT_GNU_IFUNC))
+ 	    break;
+ 	  /* Fall thru */
+ 
+Index: binutils-2.21/ld/testsuite/ld-ifunc/ifunc-10-i386.s
+===================================================================
+--- binutils-2.21.orig/ld/testsuite/ld-ifunc/ifunc-10-i386.s	2010-07-13 09:59:14.000000000 -0700
++++ binutils-2.21/ld/testsuite/ld-ifunc/ifunc-10-i386.s	2011-06-21 16:36:36.832142380 -0700
+@@ -6,6 +6,8 @@
+         movl ifunc@GOTOFF(%ecx), %eax
+ 	call ifunc@PLT
+ 	call ifunc
++        movl xxx@GOT(%ecx), %eax
++        movl xxx, %eax
+         ret
+ 
+         .section .text.bar,"ax",@progbits
+@@ -18,3 +20,7 @@
+         .type ifunc, @gnu_indirect_function
+ ifunc:
+         ret
++
++        .section .data.foo,"aw",@progbits
++xxx:
++	.long ifunc
+Index: binutils-2.21/ld/testsuite/ld-ifunc/ifunc-10-x86-64.s
+===================================================================
+--- binutils-2.21.orig/ld/testsuite/ld-ifunc/ifunc-10-x86-64.s	2010-07-13 09:59:14.000000000 -0700
++++ binutils-2.21/ld/testsuite/ld-ifunc/ifunc-10-x86-64.s	2011-06-21 16:36:36.822142371 -0700
+@@ -6,6 +6,7 @@
+         movl ifunc(%rip), %eax
+ 	call ifunc@PLT
+ 	call ifunc
++        movl xxx(%rip), %eax
+         ret
+ 
+         .section .text.bar,"ax",@progbits
+@@ -18,3 +19,7 @@
+         .type ifunc, @gnu_indirect_function
+ ifunc:
+         ret
++
++        .section .data.foo,"aw",@progbits
++xxx:
++	.quad ifunc
+Index: binutils-2.21/ld/testsuite/ld-ifunc/ifunc-11-i386.s
+===================================================================
+--- binutils-2.21.orig/ld/testsuite/ld-ifunc/ifunc-11-i386.s	2010-07-13 09:59:14.000000000 -0700
++++ binutils-2.21/ld/testsuite/ld-ifunc/ifunc-11-i386.s	2011-06-21 16:36:36.832142380 -0700
+@@ -3,9 +3,11 @@
+ foo:
+         .global foo
+         movl ifunc@GOT(%ecx), %eax
+-	movl ifunc@GOTOFF(%ecx), %eax
++        movl ifunc@GOTOFF(%ecx), %eax
+ 	call ifunc@PLT
+ 	call ifunc
++        movl xxx@GOT(%ecx), %eax
++        movl xxx, %eax
+         ret
+ 
+         .section .text.bar,"ax",@progbits
+@@ -16,6 +18,10 @@
+ 
+         .section .text.ifunc,"ax",@progbits
+         .type ifunc, @gnu_indirect_function
+-        .global ifunc
++	.global ifunc
+ ifunc:
+         ret
++
++        .section .data.foo,"aw",@progbits
++xxx:
++	.long ifunc
+Index: binutils-2.21/ld/testsuite/ld-ifunc/ifunc-11-x86-64.s
+===================================================================
+--- binutils-2.21.orig/ld/testsuite/ld-ifunc/ifunc-11-x86-64.s	2010-07-13 09:59:14.000000000 -0700
++++ binutils-2.21/ld/testsuite/ld-ifunc/ifunc-11-x86-64.s	2011-06-21 16:36:36.822142371 -0700
+@@ -6,6 +6,7 @@
+         movl ifunc(%rip), %eax
+ 	call ifunc@PLT
+ 	call ifunc
++        movl xxx(%rip), %eax
+         ret
+ 
+         .section .text.bar,"ax",@progbits
+@@ -19,3 +20,7 @@
+         .global ifunc
+ ifunc:
+         ret
++
++        .section .data.foo,"aw",@progbits
++xxx:
++	.quad ifunc
+Index: binutils-2.21/ld/testsuite/ld-ifunc/ifunc-12-i386.d
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ binutils-2.21/ld/testsuite/ld-ifunc/ifunc-12-i386.d	2011-06-21 16:33:40.761884138 -0700
+@@ -0,0 +1,6 @@
++#ld: -shared -m elf_i386 -e bar --gc-sections
++#as: --32
++#readelf: -r --wide
++#target: x86_64-*-* i?86-*-*
++
++There are no relocations in this file.
+Index: binutils-2.21/ld/testsuite/ld-ifunc/ifunc-12-x86-64.d
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ binutils-2.21/ld/testsuite/ld-ifunc/ifunc-12-x86-64.d	2011-06-21 16:33:40.761884138 -0700
+@@ -0,0 +1,6 @@
++#ld: -shared -m elf_x86_64 -e bar --gc-sections
++#as: --64
++#readelf: -r --wide
++#target: x86_64-*-*
++
++There are no relocations in this file.
+Index: binutils-2.21/ld/testsuite/ld-ifunc/ifunc-13-i386.d
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ binutils-2.21/ld/testsuite/ld-ifunc/ifunc-13-i386.d	2011-06-21 16:33:40.761884138 -0700
+@@ -0,0 +1,19 @@
++#source: ifunc-13a-i386.s
++#source: ifunc-13b-i386.s
++#ld: -shared -m elf_i386 -z nocombreloc
++#as: --32
++#readelf: -r --wide
++#target: x86_64-*-* i?86-*-*
++
++Relocation section '.rel.got' at .*
++[ ]+Offset[ ]+Info[ ]+Type[ ]+.*
++#...
++[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_386_GLOB_DAT[ ]+ifunc\(\)[ ]+ifunc
++#...
++Relocation section '.rel.ifunc' at .*
++[ ]+Offset[ ]+Info[ ]+Type[ ]+.*
++[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_386_32[ ]+ifunc\(\)[ ]+ifunc
++#...
++Relocation section '.rel.plt' at .*
++[ ]+Offset[ ]+Info[ ]+Type[ ]+.*
++[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_386_JUMP_SLOT[ ]+ifunc\(\)[ ]+ifunc
+Index: binutils-2.21/ld/testsuite/ld-ifunc/ifunc-13-x86-64.d
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ binutils-2.21/ld/testsuite/ld-ifunc/ifunc-13-x86-64.d	2011-06-21 16:33:40.761884138 -0700
+@@ -0,0 +1,18 @@
++#source: ifunc-13a-x86-64.s
++#source: ifunc-13b-x86-64.s
++#ld: -shared -m elf_x86_64 -z nocombreloc
++#as: --64
++#readelf: -r --wide
++#target: x86_64-*-*
++
++Relocation section '.rela.got' at .*
++[ ]+Offset[ ]+Info[ ]+Type[ ]+.*
++[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_X86_64_GLOB_DAT[ ]+ifunc\(\)[ ]+ifunc \+ 0
++#...
++Relocation section '.rela.ifunc' at .*
++[ ]+Offset[ ]+Info[ ]+Type[ ]+.*
++[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_X86_64_64[ ]+ifunc\(\)[ ]+ifunc \+ 0
++#...
++Relocation section '.rela.plt' at .*
++[ ]+Offset[ ]+Info[ ]+Type[ ]+.*
++[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_X86_64_JUMP_SLOT[ ]+ifunc\(\)[ ]+ifunc \+ 0
+Index: binutils-2.21/ld/testsuite/ld-ifunc/ifunc-13a-i386.s
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ binutils-2.21/ld/testsuite/ld-ifunc/ifunc-13a-i386.s	2011-06-21 16:36:36.822142371 -0700
+@@ -0,0 +1,10 @@
++	.text
++        .type foo, @function
++	.global
++foo:
++	movl xxx@GOT(%ebx), %eax
++        ret
++
++	.data
++xxx:
++	.long ifunc
+Index: binutils-2.21/ld/testsuite/ld-ifunc/ifunc-13a-x86-64.s
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ binutils-2.21/ld/testsuite/ld-ifunc/ifunc-13a-x86-64.s	2011-06-21 16:36:36.822142371 -0700
+@@ -0,0 +1,10 @@
++	.text
++        .type foo, @function
++	.global
++foo:
++        movl xxx(%rip), %eax
++        ret
++
++	.data
++xxx:
++	.quad ifunc
+Index: binutils-2.21/ld/testsuite/ld-ifunc/ifunc-13b-i386.s
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ binutils-2.21/ld/testsuite/ld-ifunc/ifunc-13b-i386.s	2011-06-21 16:33:40.761884138 -0700
+@@ -0,0 +1,5 @@
++	.text
++        .type ifunc, @gnu_indirect_function
++	.globl ifunc
++ifunc:
++        ret
+Index: binutils-2.21/ld/testsuite/ld-ifunc/ifunc-13b-x86-64.s
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ binutils-2.21/ld/testsuite/ld-ifunc/ifunc-13b-x86-64.s	2011-06-21 16:33:40.761884138 -0700
+@@ -0,0 +1,5 @@
++	.text
++        .type ifunc, @gnu_indirect_function
++	.globl ifunc
++ifunc:
++        ret
meta/recipes-devtools/binutils/binutils_2.21.bb +2 -1
index 270c720..2211931 100644
@@ -1,6 +1,6 @@
 require binutils.inc
 
-PR = "r0"
+PR = "r1"
 
 LIC_FILES_CHKSUM="\
     file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\
@@ -29,6 +29,7 @@ SRC_URI = "\
      file://libiberty_path_fix.patch \
      file://binutils-poison.patch \
      file://libtool-rpath-fix.patch \
+     file://binutils-pr12366.patch \
      "
 
 SRC_URI[md5sum] = "c84c5acc9d266f1a7044b51c85a823f5"
Signature · 1 line
1.7.5.1
author
#4 lore raw

PATCH 4/4 tcmode-default.inc: Bump EGLIBCVERSION to 2.14

In reply to Khem Raj
---
 meta/conf/distro/include/tcmode-default.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/conf/distro/include/tcmode-default.inc +1 -1
index 90282ee..20fc119 100644
@@ -20,7 +20,7 @@ GCCVERSION ?= "4.6.0"
 SDKGCCVERSION ?= "4.6.0"
 BINUVERSION ?= "2.21"
 GLIBCVERSION ?= "2.10.1"
-EGLIBCVERSION ?= "2.13"
+EGLIBCVERSION ?= "2.14"
 LINUXLIBCVERSION ?= "2.6.37.2"
 
 # Temporary preferred version overrides for PPC
Signature · 1 line
1.7.5.1
#5 lore raw
In reply to Khem Raj
Quoted 12 lines · Khem Raj

This patchset upgrades eglibc 2.13 -> 2.14
Needed a binutils fix for x86_64
Package sotruss which is new in eglibc 2.14

The following changes since commit 78de64f58b98101f5be5778e9ecbdaae5ba32997:

binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 (2011-06-21 17:58:06 -0700)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.14
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.14

Quoted 6 lines

Khem Raj (4):
eglibc: Upgrade recipes from 2.13 -> 2.14 eglibc-package.inc: Package newly added sotruss and supporting
libraries
binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 tcmode-default.inc: Bump EGLIBCVERSION to 2.14

Merged to master, thanks.

Richard

#6 lore raw

Since applying this update, I'm not longer getting an rpc/rpc.h file, which breaks various things like busybox mount.

Is anyone else seeing this behavior?

--Mark

Quoted 29 lines · Richard Purdie
Quoted 12 lines · Khem Raj

This patchset upgrades eglibc 2.13 -> 2.14
Needed a binutils fix for x86_64
Package sotruss which is new in eglibc 2.14

The following changes since commit 78de64f58b98101f5be5778e9ecbdaae5ba32997:

binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 (2011-06-21 17:58:06 -0700)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.14
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.14

Quoted 6 lines

Khem Raj (4):
eglibc: Upgrade recipes from 2.13 -> 2.14 eglibc-package.inc: Package newly added sotruss and supporting
libraries
binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 tcmode-default.inc: Bump EGLIBCVERSION to 2.14

Merged to master, thanks.

Richard

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#7 lore raw
Quoted 4 lines · Mark Hatle

Since applying this update, I'm not longer getting an rpc/rpc.h file, which breaks various things like busybox mount.

Is anyone else seeing this behavior?

Reverting:

2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
190a946e9a4213944e3ee675c4b3e18701698e87

fixed the problem for me. So there is definitely a problems in the upgrade.

--Mark

Quoted 38 lines

--Mark

Quoted 22 lines · Richard Purdie
Quoted 12 lines · Khem Raj

This patchset upgrades eglibc 2.13 -> 2.14
Needed a binutils fix for x86_64
Package sotruss which is new in eglibc 2.14

The following changes since commit 78de64f58b98101f5be5778e9ecbdaae5ba32997:

binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 (2011-06-21 17:58:06 -0700)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.14
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.14

Quoted 6 lines

Khem Raj (4):
eglibc: Upgrade recipes from 2.13 -> 2.14 eglibc-package.inc: Package newly added sotruss and supporting
libraries
binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 tcmode-default.inc: Bump EGLIBCVERSION to 2.14

Merged to master, thanks.

Quoted 7 lines

Richard

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#8 lore raw
Quoted 4 lines · Mark Hatle
Quoted 3 lines · Mark Hatle

Since applying this update, I'm not longer getting an rpc/rpc.h file, which breaks various things like busybox mount.

Quoted 8 lines
Quoted 1 line

Is anyone else seeing this behavior?

Reverting:

2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
190a946e9a4213944e3ee675c4b3e18701698e87

fixed the problem for me. So there is definitely a problems in the upgrade.

This also fixes the problem that Otavio and I have seen of locale generation failing crazily.

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
author
#9 lore raw
In reply to Mark Hatle
Quoted 4 lines · Mark Hatle
Quoted 3 lines · Mark Hatle

Since applying this update, I'm not longer getting an rpc/rpc.h file, which breaks various things like busybox mount.

Quoted 9 lines
Quoted 1 line

Is anyone else seeing this behavior?

Reverting:

2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
190a946e9a4213944e3ee675c4b3e18701698e87

fixed the problem for me.  So there is definitely a problems in the upgrade.

onward looking rpc is now maintained with libtirpc starting glibc 2.14 rpc is not to be used from bundled code in glibc. If we dont have recipes for libtirpc then I will add that.

Quoted 47 lines

--Mark

Quoted 34 lines

--Mark

Quoted 22 lines · Richard Purdie
Quoted 12 lines · Khem Raj

This patchset upgrades eglibc 2.13 -> 2.14
Needed a binutils fix for x86_64
Package sotruss which is new in eglibc 2.14

The following changes since commit 78de64f58b98101f5be5778e9ecbdaae5ba32997:

  binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 (2011-06-21 17:58:06 -0700)

are available in the git repository at:
  git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.14
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.14

Quoted 6 lines

Khem Raj (4):
  eglibc: Upgrade recipes from 2.13 -> 2.14 eglibc-package.inc: Package newly added sotruss and supporting libraries
  binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 tcmode-default.inc: Bump EGLIBCVERSION to 2.14

Merged to master, thanks.

Quoted 7 lines

Richard

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Quoted 4 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#10 lore raw
Quoted 12 lines · Khem Raj
Quoted 11 lines · Mark Hatle
Quoted 4 lines · Mark Hatle

Since applying this update, I'm not longer getting an rpc/rpc.h file, which breaks various things like busybox mount.

Is anyone else seeing this behavior?

Reverting:

2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
190a946e9a4213944e3ee675c4b3e18701698e87

Quoted 6 lines
Quoted 2 lines

fixed the problem for me. So there is definitely a problems in the upgrade.

onward looking rpc is now maintained with libtirpc starting glibc 2.14 rpc is not to be used from bundled code in glibc. If we dont have recipes for libtirpc then I will add that.

There is a libtirpc recipe. It looks like we may have to audit the system looking for users and get that fixed. busybox is definitely something that tries to use rpc in mount.

--Mark

Quoted 52 lines
Quoted 42 lines

--Mark

Quoted 34 lines

--Mark

Quoted 22 lines · Richard Purdie
Quoted 12 lines · Khem Raj

This patchset upgrades eglibc 2.13 -> 2.14
Needed a binutils fix for x86_64
Package sotruss which is new in eglibc 2.14

The following changes since commit 78de64f58b98101f5be5778e9ecbdaae5ba32997:

binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 (2011-06-21 17:58:06 -0700)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.14
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.14

Quoted 6 lines

Khem Raj (4):
eglibc: Upgrade recipes from 2.13 -> 2.14 eglibc-package.inc: Package newly added sotruss and supporting
libraries
binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 tcmode-default.inc: Bump EGLIBCVERSION to 2.14

Merged to master, thanks.

Quoted 7 lines

Richard

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Quoted 4 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Quoted 5 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#11 lore raw
In reply to Khem Raj
Quoted 12 lines · Khem Raj
Quoted 11 lines · Mark Hatle
Quoted 4 lines · Mark Hatle

Since applying this update, I'm not longer getting an rpc/rpc.h file, which breaks various things like busybox mount.

Is anyone else seeing this behavior?

Reverting:

2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
190a946e9a4213944e3ee675c4b3e18701698e87

Quoted 6 lines
Quoted 2 lines

fixed the problem for me. So there is definitely a problems in the upgrade.

onward looking rpc is now maintained with libtirpc starting glibc 2.14 rpc is not to be used from bundled code in glibc. If we dont have recipes for libtirpc then I will add that.

There looks to be more than this wrong with this update. A quick comparison shows the following changes in the list of files being installed from do_install:

-./lib/libmemusage.so
-./lib/libnss_hesiod-2.13.so
-./lib/libnss_nisplus-2.13.so
-./lib/libutil-2.13.so
-./lib/libresolv-2.13.so
-./lib/libm-2.13.so
-./lib/libnsl-2.13.so
-./lib/libnss_compat-2.13.so
-./lib/libnss_nis-2.13.so
-./lib/libnss_dns-2.13.so
-./lib/libanl-2.13.so
-./lib/libBrokenLocale-2.13.so
-./lib/libcrypt-2.13.so
-./etc/rpc
-./usr/lib/libnss_compat_pic.a
-./usr/lib/libnss_dns_pic.a
-./usr/lib/libnss_nisplus_pic.a
+./usr/lib/audit/sotruss-lib.so
-./usr/lib/libutil_pic.map
-./usr/lib/libBrokenLocale_pic.a
-./usr/lib/libBrokenLocale.a
-./usr/lib/libBrokenLocale_pic.map
-./usr/lib/libm.a
-./usr/lib/libnss_dns_pic.map
-./usr/lib/libm_pic.map
-./usr/lib/libnss_hesiod_pic.map
-./usr/lib/librpcsvc.a
-./usr/lib/libutil.a
-./usr/lib/libnss_compat_pic.map
-./usr/lib/libcrypt.a
-./usr/lib/libutil_pic.a
-./usr/lib/libanl.a
-./usr/lib/libnsl_pic.a
-./usr/lib/libresolv.a
-./usr/lib/libnss_hesiod_pic.a
-./usr/lib/libm_pic.a
-./usr/lib/libnsl_pic.map
-./usr/lib/libnss_nis_pic.map
-./usr/lib/libanl_pic.a
-./usr/lib/libcrypt_pic.map
-./usr/lib/libcrypt_pic.a
-./usr/lib/libnss_nis_pic.a
-./usr/lib/libresolv_pic.map
-./usr/lib/libresolv_pic.a
-./usr/lib/libanl_pic.map
-./usr/lib/libnss_nisplus_pic.map
-./usr/lib/libnsl.a
-./usr/bin/rpcgen
-./usr/bin/gencat
+./usr/bin/sotruss
-./usr/bin/localedef
-./usr/bin/locale
-./usr/sbin/rpcinfo
-./usr/sbin/nscd

Some of these are rpc related but there are other issues too.

I've reverted the upgrade itself for now until we have something in place to address the issues and its actually had some testing...

Cheers,

Richard

author
#12 lore raw
Quoted 79 lines · Richard Purdie
Quoted 12 lines · Khem Raj
Quoted 11 lines · Mark Hatle
Quoted 4 lines · Mark Hatle

Since applying this update, I'm not longer getting an rpc/rpc.h file, which breaks various things like busybox mount.

Is anyone else seeing this behavior?

Reverting:

2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
190a946e9a4213944e3ee675c4b3e18701698e87

Quoted 6 lines
Quoted 2 lines

fixed the problem for me.  So there is definitely a problems in the upgrade.

onward looking rpc is now maintained with libtirpc starting glibc 2.14 rpc is not to be used from bundled code in glibc. If we dont have recipes for libtirpc then I will add that.

There looks to be more than this wrong with this update. A quick comparison shows the following changes in the list of files being installed from do_install:

-./lib/libmemusage.so
-./lib/libnss_hesiod-2.13.so
-./lib/libnss_nisplus-2.13.so
-./lib/libutil-2.13.so
-./lib/libresolv-2.13.so
-./lib/libm-2.13.so
-./lib/libnsl-2.13.so
-./lib/libnss_compat-2.13.so
-./lib/libnss_nis-2.13.so
-./lib/libnss_dns-2.13.so
-./lib/libanl-2.13.so
-./lib/libBrokenLocale-2.13.so
-./lib/libcrypt-2.13.so
-./etc/rpc
-./usr/lib/libnss_compat_pic.a
-./usr/lib/libnss_dns_pic.a
-./usr/lib/libnss_nisplus_pic.a
+./usr/lib/audit/sotruss-lib.so
-./usr/lib/libutil_pic.map
-./usr/lib/libBrokenLocale_pic.a
-./usr/lib/libBrokenLocale.a
-./usr/lib/libBrokenLocale_pic.map
-./usr/lib/libm.a
-./usr/lib/libnss_dns_pic.map
-./usr/lib/libm_pic.map
-./usr/lib/libnss_hesiod_pic.map
-./usr/lib/librpcsvc.a
-./usr/lib/libutil.a
-./usr/lib/libnss_compat_pic.map
-./usr/lib/libcrypt.a
-./usr/lib/libutil_pic.a
-./usr/lib/libanl.a
-./usr/lib/libnsl_pic.a
-./usr/lib/libresolv.a
-./usr/lib/libnss_hesiod_pic.a
-./usr/lib/libm_pic.a
-./usr/lib/libnsl_pic.map
-./usr/lib/libnss_nis_pic.map
-./usr/lib/libanl_pic.a
-./usr/lib/libcrypt_pic.map
-./usr/lib/libcrypt_pic.a
-./usr/lib/libnss_nis_pic.a
-./usr/lib/libresolv_pic.map
-./usr/lib/libresolv_pic.a
-./usr/lib/libanl_pic.map
-./usr/lib/libnss_nisplus_pic.map
-./usr/lib/libnsl.a
-./usr/bin/rpcgen
-./usr/bin/gencat
+./usr/bin/sotruss
-./usr/bin/localedef
-./usr/bin/locale
-./usr/sbin/rpcinfo
-./usr/sbin/nscd

Quoted 5 lines

Some of these are rpc related but there are other issues too.

I've reverted the upgrade itself for now until we have something in place to address the issues and its actually had some testing...

some of these are due to rpc and others are due to nss being removed I need to backport the nss db re-implementation then most of it should be resolved
I guess I will post 2.14 as additional recipes rather than replacement for 2.13 that way we will get some soak time.

Quoted 11 lines

Cheers,

Richard

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#13 lore raw
Quoted 87 lines · Khem Raj
Quoted 79 lines · Richard Purdie
Quoted 12 lines · Khem Raj
Quoted 11 lines · Mark Hatle
Quoted 4 lines · Mark Hatle

Since applying this update, I'm not longer getting an rpc/rpc.h file, which breaks various things like busybox mount.

Is anyone else seeing this behavior?

Reverting:

2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
190a946e9a4213944e3ee675c4b3e18701698e87

Quoted 6 lines
Quoted 2 lines

fixed the problem for me. So there is definitely a problems in the upgrade.

onward looking rpc is now maintained with libtirpc starting glibc 2.14 rpc is not to be used from bundled code in glibc. If we dont have recipes for libtirpc then I will add that.

There looks to be more than this wrong with this update. A quick comparison shows the following changes in the list of files being installed from do_install:

-./lib/libmemusage.so
-./lib/libnss_hesiod-2.13.so
-./lib/libnss_nisplus-2.13.so
-./lib/libutil-2.13.so
-./lib/libresolv-2.13.so
-./lib/libm-2.13.so
-./lib/libnsl-2.13.so
-./lib/libnss_compat-2.13.so
-./lib/libnss_nis-2.13.so
-./lib/libnss_dns-2.13.so
-./lib/libanl-2.13.so
-./lib/libBrokenLocale-2.13.so
-./lib/libcrypt-2.13.so
-./etc/rpc
-./usr/lib/libnss_compat_pic.a
-./usr/lib/libnss_dns_pic.a
-./usr/lib/libnss_nisplus_pic.a
+./usr/lib/audit/sotruss-lib.so
-./usr/lib/libutil_pic.map
-./usr/lib/libBrokenLocale_pic.a
-./usr/lib/libBrokenLocale.a
-./usr/lib/libBrokenLocale_pic.map
-./usr/lib/libm.a
-./usr/lib/libnss_dns_pic.map
-./usr/lib/libm_pic.map
-./usr/lib/libnss_hesiod_pic.map
-./usr/lib/librpcsvc.a
-./usr/lib/libutil.a
-./usr/lib/libnss_compat_pic.map
-./usr/lib/libcrypt.a
-./usr/lib/libutil_pic.a
-./usr/lib/libanl.a
-./usr/lib/libnsl_pic.a
-./usr/lib/libresolv.a
-./usr/lib/libnss_hesiod_pic.a
-./usr/lib/libm_pic.a
-./usr/lib/libnsl_pic.map
-./usr/lib/libnss_nis_pic.map
-./usr/lib/libanl_pic.a
-./usr/lib/libcrypt_pic.map
-./usr/lib/libcrypt_pic.a
-./usr/lib/libnss_nis_pic.a
-./usr/lib/libresolv_pic.map
-./usr/lib/libresolv_pic.a
-./usr/lib/libanl_pic.map
-./usr/lib/libnss_nisplus_pic.map
-./usr/lib/libnsl.a
-./usr/bin/rpcgen
-./usr/bin/gencat
+./usr/bin/sotruss
-./usr/bin/localedef
-./usr/bin/locale
-./usr/sbin/rpcinfo
-./usr/sbin/nscd

Quoted 5 lines

Some of these are rpc related but there are other issues too.

I've reverted the upgrade itself for now until we have something in place to address the issues and its actually had some testing...

Quoted 5 lines

some of these are due to rpc and others are due to nss being removed I need to backport the nss db re-implementation then most of it should be resolved
I guess I will post 2.14 as additional recipes rather than replacement for 2.13 that way we will get some soak time.

Neither of those would explain the locale problem Otavio and I have seen:
NOTE: generating locale wae_CH (UTF-8)
NOTE: cmd:
NOTE:
PATH="/home/trini/work/tmp/oe-core-template/build-eglibc/sysroots/x86_64-linux/usr/bin/i586-oe-linux.gcc-cross-intermediate:/home/trini/work/tmp/oe-core-template/build-eglibc/sysroots/x86_64-linux/usr/bin/i586-oe-linux:/home/trini/work/tmp/oe-core-template/build-eglibc/sysroots/qemux86/usr/bin/crossscripts:/home/trini/work/tmp/oe-core-template/build-eglibc/sysroots/x86_64-linux/usr/sbin:/home/trini/work/tmp/oe-core-template/build-eglibc/sysroots/x86_64-linux/usr/bin:/home/trini/work/tmp/oe-core-template/build-eglibc/sysroots/x86_64-linux/sbin:/home/trini/work/tmp/oe-core-template/build-eglibc/sysroots/x86_64-linux//bin:/home/trini/work/tmp/oe-core-template/oe-core/scripts:/home/trini/work/tmp/oe-core-template/bitbake/bin:/home/trini/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/trini/bin:/home/trini/work/tmp/oe-core-template/oe-core/scripts" I18NPATH="/home/trini/work/tmp/oe-core-template/build-eglibc/work/i586-oe-linux/eglibc-2.14-r0+svnr14285/locale-tree/usr/share/i18n"
GCONV_PATH="/home/trini/work/tmp/oe-core-template/build-eglibc/work/i586-oe-linux/eglibc-2.14-r0+svnr14285/locale-tree/iconvdata"
cross-localedef --uint32-align=4 --little-endian --force --old-style
--no-archive
--prefix=/home/trini/work/tmp/oe-core-template/build-eglibc/work/i586-oe-linux/eglibc-2.14-r0+svnr14285/locale-tree
--inputfile=/home/trini/work/tmp/oe-core-template/build-eglibc/work/i586-oe-linux/eglibc-2.14-r0+svnr14285/locale-tree//usr/share/i18n/locales/wae_CH
--charmap=UTF-8
/home/trini/work/tmp/oe-core-template/build-eglibc/work/i586-oe-linux/eglibc-2.14-r0+svnr14285/locale-tree/usr/lib/locale/wae_CH
NOTE: stdout:
NOTE:
NOTE: stderr:
NOTE: LC_ADDRESS: terminology language code `wae' not defined
LC_ADDRESS: language abbreviation `wae' not defined
ERROR: Function 'localedef returned an error' failed

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
author
#14 lore raw
Quoted 88 lines · Tom Rini
Quoted 87 lines · Khem Raj
Quoted 84 lines · Richard Purdie
Quoted 12 lines · Khem Raj
Quoted 11 lines · Mark Hatle
Quoted 4 lines · Mark Hatle

Since applying this update, I'm not longer getting an rpc/rpc.h file, which breaks various things like busybox mount.

Is anyone else seeing this behavior?

Reverting:

2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
190a946e9a4213944e3ee675c4b3e18701698e87

Quoted 6 lines
Quoted 2 lines

fixed the problem for me.  So there is definitely a problems in the upgrade.

onward looking rpc is now maintained with libtirpc starting glibc 2.14 rpc is not to be used from bundled code in glibc. If we dont have recipes for libtirpc then I will add that.

There looks to be more than this wrong with this update. A quick comparison shows the following changes in the list of files being installed from do_install:

-./lib/libmemusage.so
-./lib/libnss_hesiod-2.13.so
-./lib/libnss_nisplus-2.13.so
-./lib/libutil-2.13.so
-./lib/libresolv-2.13.so
-./lib/libm-2.13.so
-./lib/libnsl-2.13.so
-./lib/libnss_compat-2.13.so
-./lib/libnss_nis-2.13.so
-./lib/libnss_dns-2.13.so
-./lib/libanl-2.13.so
-./lib/libBrokenLocale-2.13.so
-./lib/libcrypt-2.13.so
-./etc/rpc
-./usr/lib/libnss_compat_pic.a
-./usr/lib/libnss_dns_pic.a
-./usr/lib/libnss_nisplus_pic.a
+./usr/lib/audit/sotruss-lib.so
-./usr/lib/libutil_pic.map
-./usr/lib/libBrokenLocale_pic.a
-./usr/lib/libBrokenLocale.a
-./usr/lib/libBrokenLocale_pic.map
-./usr/lib/libm.a
-./usr/lib/libnss_dns_pic.map
-./usr/lib/libm_pic.map
-./usr/lib/libnss_hesiod_pic.map
-./usr/lib/librpcsvc.a
-./usr/lib/libutil.a
-./usr/lib/libnss_compat_pic.map
-./usr/lib/libcrypt.a
-./usr/lib/libutil_pic.a
-./usr/lib/libanl.a
-./usr/lib/libnsl_pic.a
-./usr/lib/libresolv.a
-./usr/lib/libnss_hesiod_pic.a
-./usr/lib/libm_pic.a
-./usr/lib/libnsl_pic.map
-./usr/lib/libnss_nis_pic.map
-./usr/lib/libanl_pic.a
-./usr/lib/libcrypt_pic.map
-./usr/lib/libcrypt_pic.a
-./usr/lib/libnss_nis_pic.a
-./usr/lib/libresolv_pic.map
-./usr/lib/libresolv_pic.a
-./usr/lib/libanl_pic.map
-./usr/lib/libnss_nisplus_pic.map
-./usr/lib/libnsl.a
-./usr/bin/rpcgen
-./usr/bin/gencat
+./usr/bin/sotruss
-./usr/bin/localedef
-./usr/bin/locale
-./usr/sbin/rpcinfo
-./usr/sbin/nscd

Some of these are rpc related but there are other issues too.

I've reverted the upgrade itself for now until we have something in place to address the issues and its actually had some testing...

Quoted 7 lines
Quoted 5 lines

some of these are due to rpc and others are due to nss being removed I need to backport the nss db re-implementation then most of it should be resolved
I guess I will post 2.14 as additional recipes rather than replacement for 2.13 that way we will get some soak time.

Neither of those would explain the locale problem Otavio and I have seen:

$ find ../../eglibc-2.14-r0+svnr14285/packages-split/ -name "*wae*"
../../eglibc-2.14-r0+svnr14285/packages-split/locale-base-wae-ch
../../eglibc-2.14-r0+svnr14285/packages-split/eglibc-localedata-wae-ch
../../eglibc-2.14-r0+svnr14285/packages-split/eglibc-localedata-wae-ch/usr/share/i18n/locales/wae_CH

so don't know whats the problem you are having.

Quoted 28 lines

NOTE: generating locale wae_CH (UTF-8)
NOTE: cmd:
NOTE:
PATH="/home/trini/work/tmp/oe-core-template/build-eglibc/sysroots/x86_64-linux/usr/bin/i586-oe-linux.gcc-cross-intermediate:/home/trini/work/tmp/oe-core-template/build-eglibc/sysroots/x86_64-linux/usr/bin/i586-oe-linux:/home/trini/work/tmp/oe-core-template/build-eglibc/sysroots/qemux86/usr/bin/crossscripts:/home/trini/work/tmp/oe-core-template/build-eglibc/sysroots/x86_64-linux/usr/sbin:/home/trini/work/tmp/oe-core-template/build-eglibc/sysroots/x86_64-linux/usr/bin:/home/trini/work/tmp/oe-core-template/build-eglibc/sysroots/x86_64-linux/sbin:/home/trini/work/tmp/oe-core-template/build-eglibc/sysroots/x86_64-linux//bin:/home/trini/work/tmp/oe-core-template/oe-core/scripts:/home/trini/work/tmp/oe-core-template/bitbake/bin:/home/trini/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/trini/bin:/home/trini/work/tmp/oe-core-template/oe-core/scripts" I18NPATH="/home/trini/work/tmp/oe-core-template/build-eglibc/work/i586-oe-linux/eglibc-2.14-r0+svnr14285/locale-tree/usr/share/i18n"
GCONV_PATH="/home/trini/work/tmp/oe-core-template/build-eglibc/work/i586-oe-linux/eglibc-2.14-r0+svnr14285/locale-tree/iconvdata"
cross-localedef  --uint32-align=4 --little-endian  --force --old-style
--no-archive
--prefix=/home/trini/work/tmp/oe-core-template/build-eglibc/work/i586-oe-linux/eglibc-2.14-r0+svnr14285/locale-tree
--inputfile=/home/trini/work/tmp/oe-core-template/build-eglibc/work/i586-oe-linux/eglibc-2.14-r0+svnr14285/locale-tree//usr/share/i18n/locales/wae_CH
--charmap=UTF-8
/home/trini/work/tmp/oe-core-template/build-eglibc/work/i586-oe-linux/eglibc-2.14-r0+svnr14285/locale-tree/usr/lib/locale/wae_CH
NOTE: stdout:
NOTE:
NOTE: stderr:
NOTE: LC_ADDRESS: terminology language code `wae' not defined
LC_ADDRESS: language abbreviation `wae' not defined
ERROR: Function 'localedef returned an error' failed

--
Tom Rini
Mentor Graphics Corporation

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#15 lore raw
Quoted 95 lines · Khem Raj
Quoted 94 lines · Tom Rini
Quoted 92 lines · Khem Raj
Quoted 79 lines · Richard Purdie
Quoted 12 lines · Khem Raj
Quoted 11 lines · Mark Hatle
Quoted 4 lines · Mark Hatle

Since applying this update, I'm not longer getting an rpc/rpc.h file, which breaks various things like busybox mount.

Is anyone else seeing this behavior?

Reverting:

2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
190a946e9a4213944e3ee675c4b3e18701698e87

Quoted 6 lines
Quoted 2 lines

fixed the problem for me. So there is definitely a problems in the upgrade.

onward looking rpc is now maintained with libtirpc starting glibc 2.14 rpc is not to be used from bundled code in glibc. If we dont have recipes for libtirpc then I will add that.

There looks to be more than this wrong with this update. A quick comparison shows the following changes in the list of files being installed from do_install:

-./lib/libmemusage.so
-./lib/libnss_hesiod-2.13.so
-./lib/libnss_nisplus-2.13.so
-./lib/libutil-2.13.so
-./lib/libresolv-2.13.so
-./lib/libm-2.13.so
-./lib/libnsl-2.13.so
-./lib/libnss_compat-2.13.so
-./lib/libnss_nis-2.13.so
-./lib/libnss_dns-2.13.so
-./lib/libanl-2.13.so
-./lib/libBrokenLocale-2.13.so
-./lib/libcrypt-2.13.so
-./etc/rpc
-./usr/lib/libnss_compat_pic.a
-./usr/lib/libnss_dns_pic.a
-./usr/lib/libnss_nisplus_pic.a
+./usr/lib/audit/sotruss-lib.so
-./usr/lib/libutil_pic.map
-./usr/lib/libBrokenLocale_pic.a
-./usr/lib/libBrokenLocale.a
-./usr/lib/libBrokenLocale_pic.map
-./usr/lib/libm.a
-./usr/lib/libnss_dns_pic.map
-./usr/lib/libm_pic.map
-./usr/lib/libnss_hesiod_pic.map
-./usr/lib/librpcsvc.a
-./usr/lib/libutil.a
-./usr/lib/libnss_compat_pic.map
-./usr/lib/libcrypt.a
-./usr/lib/libutil_pic.a
-./usr/lib/libanl.a
-./usr/lib/libnsl_pic.a
-./usr/lib/libresolv.a
-./usr/lib/libnss_hesiod_pic.a
-./usr/lib/libm_pic.a
-./usr/lib/libnsl_pic.map
-./usr/lib/libnss_nis_pic.map
-./usr/lib/libanl_pic.a
-./usr/lib/libcrypt_pic.map
-./usr/lib/libcrypt_pic.a
-./usr/lib/libnss_nis_pic.a
-./usr/lib/libresolv_pic.map
-./usr/lib/libresolv_pic.a
-./usr/lib/libanl_pic.map
-./usr/lib/libnss_nisplus_pic.map
-./usr/lib/libnsl.a
-./usr/bin/rpcgen
-./usr/bin/gencat
+./usr/bin/sotruss
-./usr/bin/localedef
-./usr/bin/locale
-./usr/sbin/rpcinfo
-./usr/sbin/nscd

Quoted 5 lines

Some of these are rpc related but there are other issues too.

I've reverted the upgrade itself for now until we have something in place to address the issues and its actually had some testing...

some of these are due to rpc and others are due to nss being removed I need to backport the nss db re-implementation then most of it should be resolved
I guess I will post 2.14 as additional recipes rather than replacement for 2.13 that way we will get some soak time.

Quoted 8 lines
Quoted 1 line

Neither of those would explain the locale problem Otavio and I have seen:

$ find ../../eglibc-2.14-r0+svnr14285/packages-split/ -name "*wae*"
../../eglibc-2.14-r0+svnr14285/packages-split/locale-base-wae-ch
../../eglibc-2.14-r0+svnr14285/packages-split/eglibc-localedata-wae-ch
../../eglibc-2.14-r0+svnr14285/packages-split/eglibc-localedata-wae-ch/usr/share/i18n/locales/wae_CH

so don't know whats the problem you are having.

Well, in my case it's a brand new checkout of oe-core + meta-oe in 'distro-less' mode. Otavio saw the same thing with his custom distro which just uses the default bits for libc features.

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
author
#16 lore raw
Quoted 103 lines · Tom Rini
Quoted 102 lines · Khem Raj
Quoted 88 lines · Tom Rini
Quoted 87 lines · Khem Raj
Quoted 84 lines · Richard Purdie
Quoted 12 lines · Khem Raj
Quoted 11 lines · Mark Hatle
Quoted 4 lines · Mark Hatle

Since applying this update, I'm not longer getting an rpc/rpc.h file, which breaks various things like busybox mount.

Is anyone else seeing this behavior?

Reverting:

2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
190a946e9a4213944e3ee675c4b3e18701698e87

Quoted 6 lines
Quoted 2 lines

fixed the problem for me.  So there is definitely a problems in the upgrade.

onward looking rpc is now maintained with libtirpc starting glibc 2.14 rpc is not to be used from bundled code in glibc. If we dont have recipes for libtirpc then I will add that.

There looks to be more than this wrong with this update. A quick comparison shows the following changes in the list of files being installed from do_install:

-./lib/libmemusage.so
-./lib/libnss_hesiod-2.13.so
-./lib/libnss_nisplus-2.13.so
-./lib/libutil-2.13.so
-./lib/libresolv-2.13.so
-./lib/libm-2.13.so
-./lib/libnsl-2.13.so
-./lib/libnss_compat-2.13.so
-./lib/libnss_nis-2.13.so
-./lib/libnss_dns-2.13.so
-./lib/libanl-2.13.so
-./lib/libBrokenLocale-2.13.so
-./lib/libcrypt-2.13.so
-./etc/rpc
-./usr/lib/libnss_compat_pic.a
-./usr/lib/libnss_dns_pic.a
-./usr/lib/libnss_nisplus_pic.a
+./usr/lib/audit/sotruss-lib.so
-./usr/lib/libutil_pic.map
-./usr/lib/libBrokenLocale_pic.a
-./usr/lib/libBrokenLocale.a
-./usr/lib/libBrokenLocale_pic.map
-./usr/lib/libm.a
-./usr/lib/libnss_dns_pic.map
-./usr/lib/libm_pic.map
-./usr/lib/libnss_hesiod_pic.map
-./usr/lib/librpcsvc.a
-./usr/lib/libutil.a
-./usr/lib/libnss_compat_pic.map
-./usr/lib/libcrypt.a
-./usr/lib/libutil_pic.a
-./usr/lib/libanl.a
-./usr/lib/libnsl_pic.a
-./usr/lib/libresolv.a
-./usr/lib/libnss_hesiod_pic.a
-./usr/lib/libm_pic.a
-./usr/lib/libnsl_pic.map
-./usr/lib/libnss_nis_pic.map
-./usr/lib/libanl_pic.a
-./usr/lib/libcrypt_pic.map
-./usr/lib/libcrypt_pic.a
-./usr/lib/libnss_nis_pic.a
-./usr/lib/libresolv_pic.map
-./usr/lib/libresolv_pic.a
-./usr/lib/libanl_pic.map
-./usr/lib/libnss_nisplus_pic.map
-./usr/lib/libnsl.a
-./usr/bin/rpcgen
-./usr/bin/gencat
+./usr/bin/sotruss
-./usr/bin/localedef
-./usr/bin/locale
-./usr/sbin/rpcinfo
-./usr/sbin/nscd

Some of these are rpc related but there are other issues too.

I've reverted the upgrade itself for now until we have something in place to address the issues and its actually had some testing...

Quoted 7 lines
Quoted 5 lines

some of these are due to rpc and others are due to nss being removed I need to backport the nss db re-implementation then most of it should be resolved
I guess I will post 2.14 as additional recipes rather than replacement for 2.13 that way we will get some soak time.

Neither of those would explain the locale problem Otavio and I have seen:

$ find ../../eglibc-2.14-r0+svnr14285/packages-split/ -name "*wae*"
../../eglibc-2.14-r0+svnr14285/packages-split/locale-base-wae-ch
../../eglibc-2.14-r0+svnr14285/packages-split/eglibc-localedata-wae-ch
../../eglibc-2.14-r0+svnr14285/packages-split/eglibc-localedata-wae-ch/usr/share/i18n/locales/wae_CH
Quoted 6 lines
Quoted 1 line

so don't know whats the problem you are having.

Well, in my case it's a brand new checkout of oe-core + meta-oe in 'distro-less' mode.  Otavio saw the same thing with his custom distro which just uses the default bits for libc features.

OK this a a new locale introduced in 2.14 but I checked the bits and they all seem correct
to me. I will try to reproduce it but may not be this week.

Quoted 9 lines

--
Tom Rini
Mentor Graphics Corporation

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#17 lore raw
In reply to Khem Raj
Quoted 87 lines · Khem Raj
Quoted 79 lines · Richard Purdie
Quoted 12 lines · Khem Raj
Quoted 11 lines · Mark Hatle
Quoted 4 lines · Mark Hatle

Since applying this update, I'm not longer getting an rpc/rpc.h file, which breaks various things like busybox mount.

Is anyone else seeing this behavior?

Reverting:

2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
190a946e9a4213944e3ee675c4b3e18701698e87

Quoted 6 lines
Quoted 2 lines

fixed the problem for me.  So there is definitely a problems in the upgrade.

onward looking rpc is now maintained with libtirpc starting glibc 2.14 rpc is not to be used from bundled code in glibc. If we dont have recipes for libtirpc then I will add that.

There looks to be more than this wrong with this update. A quick comparison shows the following changes in the list of files being installed from do_install:

-./lib/libmemusage.so
-./lib/libnss_hesiod-2.13.so
-./lib/libnss_nisplus-2.13.so
-./lib/libutil-2.13.so
-./lib/libresolv-2.13.so
-./lib/libm-2.13.so
-./lib/libnsl-2.13.so
-./lib/libnss_compat-2.13.so
-./lib/libnss_nis-2.13.so
-./lib/libnss_dns-2.13.so
-./lib/libanl-2.13.so
-./lib/libBrokenLocale-2.13.so
-./lib/libcrypt-2.13.so
-./etc/rpc
-./usr/lib/libnss_compat_pic.a
-./usr/lib/libnss_dns_pic.a
-./usr/lib/libnss_nisplus_pic.a
+./usr/lib/audit/sotruss-lib.so
-./usr/lib/libutil_pic.map
-./usr/lib/libBrokenLocale_pic.a
-./usr/lib/libBrokenLocale.a
-./usr/lib/libBrokenLocale_pic.map
-./usr/lib/libm.a
-./usr/lib/libnss_dns_pic.map
-./usr/lib/libm_pic.map
-./usr/lib/libnss_hesiod_pic.map
-./usr/lib/librpcsvc.a
-./usr/lib/libutil.a
-./usr/lib/libnss_compat_pic.map
-./usr/lib/libcrypt.a
-./usr/lib/libutil_pic.a
-./usr/lib/libanl.a
-./usr/lib/libnsl_pic.a
-./usr/lib/libresolv.a
-./usr/lib/libnss_hesiod_pic.a
-./usr/lib/libm_pic.a
-./usr/lib/libnsl_pic.map
-./usr/lib/libnss_nis_pic.map
-./usr/lib/libanl_pic.a
-./usr/lib/libcrypt_pic.map
-./usr/lib/libcrypt_pic.a
-./usr/lib/libnss_nis_pic.a
-./usr/lib/libresolv_pic.map
-./usr/lib/libresolv_pic.a
-./usr/lib/libanl_pic.map
-./usr/lib/libnss_nisplus_pic.map
-./usr/lib/libnsl.a
-./usr/bin/rpcgen
-./usr/bin/gencat
+./usr/bin/sotruss
-./usr/bin/localedef
-./usr/bin/locale
-./usr/sbin/rpcinfo
-./usr/sbin/nscd

Quoted 5 lines

Some of these are rpc related but there are other issues too.

I've reverted the upgrade itself for now until we have something in place to address the issues and its actually had some testing...

Quoted 5 lines

some of these are due to rpc and others are due to nss being removed I need to backport the nss db re-implementation then most of it should be resolved
I guess I will post 2.14 as additional recipes rather than replacement for 2.13 that way we will get some soak time.

there are issues with 2.14 and standalone libtirtc too :/
http://blog.flameeyes.eu/2011/06/11/are-you-kidding-me-or-why-we-ll-wait-glibc-2-14-for-a-while

Regards,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
author
#18 lore raw
Quoted 88 lines · Martin Jansa
Quoted 87 lines · Khem Raj
Quoted 84 lines · Richard Purdie
Quoted 12 lines · Khem Raj
Quoted 11 lines · Mark Hatle
Quoted 4 lines · Mark Hatle

Since applying this update, I'm not longer getting an rpc/rpc.h file, which breaks various things like busybox mount.

Is anyone else seeing this behavior?

Reverting:

2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
190a946e9a4213944e3ee675c4b3e18701698e87

Quoted 6 lines
Quoted 2 lines

fixed the problem for me.  So there is definitely a problems in the upgrade.

onward looking rpc is now maintained with libtirpc starting glibc 2.14 rpc is not to be used from bundled code in glibc. If we dont have recipes for libtirpc then I will add that.

There looks to be more than this wrong with this update. A quick comparison shows the following changes in the list of files being installed from do_install:

-./lib/libmemusage.so
-./lib/libnss_hesiod-2.13.so
-./lib/libnss_nisplus-2.13.so
-./lib/libutil-2.13.so
-./lib/libresolv-2.13.so
-./lib/libm-2.13.so
-./lib/libnsl-2.13.so
-./lib/libnss_compat-2.13.so
-./lib/libnss_nis-2.13.so
-./lib/libnss_dns-2.13.so
-./lib/libanl-2.13.so
-./lib/libBrokenLocale-2.13.so
-./lib/libcrypt-2.13.so
-./etc/rpc
-./usr/lib/libnss_compat_pic.a
-./usr/lib/libnss_dns_pic.a
-./usr/lib/libnss_nisplus_pic.a
+./usr/lib/audit/sotruss-lib.so
-./usr/lib/libutil_pic.map
-./usr/lib/libBrokenLocale_pic.a
-./usr/lib/libBrokenLocale.a
-./usr/lib/libBrokenLocale_pic.map
-./usr/lib/libm.a
-./usr/lib/libnss_dns_pic.map
-./usr/lib/libm_pic.map
-./usr/lib/libnss_hesiod_pic.map
-./usr/lib/librpcsvc.a
-./usr/lib/libutil.a
-./usr/lib/libnss_compat_pic.map
-./usr/lib/libcrypt.a
-./usr/lib/libutil_pic.a
-./usr/lib/libanl.a
-./usr/lib/libnsl_pic.a
-./usr/lib/libresolv.a
-./usr/lib/libnss_hesiod_pic.a
-./usr/lib/libm_pic.a
-./usr/lib/libnsl_pic.map
-./usr/lib/libnss_nis_pic.map
-./usr/lib/libanl_pic.a
-./usr/lib/libcrypt_pic.map
-./usr/lib/libcrypt_pic.a
-./usr/lib/libnss_nis_pic.a
-./usr/lib/libresolv_pic.map
-./usr/lib/libresolv_pic.a
-./usr/lib/libanl_pic.map
-./usr/lib/libnss_nisplus_pic.map
-./usr/lib/libnsl.a
-./usr/bin/rpcgen
-./usr/bin/gencat
+./usr/bin/sotruss
-./usr/bin/localedef
-./usr/bin/locale
-./usr/sbin/rpcinfo
-./usr/sbin/nscd

Some of these are rpc related but there are other issues too.

I've reverted the upgrade itself for now until we have something in place to address the issues and its actually had some testing...

Quoted 7 lines
Quoted 5 lines

some of these are due to rpc and others are due to nss being removed I need to backport the nss db re-implementation then most of it should be resolved
I guess I will post 2.14 as additional recipes rather than replacement for 2.13 that way we will get some soak time.

there are issues with 2.14 and standalone libtirtc too :/

Yes I have a fix for that. I will post as soon as I tame busybox

Quoted 13 lines

http://blog.flameeyes.eu/2011/06/11/are-you-kidding-me-or-why-we-ll-wait-glibc-2-14-for-a-while

Regards,

--
Martin 'JaMa' Jansa     jabber: [email protected]

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

author
#19 lore raw
Quoted 95 lines · Khem Raj
Quoted 94 lines · Martin Jansa
Quoted 92 lines · Khem Raj
Quoted 79 lines · Richard Purdie
Quoted 12 lines · Khem Raj
Quoted 11 lines · Mark Hatle
Quoted 4 lines · Mark Hatle

Since applying this update, I'm not longer getting an rpc/rpc.h file, which breaks various things like busybox mount.

Is anyone else seeing this behavior?

Reverting:

2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
190a946e9a4213944e3ee675c4b3e18701698e87

Quoted 6 lines
Quoted 2 lines

fixed the problem for me.  So there is definitely a problems in the upgrade.

onward looking rpc is now maintained with libtirpc starting glibc 2.14 rpc is not to be used from bundled code in glibc. If we dont have recipes for libtirpc then I will add that.

There looks to be more than this wrong with this update. A quick comparison shows the following changes in the list of files being installed from do_install:

-./lib/libmemusage.so
-./lib/libnss_hesiod-2.13.so
-./lib/libnss_nisplus-2.13.so
-./lib/libutil-2.13.so
-./lib/libresolv-2.13.so
-./lib/libm-2.13.so
-./lib/libnsl-2.13.so
-./lib/libnss_compat-2.13.so
-./lib/libnss_nis-2.13.so
-./lib/libnss_dns-2.13.so
-./lib/libanl-2.13.so
-./lib/libBrokenLocale-2.13.so
-./lib/libcrypt-2.13.so
-./etc/rpc
-./usr/lib/libnss_compat_pic.a
-./usr/lib/libnss_dns_pic.a
-./usr/lib/libnss_nisplus_pic.a
+./usr/lib/audit/sotruss-lib.so
-./usr/lib/libutil_pic.map
-./usr/lib/libBrokenLocale_pic.a
-./usr/lib/libBrokenLocale.a
-./usr/lib/libBrokenLocale_pic.map
-./usr/lib/libm.a
-./usr/lib/libnss_dns_pic.map
-./usr/lib/libm_pic.map
-./usr/lib/libnss_hesiod_pic.map
-./usr/lib/librpcsvc.a
-./usr/lib/libutil.a
-./usr/lib/libnss_compat_pic.map
-./usr/lib/libcrypt.a
-./usr/lib/libutil_pic.a
-./usr/lib/libanl.a
-./usr/lib/libnsl_pic.a
-./usr/lib/libresolv.a
-./usr/lib/libnss_hesiod_pic.a
-./usr/lib/libm_pic.a
-./usr/lib/libnsl_pic.map
-./usr/lib/libnss_nis_pic.map
-./usr/lib/libanl_pic.a
-./usr/lib/libcrypt_pic.map
-./usr/lib/libcrypt_pic.a
-./usr/lib/libnss_nis_pic.a
-./usr/lib/libresolv_pic.map
-./usr/lib/libresolv_pic.a
-./usr/lib/libanl_pic.map
-./usr/lib/libnss_nisplus_pic.map
-./usr/lib/libnsl.a
-./usr/bin/rpcgen
-./usr/bin/gencat
+./usr/bin/sotruss
-./usr/bin/localedef
-./usr/bin/locale
-./usr/sbin/rpcinfo
-./usr/sbin/nscd

Quoted 5 lines

Some of these are rpc related but there are other issues too.

I've reverted the upgrade itself for now until we have something in place to address the issues and its actually had some testing...

some of these are due to rpc and others are due to nss being removed I need to backport the nss db re-implementation then most of it should be resolved
I guess I will post 2.14 as additional recipes rather than replacement for 2.13 that way we will get some soak time.

Quoted 3 lines
Quoted 1 line

there are issues with 2.14 and standalone libtirtc too :/

Yes I have a fix for that. I will post as soon as I tame busybox

libtirpc is not yet drop in replacement for glibc rpc and it will take some time for that to happen
we should revert this patch and stay with 2.13 meanwhile

#20 lore raw
In reply to Khem Raj
Quoted 87 lines · Khem Raj
Quoted 79 lines · Richard Purdie
Quoted 12 lines · Khem Raj
Quoted 11 lines · Mark Hatle
Quoted 4 lines · Mark Hatle

Since applying this update, I'm not longer getting an rpc/rpc.h file, which breaks various things like busybox mount.

Is anyone else seeing this behavior?

Reverting:

2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
190a946e9a4213944e3ee675c4b3e18701698e87

Quoted 6 lines
Quoted 2 lines

fixed the problem for me. So there is definitely a problems in the upgrade.

onward looking rpc is now maintained with libtirpc starting glibc 2.14 rpc is not to be used from bundled code in glibc. If we dont have recipes for libtirpc then I will add that.

There looks to be more than this wrong with this update. A quick comparison shows the following changes in the list of files being installed from do_install:

-./lib/libmemusage.so
-./lib/libnss_hesiod-2.13.so
-./lib/libnss_nisplus-2.13.so
-./lib/libutil-2.13.so
-./lib/libresolv-2.13.so
-./lib/libm-2.13.so
-./lib/libnsl-2.13.so
-./lib/libnss_compat-2.13.so
-./lib/libnss_nis-2.13.so
-./lib/libnss_dns-2.13.so
-./lib/libanl-2.13.so
-./lib/libBrokenLocale-2.13.so
-./lib/libcrypt-2.13.so
-./etc/rpc
-./usr/lib/libnss_compat_pic.a
-./usr/lib/libnss_dns_pic.a
-./usr/lib/libnss_nisplus_pic.a
+./usr/lib/audit/sotruss-lib.so
-./usr/lib/libutil_pic.map
-./usr/lib/libBrokenLocale_pic.a
-./usr/lib/libBrokenLocale.a
-./usr/lib/libBrokenLocale_pic.map
-./usr/lib/libm.a
-./usr/lib/libnss_dns_pic.map
-./usr/lib/libm_pic.map
-./usr/lib/libnss_hesiod_pic.map
-./usr/lib/librpcsvc.a
-./usr/lib/libutil.a
-./usr/lib/libnss_compat_pic.map
-./usr/lib/libcrypt.a
-./usr/lib/libutil_pic.a
-./usr/lib/libanl.a
-./usr/lib/libnsl_pic.a
-./usr/lib/libresolv.a
-./usr/lib/libnss_hesiod_pic.a
-./usr/lib/libm_pic.a
-./usr/lib/libnsl_pic.map
-./usr/lib/libnss_nis_pic.map
-./usr/lib/libanl_pic.a
-./usr/lib/libcrypt_pic.map
-./usr/lib/libcrypt_pic.a
-./usr/lib/libnss_nis_pic.a
-./usr/lib/libresolv_pic.map
-./usr/lib/libresolv_pic.a
-./usr/lib/libanl_pic.map
-./usr/lib/libnss_nisplus_pic.map
-./usr/lib/libnsl.a
-./usr/bin/rpcgen
-./usr/bin/gencat
+./usr/bin/sotruss
-./usr/bin/localedef
-./usr/bin/locale
-./usr/sbin/rpcinfo
-./usr/sbin/nscd

Quoted 5 lines

Some of these are rpc related but there are other issues too.

I've reverted the upgrade itself for now until we have something in place to address the issues and its actually had some testing...

Quoted 5 lines

some of these are due to rpc and others are due to nss being removed I need to backport the nss db re-implementation then most of it should be resolved
I guess I will post 2.14 as additional recipes rather than replacement for 2.13 that way we will get some soak time.

FWIW, some of the above list was due to local build corruption as I had some weirdness going on with DISTRO_FEATURES locally. That variable now influences the libc quite a lot and might also be catching others out which is why I mention it.

Cheers,

Richard

author
#21 lore raw
Quoted 94 lines · Richard Purdie
Quoted 87 lines · Khem Raj
Quoted 79 lines · Richard Purdie
Quoted 12 lines · Khem Raj
Quoted 11 lines · Mark Hatle
Quoted 4 lines · Mark Hatle

Since applying this update, I'm not longer getting an rpc/rpc.h file, which breaks various things like busybox mount.

Is anyone else seeing this behavior?

Reverting:

2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
190a946e9a4213944e3ee675c4b3e18701698e87

Quoted 6 lines
Quoted 2 lines

fixed the problem for me.  So there is definitely a problems in the upgrade.

onward looking rpc is now maintained with libtirpc starting glibc 2.14 rpc is not to be used from bundled code in glibc. If we dont have recipes for libtirpc then I will add that.

There looks to be more than this wrong with this update. A quick comparison shows the following changes in the list of files being installed from do_install:

-./lib/libmemusage.so
-./lib/libnss_hesiod-2.13.so
-./lib/libnss_nisplus-2.13.so
-./lib/libutil-2.13.so
-./lib/libresolv-2.13.so
-./lib/libm-2.13.so
-./lib/libnsl-2.13.so
-./lib/libnss_compat-2.13.so
-./lib/libnss_nis-2.13.so
-./lib/libnss_dns-2.13.so
-./lib/libanl-2.13.so
-./lib/libBrokenLocale-2.13.so
-./lib/libcrypt-2.13.so
-./etc/rpc
-./usr/lib/libnss_compat_pic.a
-./usr/lib/libnss_dns_pic.a
-./usr/lib/libnss_nisplus_pic.a
+./usr/lib/audit/sotruss-lib.so
-./usr/lib/libutil_pic.map
-./usr/lib/libBrokenLocale_pic.a
-./usr/lib/libBrokenLocale.a
-./usr/lib/libBrokenLocale_pic.map
-./usr/lib/libm.a
-./usr/lib/libnss_dns_pic.map
-./usr/lib/libm_pic.map
-./usr/lib/libnss_hesiod_pic.map
-./usr/lib/librpcsvc.a
-./usr/lib/libutil.a
-./usr/lib/libnss_compat_pic.map
-./usr/lib/libcrypt.a
-./usr/lib/libutil_pic.a
-./usr/lib/libanl.a
-./usr/lib/libnsl_pic.a
-./usr/lib/libresolv.a
-./usr/lib/libnss_hesiod_pic.a
-./usr/lib/libm_pic.a
-./usr/lib/libnsl_pic.map
-./usr/lib/libnss_nis_pic.map
-./usr/lib/libanl_pic.a
-./usr/lib/libcrypt_pic.map
-./usr/lib/libcrypt_pic.a
-./usr/lib/libnss_nis_pic.a
-./usr/lib/libresolv_pic.map
-./usr/lib/libresolv_pic.a
-./usr/lib/libanl_pic.map
-./usr/lib/libnss_nisplus_pic.map
-./usr/lib/libnsl.a
-./usr/bin/rpcgen
-./usr/bin/gencat
+./usr/bin/sotruss
-./usr/bin/localedef
-./usr/bin/locale
-./usr/sbin/rpcinfo
-./usr/sbin/nscd

Quoted 5 lines

Some of these are rpc related but there are other issues too.

I've reverted the upgrade itself for now until we have something in place to address the issues and its actually had some testing...

Quoted 5 lines

some of these are due to rpc and others are due to nss being removed I need to backport the nss db re-implementation then most of it should be resolved
I guess I will post 2.14 as additional recipes rather than replacement for 2.13 that way we will get some soak time.

Quoted 5 lines

FWIW, some of the above list was due to local build corruption as I had some weirdness going on with DISTRO_FEATURES locally. That variable now influences the libc quite a lot and might also be catching others out which is why I mention it.

yes I kind of was thinking that since for me the libraries were matching except the ones
I mentioned. But
the rpc problem is bigger one and needs some hackery in libtirpc.

Quoted 10 lines

Cheers,

Richard

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core