All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] eglibc-2.15: Update SRCREV
@ 2012-03-23  2:56 Khem Raj
  2012-03-23  2:56 ` [PATCH 2/2] pixman: disable iwmmxt Khem Raj
  2012-03-23 12:05 ` [PATCH 1/2] eglibc-2.15: Update SRCREV Richard Purdie
  0 siblings, 2 replies; 16+ messages in thread
From: Khem Raj @ 2012-03-23  2:56 UTC (permalink / raw)
  To: openembedded-core

Get new patches and remove the one that got merged upstream

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch    |  108 ++++++++++++++++++++
 .../eglibc-2.15/armv4-eabi-compile-fix.patch       |   25 -----
 .../eglibc/eglibc-2.15/initgroups_keys.patch       |   20 ++++
 meta/recipes-core/eglibc/eglibc_2.15.bb            |    5 +-
 4 files changed, 131 insertions(+), 27 deletions(-)
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
 create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patch

diff --git a/meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch b/meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch
new file mode 100644
index 0000000..b899562
--- /dev/null
+++ b/meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch
@@ -0,0 +1,108 @@
+Its controlled by __OPTION_EGLIBC_RTLD_DEBUG
+so we should use GLRO_dl_debug_mask
+
+Singed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Upstream-Status: Pending
+Index: libc/elf/dl-open.c
+===================================================================
+--- libc.orig/elf/dl-open.c	2012-03-09 08:54:34.691443995 -0800
++++ libc/elf/dl-open.c	2012-03-09 08:55:31.275446730 -0800
+@@ -154,7 +154,7 @@
+ 	  ns->_ns_main_searchlist->r_list[new_nlist++] = map;
+ 
+ 	  /* We modify the global scope.  Report this.  */
+-	  if (__builtin_expect (GLRO(dl_debug_mask) & DL_DEBUG_SCOPES, 0))
++	  if (__builtin_expect (GLRO_dl_debug_mask & DL_DEBUG_SCOPES, 0))
+ 	    _dl_debug_printf ("\nadd %s [%lu] to global scope\n",
+ 			      map->l_name, map->l_ns);
+ 	}
+@@ -294,7 +294,7 @@
+   _dl_debug_state ();
+ 
+   /* Print scope information.  */
+-  if (__builtin_expect (GLRO(dl_debug_mask) & DL_DEBUG_SCOPES, 0))
++  if (__builtin_expect (GLRO_dl_debug_mask & DL_DEBUG_SCOPES, 0))
+     _dl_show_scope (new, 0);
+ 
+   /* Only do lazy relocation if `LD_BIND_NOW' is not set.  */
+@@ -438,7 +438,7 @@
+ 	}
+ 
+       /* Print scope information.  */
+-      if (__builtin_expect (GLRO(dl_debug_mask) & DL_DEBUG_SCOPES, 0))
++      if (__builtin_expect (GLRO_dl_debug_mask & DL_DEBUG_SCOPES, 0))
+ 	_dl_show_scope (imap, from_scope);
+     }
+ 
+Index: libc/ports/sysdeps/mips/dl-lookup.c
+===================================================================
+--- libc.orig/ports/sysdeps/mips/dl-lookup.c	2012-03-09 08:54:34.707443996 -0800
++++ libc/ports/sysdeps/mips/dl-lookup.c	2012-03-09 09:02:36.903467324 -0800
+@@ -111,7 +111,7 @@
+ 	continue;
+ 
+       /* Print some debugging info if wanted.  */
+-      if (__builtin_expect (GLRO(dl_debug_mask) & DL_DEBUG_SYMBOLS, 0))
++      if (__builtin_expect (GLRO_dl_debug_mask & DL_DEBUG_SYMBOLS, 0))
+ 	_dl_debug_printf ("symbol=%s;  lookup in file=%s [%lu]\n",
+ 			  undef_name,
+ 			  map->l_name[0] ? map->l_name : rtld_progname,
+@@ -432,7 +432,7 @@
+ 		     hash table.  */
+ 		  if (__builtin_expect (tab->size, 0))
+ 		    {
+-		      assert (GLRO(dl_debug_mask) & DL_DEBUG_PRELINK);
++		      assert (GLRO_dl_debug_mask & DL_DEBUG_PRELINK);
+ 		      __rtld_lock_unlock_recursive (tab->lock);
+ 		      goto success;
+ 		    }
+@@ -681,7 +681,7 @@
+ 	}
+ 
+       /* Display information if we are debugging.  */
+-      if (__builtin_expect (GLRO(dl_debug_mask) & DL_DEBUG_FILES, 0))
++      if (__builtin_expect (GLRO_dl_debug_mask & DL_DEBUG_FILES, 0))
+ 	_dl_debug_printf ("\
+ \nfile=%s [%lu];  needed by %s [%lu] (relocation dependency)\n\n",
+ 			  map->l_name[0] ? map->l_name : rtld_progname,
+@@ -860,7 +860,7 @@
+   if (__builtin_expect (current_value.m->l_used == 0, 0))
+     current_value.m->l_used = 1;
+ 
+-  if (__builtin_expect (GLRO(dl_debug_mask)
++  if (__builtin_expect (GLRO_dl_debug_mask
+ 			& (DL_DEBUG_BINDINGS|DL_DEBUG_PRELINK), 0))
+     _dl_debug_bindings (undef_name, undef_map, ref,
+ 			&current_value, version, type_class, protected);
+@@ -925,7 +925,7 @@
+ {
+   const char *reference_name = undef_map->l_name;
+ 
+-  if (GLRO(dl_debug_mask) & DL_DEBUG_BINDINGS)
++  if (GLRO_dl_debug_mask & DL_DEBUG_BINDINGS)
+     {
+       _dl_debug_printf ("binding file %s [%lu] to %s [%lu]: %s symbol `%s'",
+ 			(reference_name[0]
+@@ -941,7 +941,7 @@
+ 	_dl_debug_printf_c ("\n");
+     }
+ #ifdef SHARED
+-  if (GLRO(dl_debug_mask) & DL_DEBUG_PRELINK)
++  if (GLRO_dl_debug_mask & DL_DEBUG_PRELINK)
+     {
+       int conflict = 0;
+       struct sym_val val = { NULL, NULL };
+Index: libc/elf/rtld.c
+===================================================================
+--- libc.orig/elf/rtld.c	2012-03-09 09:01:35.159464344 -0800
++++ libc/elf/rtld.c	2012-03-09 09:01:56.247465364 -0800
+@@ -2198,7 +2198,7 @@
+   GLRO(dl_init_all_dirs) = GL(dl_all_dirs);
+ 
+   /* Print scope information.  */
+-  if (__builtin_expect (GLRO(dl_debug_mask) & DL_DEBUG_SCOPES, 0))
++  if (__builtin_expect (GLRO_dl_debug_mask & DL_DEBUG_SCOPES, 0))
+     {
+       _dl_debug_printf ("\nInitial object scopes\n");
+ 
diff --git a/meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch b/meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
deleted file mode 100644
index c2407ee..0000000
--- a/meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Source: http://sourceware.org/bugzilla/show_bug.cgi?id=12097
-Upstream-Status: Submitted
-
-The patch should be merged into glibc-ports
-
--Khem
-Index: libc/ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S
-===================================================================
---- libc.orig/ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S
-+++ libc/ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S
-@@ -16,6 +16,8 @@
-    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-    02111-1307 USA.  */
- 
-+#if defined(__thumb__)
-+
- #include <sysdep.h>
- 
- /* Out-of-line syscall stub.  We expect the system call number in ip
-@@ -41,3 +43,5 @@ ENTRY (__libc_do_syscall)
- 	pop	{r7, pc}
- 	.fnend
- END (__libc_do_syscall)
-+
-+#endif /* __thumb__ */
diff --git a/meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patch b/meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patch
new file mode 100644
index 0000000..be29856
--- /dev/null
+++ b/meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patch
@@ -0,0 +1,20 @@
+This is needed since initgroups belongs to NET group
+so when NET is disabled in eglibc build then it reports
+as undefined symbol
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+Upstream-Status: Pending
+
+Index: libc/nss/getent.c
+===================================================================
+--- libc.orig/nss/getent.c	2012-03-09 09:41:57.099581559 -0800
++++ libc/nss/getent.c	2012-03-09 09:42:13.095582334 -0800
+@@ -898,7 +898,7 @@
+ D(group)
+ D(gshadow)
+ DN(hosts)
+-D(initgroups)
++DN(initgroups)
+ DN(netgroup)
+ DN(networks)
+ D(passwd)
diff --git a/meta/recipes-core/eglibc/eglibc_2.15.bb b/meta/recipes-core/eglibc/eglibc_2.15.bb
index 3820f5a..5b727c6 100644
--- a/meta/recipes-core/eglibc/eglibc_2.15.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.15.bb
@@ -1,6 +1,6 @@
 require eglibc.inc
 
-SRCREV = "16540"
+SRCREV = "17386"
 
 DEPENDS += "gperf-native"
 PR = "r1"
@@ -12,7 +12,6 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http
            file://IO-acquire-lock-fix.patch \
            file://mips-rld-map-check.patch \
            file://stack-protector-test.patch \
-           file://armv4-eabi-compile-fix.patch \
            file://etc/ld.so.conf \
            file://generate-supported.mk \
            file://ppc-sqrt.patch \
@@ -22,6 +21,8 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http
            file://use-sysroot-cxx-headers.patch \
            file://x86_fenv.patch \
            file://ppc-sqrt_finite.patch \
+           file://GLRO_dl_debug_mask.patch \
+           file://initgroups_keys.patch \
           "
 LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \
       file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 2/2] pixman: disable iwmmxt
  2012-03-23  2:56 [PATCH 1/2] eglibc-2.15: Update SRCREV Khem Raj
@ 2012-03-23  2:56 ` Khem Raj
  2012-03-23 12:04   ` Richard Purdie
  2012-03-23 12:05 ` [PATCH 1/2] eglibc-2.15: Update SRCREV Richard Purdie
  1 sibling, 1 reply; 16+ messages in thread
From: Khem Raj @ 2012-03-23  2:56 UTC (permalink / raw)
  To: openembedded-core

Pixman build system is borked and always wants iwmmxt intrinsics
it errors like below

| ../pixman/.libs/libpixman-1.so: error: undefined reference to
'__builtin_arm_wand'
| ../pixman/.libs/libpixman-1.so: error: undefined reference to
'__builtin_arm_wsrlhi'
| ../pixman/.libs/libpixman-1.so: error: undefined reference to
'__builtin_arm_walign'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-graphics/xorg-lib/pixman_0.25.2.bb |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-graphics/xorg-lib/pixman_0.25.2.bb b/meta/recipes-graphics/xorg-lib/pixman_0.25.2.bb
index 4cff6f9..bf239d9 100644
--- a/meta/recipes-graphics/xorg-lib/pixman_0.25.2.bb
+++ b/meta/recipes-graphics/xorg-lib/pixman_0.25.2.bb
@@ -14,9 +14,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=14096c769ae0cbb5fcb94ec468be11b3 \
                    "
 DEPENDS += "zlib libpng"
 
+PR = "r1"
+
 PE = "1"
 
-EXTRA_OECONF="--disable-gtk"
+IWMMXT = "--disable-arm-iwmmxt"
+
+EXTRA_OECONF="--disable-gtk ${IWMMXT}"
 
 SRC_URI[md5sum] = "8d5722f6f61db50034303947a40f5e7b"
 SRC_URI[sha256sum] = "06d83ce5a5f2f8ab3761e88a2de1576b6596bb436190166a242b9d75a68bc1d8"
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 16+ messages in thread

* Re: [PATCH 2/2] pixman: disable iwmmxt
  2012-03-23  2:56 ` [PATCH 2/2] pixman: disable iwmmxt Khem Raj
@ 2012-03-23 12:04   ` Richard Purdie
  2012-03-23 12:08     ` Martin Jansa
  0 siblings, 1 reply; 16+ messages in thread
From: Richard Purdie @ 2012-03-23 12:04 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Thu, 2012-03-22 at 19:56 -0700, Khem Raj wrote:
> Pixman build system is borked and always wants iwmmxt intrinsics
> it errors like below
> 
> | ../pixman/.libs/libpixman-1.so: error: undefined reference to
> '__builtin_arm_wand'
> | ../pixman/.libs/libpixman-1.so: error: undefined reference to
> '__builtin_arm_wsrlhi'
> | ../pixman/.libs/libpixman-1.so: error: undefined reference to
> '__builtin_arm_walign'
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/recipes-graphics/xorg-lib/pixman_0.25.2.bb |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)

Merged to master, thanks!

Richard




^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 1/2] eglibc-2.15: Update SRCREV
  2012-03-23  2:56 [PATCH 1/2] eglibc-2.15: Update SRCREV Khem Raj
  2012-03-23  2:56 ` [PATCH 2/2] pixman: disable iwmmxt Khem Raj
@ 2012-03-23 12:05 ` Richard Purdie
  2012-03-23 13:17   ` Martin Jansa
  1 sibling, 1 reply; 16+ messages in thread
From: Richard Purdie @ 2012-03-23 12:05 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Thu, 2012-03-22 at 19:56 -0700, Khem Raj wrote:
> Get new patches and remove the one that got merged upstream
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  .../eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch    |  108 ++++++++++++++++++++
>  .../eglibc-2.15/armv4-eabi-compile-fix.patch       |   25 -----
>  .../eglibc/eglibc-2.15/initgroups_keys.patch       |   20 ++++
>  meta/recipes-core/eglibc/eglibc_2.15.bb            |    5 +-
>  4 files changed, 131 insertions(+), 27 deletions(-)
>  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch
>  delete mode 100644 meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
>  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patch

Since 2.15 isn't the default I'm tempted to merge this despite the point
we're at in the release cycle. I'd like to give anyone using this the
opportunity to comment first though.

Cheers,

Richard




^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 2/2] pixman: disable iwmmxt
  2012-03-23 12:04   ` Richard Purdie
@ 2012-03-23 12:08     ` Martin Jansa
  2012-03-23 13:34       ` Khem Raj
  0 siblings, 1 reply; 16+ messages in thread
From: Martin Jansa @ 2012-03-23 12:08 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 895 bytes --]

On Fri, Mar 23, 2012 at 12:04:28PM +0000, Richard Purdie wrote:
> On Thu, 2012-03-22 at 19:56 -0700, Khem Raj wrote:
> > Pixman build system is borked and always wants iwmmxt intrinsics
> > it errors like below
> > 
> > | ../pixman/.libs/libpixman-1.so: error: undefined reference to
> > '__builtin_arm_wand'
> > | ../pixman/.libs/libpixman-1.so: error: undefined reference to
> > '__builtin_arm_wsrlhi'
> > | ../pixman/.libs/libpixman-1.so: error: undefined reference to
> > '__builtin_arm_walign'
> > 
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> >  meta/recipes-graphics/xorg-lib/pixman_0.25.2.bb |    6 +++++-
> >  1 files changed, 5 insertions(+), 1 deletions(-)
> 
> Merged to master, thanks!

khem, will you send patch for meta-oe .bbaappend so we don't have it
twice in OECONF?

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 1/2] eglibc-2.15: Update SRCREV
  2012-03-23 12:05 ` [PATCH 1/2] eglibc-2.15: Update SRCREV Richard Purdie
@ 2012-03-23 13:17   ` Martin Jansa
  2012-03-24  2:26     ` Martin Jansa
  0 siblings, 1 reply; 16+ messages in thread
From: Martin Jansa @ 2012-03-23 13:17 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]

On Fri, Mar 23, 2012 at 12:05:25PM +0000, Richard Purdie wrote:
> On Thu, 2012-03-22 at 19:56 -0700, Khem Raj wrote:
> > Get new patches and remove the one that got merged upstream
> > 
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> >  .../eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch    |  108 ++++++++++++++++++++
> >  .../eglibc-2.15/armv4-eabi-compile-fix.patch       |   25 -----
> >  .../eglibc/eglibc-2.15/initgroups_keys.patch       |   20 ++++
> >  meta/recipes-core/eglibc/eglibc_2.15.bb            |    5 +-
> >  4 files changed, 131 insertions(+), 27 deletions(-)
> >  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch
> >  delete mode 100644 meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
> >  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patch
> 
> Since 2.15 isn't the default I'm tempted to merge this despite the point
> we're at in the release cycle. I'd like to give anyone using this the
> opportunity to comment first though.

I'm testing this on all archs I'm using (armv4t, armv5te, armv7a,
x86-64) and will report tomorrow.

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 2/2] pixman: disable iwmmxt
  2012-03-23 12:08     ` Martin Jansa
@ 2012-03-23 13:34       ` Khem Raj
  0 siblings, 0 replies; 16+ messages in thread
From: Khem Raj @ 2012-03-23 13:34 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Fri, Mar 23, 2012 at 5:08 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
>
>
> khem, will you send patch for meta-oe .bbaappend so we don't have it
> twice in OECONF?
>

yes eventually although I am short on time. So unless someone beats me
to it I will
> Cheers,



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 1/2] eglibc-2.15: Update SRCREV
  2012-03-23 13:17   ` Martin Jansa
@ 2012-03-24  2:26     ` Martin Jansa
  2012-03-28 14:15       ` Khem Raj
  2012-03-30  9:31       ` Martin Jansa
  0 siblings, 2 replies; 16+ messages in thread
From: Martin Jansa @ 2012-03-24  2:26 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 4942 bytes --]

On Fri, Mar 23, 2012 at 02:17:02PM +0100, Martin Jansa wrote:
> On Fri, Mar 23, 2012 at 12:05:25PM +0000, Richard Purdie wrote:
> > On Thu, 2012-03-22 at 19:56 -0700, Khem Raj wrote:
> > > Get new patches and remove the one that got merged upstream
> > > 
> > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > ---
> > >  .../eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch    |  108 ++++++++++++++++++++
> > >  .../eglibc-2.15/armv4-eabi-compile-fix.patch       |   25 -----
> > >  .../eglibc/eglibc-2.15/initgroups_keys.patch       |   20 ++++
> > >  meta/recipes-core/eglibc/eglibc_2.15.bb            |    5 +-
> > >  4 files changed, 131 insertions(+), 27 deletions(-)
> > >  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch
> > >  delete mode 100644 meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
> > >  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patch
> > 
> > Since 2.15 isn't the default I'm tempted to merge this despite the point
> > we're at in the release cycle. I'd like to give anyone using this the
> > opportunity to comment first though.
> 
> I'm testing this on all archs I'm using (armv4t, armv5te, armv7a,
> x86-64) and will report tomorrow.

Doesn't look related to this change, but I got interesing error on other
buildhost (on mine everything seems fine sofar including tests on
target), I don't have log from armv4t build on mine, because it's on tmpfs
and there was unexpected reboot when I wasn't home :/.

Failing is testing ld from armv4t-oe-linux-gnueabi.gcc-cross-intermediate:
configure:4894: checking whether /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv4t-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/as is GNU as
configure:4908: result: yes
configure:4913: checking whether /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv4t-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/ld is GNU ld
configure:4927: result: yes
configure:4937: checking for /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv4t-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/as
configure:4964: result: /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv4t-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/as
configure:4979: checking version of /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv4t-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/as
configure:4989: result: 2.22, ok
configure:5000: checking for /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv4t-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/ld
configure:5027: result: /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv4t-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/ld
configure:5042: checking version of /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv4t-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/ld
configure:5052: result: v. ?.??, bad

working is testing ld directly from native sysroot:
configure:4894: checking whether /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/as is GNU as
configure:4908: result: yes
configure:4913: checking whether /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/armv5te-oe-linux-gnueabi/arm-oe-linux-gnueabi-ld.bfd is GNU ld
configure:4927: result: yes
configure:4937: checking for /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/as
configure:4964: result: /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/as
configure:4979: checking version of /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/as
configure:4989: result: 2.22, ok
configure:5000: checking for /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/armv5te-oe-linux-gnueabi/arm-oe-linux-gnueabi-ld.bfd
configure:5027: result: /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/armv5te-oe-linux-gnueabi/arm-oe-linux-gnueabi-ld.bfd
configure:5042: checking version of /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/armv5te-oe-linux-gnueabi/arm-oe-linux-gnueabi-ld.bfd
configure:5052: result: 2.22, ok

Cheers,


-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 1/2] eglibc-2.15: Update SRCREV
  2012-03-24  2:26     ` Martin Jansa
@ 2012-03-28 14:15       ` Khem Raj
  2012-03-28 14:33         ` Martin Jansa
  2012-03-30  9:31       ` Martin Jansa
  1 sibling, 1 reply; 16+ messages in thread
From: Khem Raj @ 2012-03-28 14:15 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Fri, Mar 23, 2012 at 7:26 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Fri, Mar 23, 2012 at 02:17:02PM +0100, Martin Jansa wrote:
>> On Fri, Mar 23, 2012 at 12:05:25PM +0000, Richard Purdie wrote:
>> > On Thu, 2012-03-22 at 19:56 -0700, Khem Raj wrote:
>> > > Get new patches and remove the one that got merged upstream
>> > >
>> > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> > > ---
>> > >  .../eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch    |  108 ++++++++++++++++++++
>> > >  .../eglibc-2.15/armv4-eabi-compile-fix.patch       |   25 -----
>> > >  .../eglibc/eglibc-2.15/initgroups_keys.patch       |   20 ++++
>> > >  meta/recipes-core/eglibc/eglibc_2.15.bb            |    5 +-
>> > >  4 files changed, 131 insertions(+), 27 deletions(-)
>> > >  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch
>> > >  delete mode 100644 meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
>> > >  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patch
>> >
>> > Since 2.15 isn't the default I'm tempted to merge this despite the point
>> > we're at in the release cycle. I'd like to give anyone using this the
>> > opportunity to comment first though.
>>
>> I'm testing this on all archs I'm using (armv4t, armv5te, armv7a,
>> x86-64) and will report tomorrow.
>
> Doesn't look related to this change, but I got interesing error on other
> buildhost (on mine everything seems fine sofar including tests on
> target), I don't have log from armv4t build on mine, because it's on tmpfs
> and there was unexpected reboot when I wasn't home :/.

Hi Martin

Does it look good for your testing ?



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 1/2] eglibc-2.15: Update SRCREV
  2012-03-28 14:15       ` Khem Raj
@ 2012-03-28 14:33         ` Martin Jansa
  2012-03-28 16:10           ` Khem Raj
  2012-04-04 21:11           ` Martin Jansa
  0 siblings, 2 replies; 16+ messages in thread
From: Martin Jansa @ 2012-03-28 14:33 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 2366 bytes --]

On Wed, Mar 28, 2012 at 07:15:32AM -0700, Khem Raj wrote:
> On Fri, Mar 23, 2012 at 7:26 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> > On Fri, Mar 23, 2012 at 02:17:02PM +0100, Martin Jansa wrote:
> >> On Fri, Mar 23, 2012 at 12:05:25PM +0000, Richard Purdie wrote:
> >> > On Thu, 2012-03-22 at 19:56 -0700, Khem Raj wrote:
> >> > > Get new patches and remove the one that got merged upstream
> >> > >
> >> > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> >> > > ---
> >> > >  .../eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch    |  108 ++++++++++++++++++++
> >> > >  .../eglibc-2.15/armv4-eabi-compile-fix.patch       |   25 -----
> >> > >  .../eglibc/eglibc-2.15/initgroups_keys.patch       |   20 ++++
> >> > >  meta/recipes-core/eglibc/eglibc_2.15.bb            |    5 +-
> >> > >  4 files changed, 131 insertions(+), 27 deletions(-)
> >> > >  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch
> >> > >  delete mode 100644 meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
> >> > >  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patch
> >> >
> >> > Since 2.15 isn't the default I'm tempted to merge this despite the point
> >> > we're at in the release cycle. I'd like to give anyone using this the
> >> > opportunity to comment first though.
> >>
> >> I'm testing this on all archs I'm using (armv4t, armv5te, armv7a,
> >> x86-64) and will report tomorrow.
> >
> > Doesn't look related to this change, but I got interesing error on other
> > buildhost (on mine everything seems fine sofar including tests on
> > target), I don't have log from armv4t build on mine, because it's on tmpfs
> > and there was unexpected reboot when I wasn't home :/.
> 
> Hi Martin
> 
> Does it look good for your testing ?

Seems fine in runtime any hint about that build issue?

Today I got another one :/

"build-x86_64-oe-linux/shlib.lds:127: syntax error
while building eglibc

I had reports about this before, but wasn't able to reproduce it on my
machine, today I got it for first time (maybe because of building with
-j8 instead of -j4), so I've created simple testcase to compare interim 
outputs from shlib.lds creation:
http://build.shr-project.org/tests/jama/shlib-issue/

Cheers,
-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 1/2] eglibc-2.15: Update SRCREV
  2012-03-28 14:33         ` Martin Jansa
@ 2012-03-28 16:10           ` Khem Raj
  2012-03-28 20:35             ` Martin Jansa
  2012-04-04 21:11           ` Martin Jansa
  1 sibling, 1 reply; 16+ messages in thread
From: Khem Raj @ 2012-03-28 16:10 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, Mar 28, 2012 at 7:33 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Wed, Mar 28, 2012 at 07:15:32AM -0700, Khem Raj wrote:
>> On Fri, Mar 23, 2012 at 7:26 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
>> > On Fri, Mar 23, 2012 at 02:17:02PM +0100, Martin Jansa wrote:
>> >> On Fri, Mar 23, 2012 at 12:05:25PM +0000, Richard Purdie wrote:
>> >> > On Thu, 2012-03-22 at 19:56 -0700, Khem Raj wrote:
>> >> > > Get new patches and remove the one that got merged upstream
>> >> > >
>> >> > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> >> > > ---
>> >> > >  .../eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch    |  108 ++++++++++++++++++++
>> >> > >  .../eglibc-2.15/armv4-eabi-compile-fix.patch       |   25 -----
>> >> > >  .../eglibc/eglibc-2.15/initgroups_keys.patch       |   20 ++++
>> >> > >  meta/recipes-core/eglibc/eglibc_2.15.bb            |    5 +-
>> >> > >  4 files changed, 131 insertions(+), 27 deletions(-)
>> >> > >  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch
>> >> > >  delete mode 100644 meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
>> >> > >  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patch
>> >> >
>> >> > Since 2.15 isn't the default I'm tempted to merge this despite the point
>> >> > we're at in the release cycle. I'd like to give anyone using this the
>> >> > opportunity to comment first though.
>> >>
>> >> I'm testing this on all archs I'm using (armv4t, armv5te, armv7a,
>> >> x86-64) and will report tomorrow.
>> >
>> > Doesn't look related to this change, but I got interesing error on other
>> > buildhost (on mine everything seems fine sofar including tests on
>> > target), I don't have log from armv4t build on mine, because it's on tmpfs
>> > and there was unexpected reboot when I wasn't home :/.
>>
>> Hi Martin
>>
>> Does it look good for your testing ?
>
> Seems fine in runtime any hint about that build issue?
>
> Today I got another one :/
>
> "build-x86_64-oe-linux/shlib.lds:127: syntax error
> while building eglibc
>
> I had reports about this before, but wasn't able to reproduce it on my
> machine, today I got it for first time (maybe because of building with
> -j8 instead of -j4), so I've created simple testcase to compare interim
> outputs from shlib.lds creation:
> http://build.shr-project.org/tests/jama/shlib-issue/
>

yes I am aware of this problem. Somehow tokens in linker script
gets eaten up which results in unbalanced parens. I havent tracked
it down. I have seen this with eglibc 2.13 as well.

Are you using gold by any chance.

> Cheers,
> --
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 1/2] eglibc-2.15: Update SRCREV
  2012-03-28 16:10           ` Khem Raj
@ 2012-03-28 20:35             ` Martin Jansa
  0 siblings, 0 replies; 16+ messages in thread
From: Martin Jansa @ 2012-03-28 20:35 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 3509 bytes --]

On Wed, Mar 28, 2012 at 09:10:57AM -0700, Khem Raj wrote:
> On Wed, Mar 28, 2012 at 7:33 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> > On Wed, Mar 28, 2012 at 07:15:32AM -0700, Khem Raj wrote:
> >> On Fri, Mar 23, 2012 at 7:26 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> >> > On Fri, Mar 23, 2012 at 02:17:02PM +0100, Martin Jansa wrote:
> >> >> On Fri, Mar 23, 2012 at 12:05:25PM +0000, Richard Purdie wrote:
> >> >> > On Thu, 2012-03-22 at 19:56 -0700, Khem Raj wrote:
> >> >> > > Get new patches and remove the one that got merged upstream
> >> >> > >
> >> >> > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> >> >> > > ---
> >> >> > >  .../eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch    |  108 ++++++++++++++++++++
> >> >> > >  .../eglibc-2.15/armv4-eabi-compile-fix.patch       |   25 -----
> >> >> > >  .../eglibc/eglibc-2.15/initgroups_keys.patch       |   20 ++++
> >> >> > >  meta/recipes-core/eglibc/eglibc_2.15.bb            |    5 +-
> >> >> > >  4 files changed, 131 insertions(+), 27 deletions(-)
> >> >> > >  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch
> >> >> > >  delete mode 100644 meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
> >> >> > >  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patch
> >> >> >
> >> >> > Since 2.15 isn't the default I'm tempted to merge this despite the point
> >> >> > we're at in the release cycle. I'd like to give anyone using this the
> >> >> > opportunity to comment first though.
> >> >>
> >> >> I'm testing this on all archs I'm using (armv4t, armv5te, armv7a,
> >> >> x86-64) and will report tomorrow.
> >> >
> >> > Doesn't look related to this change, but I got interesing error on other
> >> > buildhost (on mine everything seems fine sofar including tests on
> >> > target), I don't have log from armv4t build on mine, because it's on tmpfs
> >> > and there was unexpected reboot when I wasn't home :/.
> >>
> >> Hi Martin
> >>
> >> Does it look good for your testing ?
> >
> > Seems fine in runtime any hint about that build issue?
> >
> > Today I got another one :/
> >
> > "build-x86_64-oe-linux/shlib.lds:127: syntax error
> > while building eglibc
> >
> > I had reports about this before, but wasn't able to reproduce it on my
> > machine, today I got it for first time (maybe because of building with
> > -j8 instead of -j4), so I've created simple testcase to compare interim
> > outputs from shlib.lds creation:
> > http://build.shr-project.org/tests/jama/shlib-issue/
> >
> 
> yes I am aware of this problem. Somehow tokens in linker script
> gets eaten up which results in unbalanced parens. I havent tracked
> it down. I have seen this with eglibc 2.13 as well.
> 
> Are you using gold by any chance.

Not in that build I have seen it for first time (it was for qemux86-64
with distroless oe-core).

Cheers,

> 
> > Cheers,
> > --
> > Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com
> >
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> >
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 1/2] eglibc-2.15: Update SRCREV
  2012-03-24  2:26     ` Martin Jansa
  2012-03-28 14:15       ` Khem Raj
@ 2012-03-30  9:31       ` Martin Jansa
  1 sibling, 0 replies; 16+ messages in thread
From: Martin Jansa @ 2012-03-30  9:31 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 7100 bytes --]

On Sat, Mar 24, 2012 at 03:26:39AM +0100, Martin Jansa wrote:
> On Fri, Mar 23, 2012 at 02:17:02PM +0100, Martin Jansa wrote:
> > On Fri, Mar 23, 2012 at 12:05:25PM +0000, Richard Purdie wrote:
> > > On Thu, 2012-03-22 at 19:56 -0700, Khem Raj wrote:
> > > > Get new patches and remove the one that got merged upstream
> > > > 
> > > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > > ---
> > > >  .../eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch    |  108 ++++++++++++++++++++
> > > >  .../eglibc-2.15/armv4-eabi-compile-fix.patch       |   25 -----
> > > >  .../eglibc/eglibc-2.15/initgroups_keys.patch       |   20 ++++
> > > >  meta/recipes-core/eglibc/eglibc_2.15.bb            |    5 +-
> > > >  4 files changed, 131 insertions(+), 27 deletions(-)
> > > >  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch
> > > >  delete mode 100644 meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
> > > >  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patch
> > > 
> > > Since 2.15 isn't the default I'm tempted to merge this despite the point
> > > we're at in the release cycle. I'd like to give anyone using this the
> > > opportunity to comment first though.
> > 
> > I'm testing this on all archs I'm using (armv4t, armv5te, armv7a,
> > x86-64) and will report tomorrow.
> 
> Doesn't look related to this change, but I got interesing error on other
> buildhost (on mine everything seems fine sofar including tests on
> target), I don't have log from armv4t build on mine, because it's on tmpfs
> and there was unexpected reboot when I wasn't home :/.
> 
> Failing is testing ld from armv4t-oe-linux-gnueabi.gcc-cross-intermediate:
> configure:4894: checking whether /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv4t-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/as is GNU as
> configure:4908: result: yes
> configure:4913: checking whether /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv4t-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/ld is GNU ld
> configure:4927: result: yes
> configure:4937: checking for /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv4t-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/as
> configure:4964: result: /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv4t-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/as
> configure:4979: checking version of /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv4t-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/as
> configure:4989: result: 2.22, ok
> configure:5000: checking for /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv4t-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/ld
> configure:5027: result: /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv4t-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/ld
> configure:5042: checking version of /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv4t-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/ld
> configure:5052: result: v. ?.??, bad

this could be partially fixed by
--- ../glibc-2.15/configure     2012-03-30 11:22:50.507987687 +0200
+++ ../glibc-2.15/configure.new 2012-03-30 11:22:39.934987828 +0200
@@ -4804,6 +4804,7 @@
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
 $as_echo_n "checking version of $LD... " >&6; }
   ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
+  test -z $ac_prog_version && ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU gold.* Binutils \([0-9][0-9]*\.[0-9.]*\)) .*$/\1/p'`
   case $ac_prog_version in
     '') ac_prog_version="v. ?.??, bad";
        ac_verc_fail=yes;;

But later it fails with:
checking for i386 TLS support... no
configure: error: the assembler must support TLS

configure:7901: result: running configure fragment for sysdeps/i386/elf
configure:88: checking for i386 TLS support
configure:110: gcc -c -g -O2 conftest.s 1>&5
conftest.s: Assembler messages:
conftest.s:8: Error: @TLSLDM reloc is not supported with 64-bit output format
conftest.s:8: Error: junk `@TLSLDM' after expression
conftest.s:9: Error: relocated field and relocation type differ in signedness
conftest.s:10: Error: relocated field and relocation type differ in signedness
conftest.s:11: Error: relocated field and relocation type differ in signedness
conftest.s:12: Error: @GOTNTPOFF reloc is not supported with 64-bit output format
conftest.s:12: Error: junk `@GOTNTPOFF' after expression
conftest.s:14: Error: @NTPOFF reloc is not supported with 64-bit output format
conftest.s:14: Error: junk `@NTPOFF' after expression
configure:113: $? = 1
configure:121: result: no
configure:124: error: the assembler must support TLS

So eglibc should always use ld.bfd even with gold enabled for rest of build and not ld found in 
sysroots/x86_64-linux/usr/libexec/armv5te-oe-linux-gnueabi.gcc-cross-intermediate

> working is testing ld directly from native sysroot:
> configure:4894: checking whether /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/as is GNU as
> configure:4908: result: yes
> configure:4913: checking whether /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/armv5te-oe-linux-gnueabi/arm-oe-linux-gnueabi-ld.bfd is GNU ld
> configure:4927: result: yes
> configure:4937: checking for /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/as
> configure:4964: result: /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/as
> configure:4979: checking version of /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-oe-linux-gnueabi.gcc-cross-intermediate/gcc/arm-oe-linux-gnueabi/4.6.4/as
> configure:4989: result: 2.22, ok
> configure:5000: checking for /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/armv5te-oe-linux-gnueabi/arm-oe-linux-gnueabi-ld.bfd
> configure:5027: result: /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/armv5te-oe-linux-gnueabi/arm-oe-linux-gnueabi-ld.bfd
> configure:5042: checking version of /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/armv5te-oe-linux-gnueabi/arm-oe-linux-gnueabi-ld.bfd
> configure:5052: result: 2.22, ok
> 
> Cheers,
> 
> 
> -- 
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com



-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 1/2] eglibc-2.15: Update SRCREV
  2012-03-28 14:33         ` Martin Jansa
  2012-03-28 16:10           ` Khem Raj
@ 2012-04-04 21:11           ` Martin Jansa
  2012-04-16 14:33             ` eglibc: shlib.lds:127: syntax error Was: " Martin Jansa
  1 sibling, 1 reply; 16+ messages in thread
From: Martin Jansa @ 2012-04-04 21:11 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 2959 bytes --]

On Wed, Mar 28, 2012 at 04:33:47PM +0200, Martin Jansa wrote:
> On Wed, Mar 28, 2012 at 07:15:32AM -0700, Khem Raj wrote:
> > On Fri, Mar 23, 2012 at 7:26 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> > > On Fri, Mar 23, 2012 at 02:17:02PM +0100, Martin Jansa wrote:
> > >> On Fri, Mar 23, 2012 at 12:05:25PM +0000, Richard Purdie wrote:
> > >> > On Thu, 2012-03-22 at 19:56 -0700, Khem Raj wrote:
> > >> > > Get new patches and remove the one that got merged upstream
> > >> > >
> > >> > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > >> > > ---
> > >> > >  .../eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch    |  108 ++++++++++++++++++++
> > >> > >  .../eglibc-2.15/armv4-eabi-compile-fix.patch       |   25 -----
> > >> > >  .../eglibc/eglibc-2.15/initgroups_keys.patch       |   20 ++++
> > >> > >  meta/recipes-core/eglibc/eglibc_2.15.bb            |    5 +-
> > >> > >  4 files changed, 131 insertions(+), 27 deletions(-)
> > >> > >  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch
> > >> > >  delete mode 100644 meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
> > >> > >  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patch
> > >> >
> > >> > Since 2.15 isn't the default I'm tempted to merge this despite the point
> > >> > we're at in the release cycle. I'd like to give anyone using this the
> > >> > opportunity to comment first though.
> > >>
> > >> I'm testing this on all archs I'm using (armv4t, armv5te, armv7a,
> > >> x86-64) and will report tomorrow.
> > >
> > > Doesn't look related to this change, but I got interesing error on other
> > > buildhost (on mine everything seems fine sofar including tests on
> > > target), I don't have log from armv4t build on mine, because it's on tmpfs
> > > and there was unexpected reboot when I wasn't home :/.
> > 
> > Hi Martin
> > 
> > Does it look good for your testing ?
> 
> Seems fine in runtime any hint about that build issue?
> 
> Today I got another one :/
> 
> "build-x86_64-oe-linux/shlib.lds:127: syntax error
> while building eglibc
> 
> I had reports about this before, but wasn't able to reproduce it on my
> machine, today I got it for first time (maybe because of building with
> -j8 instead of -j4), so I've created simple testcase to compare interim 
> outputs from shlib.lds creation:
> http://build.shr-project.org/tests/jama/shlib-issue/

To follow this monolog, the problem is in file Makerules itself, gcc
output is the same as well as output from sed, but Makerules file is
partially rewritten during build and if shlib.lds gets generated in
wrong time then it results in this

touch /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc/eglibc-2.15-r3+svnr17386/eglibc-2_15/libc/Makerules

after eglibc build fail is enough to recreate correct shlibs.lds

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* eglibc: shlib.lds:127: syntax error Was: [PATCH 1/2] eglibc-2.15: Update SRCREV
  2012-04-04 21:11           ` Martin Jansa
@ 2012-04-16 14:33             ` Martin Jansa
  2012-04-17 14:31               ` Martin Jansa
  0 siblings, 1 reply; 16+ messages in thread
From: Martin Jansa @ 2012-04-16 14:33 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 3501 bytes --]

On Wed, Apr 04, 2012 at 11:11:08PM +0200, Martin Jansa wrote:
> On Wed, Mar 28, 2012 at 04:33:47PM +0200, Martin Jansa wrote:
> > On Wed, Mar 28, 2012 at 07:15:32AM -0700, Khem Raj wrote:
> > > On Fri, Mar 23, 2012 at 7:26 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> > > > On Fri, Mar 23, 2012 at 02:17:02PM +0100, Martin Jansa wrote:
> > > >> On Fri, Mar 23, 2012 at 12:05:25PM +0000, Richard Purdie wrote:
> > > >> > On Thu, 2012-03-22 at 19:56 -0700, Khem Raj wrote:
> > > >> > > Get new patches and remove the one that got merged upstream
> > > >> > >
> > > >> > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > >> > > ---
> > > >> > >  .../eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch    |  108 ++++++++++++++++++++
> > > >> > >  .../eglibc-2.15/armv4-eabi-compile-fix.patch       |   25 -----
> > > >> > >  .../eglibc/eglibc-2.15/initgroups_keys.patch       |   20 ++++
> > > >> > >  meta/recipes-core/eglibc/eglibc_2.15.bb            |    5 +-
> > > >> > >  4 files changed, 131 insertions(+), 27 deletions(-)
> > > >> > >  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch
> > > >> > >  delete mode 100644 meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
> > > >> > >  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patch
> > > >> >
> > > >> > Since 2.15 isn't the default I'm tempted to merge this despite the point
> > > >> > we're at in the release cycle. I'd like to give anyone using this the
> > > >> > opportunity to comment first though.
> > > >>
> > > >> I'm testing this on all archs I'm using (armv4t, armv5te, armv7a,
> > > >> x86-64) and will report tomorrow.
> > > >
> > > > Doesn't look related to this change, but I got interesing error on other
> > > > buildhost (on mine everything seems fine sofar including tests on
> > > > target), I don't have log from armv4t build on mine, because it's on tmpfs
> > > > and there was unexpected reboot when I wasn't home :/.
> > > 
> > > Hi Martin
> > > 
> > > Does it look good for your testing ?
> > 
> > Seems fine in runtime any hint about that build issue?
> > 
> > Today I got another one :/
> > 
> > "build-x86_64-oe-linux/shlib.lds:127: syntax error
> > while building eglibc
> > 
> > I had reports about this before, but wasn't able to reproduce it on my
> > machine, today I got it for first time (maybe because of building with
> > -j8 instead of -j4), so I've created simple testcase to compare interim 
> > outputs from shlib.lds creation:
> > http://build.shr-project.org/tests/jama/shlib-issue/
> 
> To follow this monolog, the problem is in file Makerules itself, gcc
> output is the same as well as output from sed, but Makerules file is
> partially rewritten during build and if shlib.lds gets generated in
> wrong time then it results in this
> 
> touch /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc/eglibc-2.15-r3+svnr17386/eglibc-2_15/libc/Makerules
> 
> after eglibc build fail is enough to recreate correct shlibs.lds

I was running core-image-minimal builds on different block devices to
provide some build time data for 
[yocto] Build time data
thread and it seems that this bug is more likely to happen on fast host
with slow IO

I've got it 4 times today (from 4 tries) when running with tmpdir on RAID5,
and only once (from 3 tries) when running with with tmpdir on tmpfs.

Cheers,
-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: eglibc: shlib.lds:127: syntax error Was: [PATCH 1/2] eglibc-2.15: Update SRCREV
  2012-04-16 14:33             ` eglibc: shlib.lds:127: syntax error Was: " Martin Jansa
@ 2012-04-17 14:31               ` Martin Jansa
  0 siblings, 0 replies; 16+ messages in thread
From: Martin Jansa @ 2012-04-17 14:31 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 3831 bytes --]

On Mon, Apr 16, 2012 at 04:33:10PM +0200, Martin Jansa wrote:
> On Wed, Apr 04, 2012 at 11:11:08PM +0200, Martin Jansa wrote:
> > On Wed, Mar 28, 2012 at 04:33:47PM +0200, Martin Jansa wrote:
> > > On Wed, Mar 28, 2012 at 07:15:32AM -0700, Khem Raj wrote:
> > > > On Fri, Mar 23, 2012 at 7:26 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> > > > > On Fri, Mar 23, 2012 at 02:17:02PM +0100, Martin Jansa wrote:
> > > > >> On Fri, Mar 23, 2012 at 12:05:25PM +0000, Richard Purdie wrote:
> > > > >> > On Thu, 2012-03-22 at 19:56 -0700, Khem Raj wrote:
> > > > >> > > Get new patches and remove the one that got merged upstream
> > > > >> > >
> > > > >> > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > > >> > > ---
> > > > >> > >  .../eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch    |  108 ++++++++++++++++++++
> > > > >> > >  .../eglibc-2.15/armv4-eabi-compile-fix.patch       |   25 -----
> > > > >> > >  .../eglibc/eglibc-2.15/initgroups_keys.patch       |   20 ++++
> > > > >> > >  meta/recipes-core/eglibc/eglibc_2.15.bb            |    5 +-
> > > > >> > >  4 files changed, 131 insertions(+), 27 deletions(-)
> > > > >> > >  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch
> > > > >> > >  delete mode 100644 meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
> > > > >> > >  create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patch
> > > > >> >
> > > > >> > Since 2.15 isn't the default I'm tempted to merge this despite the point
> > > > >> > we're at in the release cycle. I'd like to give anyone using this the
> > > > >> > opportunity to comment first though.
> > > > >>
> > > > >> I'm testing this on all archs I'm using (armv4t, armv5te, armv7a,
> > > > >> x86-64) and will report tomorrow.
> > > > >
> > > > > Doesn't look related to this change, but I got interesing error on other
> > > > > buildhost (on mine everything seems fine sofar including tests on
> > > > > target), I don't have log from armv4t build on mine, because it's on tmpfs
> > > > > and there was unexpected reboot when I wasn't home :/.
> > > > 
> > > > Hi Martin
> > > > 
> > > > Does it look good for your testing ?
> > > 
> > > Seems fine in runtime any hint about that build issue?
> > > 
> > > Today I got another one :/
> > > 
> > > "build-x86_64-oe-linux/shlib.lds:127: syntax error
> > > while building eglibc
> > > 
> > > I had reports about this before, but wasn't able to reproduce it on my
> > > machine, today I got it for first time (maybe because of building with
> > > -j8 instead of -j4), so I've created simple testcase to compare interim 
> > > outputs from shlib.lds creation:
> > > http://build.shr-project.org/tests/jama/shlib-issue/
> > 
> > To follow this monolog, the problem is in file Makerules itself, gcc
> > output is the same as well as output from sed, but Makerules file is
> > partially rewritten during build and if shlib.lds gets generated in
> > wrong time then it results in this
> > 
> > touch /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc/eglibc-2.15-r3+svnr17386/eglibc-2_15/libc/Makerules
> > 
> > after eglibc build fail is enough to recreate correct shlibs.lds
> 
> I was running core-image-minimal builds on different block devices to
> provide some build time data for 
> [yocto] Build time data
> thread and it seems that this bug is more likely to happen on fast host
> with slow IO
> 
> I've got it 4 times today (from 4 tries) when running with tmpdir on RAID5,
> and only once (from 3 tries) when running with with tmpdir on tmpfs.

Today I got it 6 times when trying to build on single SATA2 disk..
filled https://bugzilla.yoctoproject.org/show_bug.cgi?id=2314

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-04-17 14:40 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-23  2:56 [PATCH 1/2] eglibc-2.15: Update SRCREV Khem Raj
2012-03-23  2:56 ` [PATCH 2/2] pixman: disable iwmmxt Khem Raj
2012-03-23 12:04   ` Richard Purdie
2012-03-23 12:08     ` Martin Jansa
2012-03-23 13:34       ` Khem Raj
2012-03-23 12:05 ` [PATCH 1/2] eglibc-2.15: Update SRCREV Richard Purdie
2012-03-23 13:17   ` Martin Jansa
2012-03-24  2:26     ` Martin Jansa
2012-03-28 14:15       ` Khem Raj
2012-03-28 14:33         ` Martin Jansa
2012-03-28 16:10           ` Khem Raj
2012-03-28 20:35             ` Martin Jansa
2012-04-04 21:11           ` Martin Jansa
2012-04-16 14:33             ` eglibc: shlib.lds:127: syntax error Was: " Martin Jansa
2012-04-17 14:31               ` Martin Jansa
2012-03-30  9:31       ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.