eglibc-2.15: Update SRCREV
PATCH 1/2 eglibc-2.15: Update SRCREV
Get new patches and remove the one that got merged upstream
--- .../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
meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patch new file +108 -0
@@ -0,0 +1,108 @@ +Its controlled by __OPTION_EGLIBC_RTLD_DEBUG +so we should use GLRO_dl_debug_mask + +Singed-off-by: Khem Raj <[email protected]> + +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, + ¤t_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"); +
meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch deleted +0 -25
@@ -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__ */
meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patch new file +20 -0
@@ -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 <[email protected]> +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)
meta/recipes-core/eglibc/eglibc_2.15.bb +3 -2
@@ -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 \
Signature · 1 line
1.7.5.4
PATCH 2/2 pixman: disable iwmmxt
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'
--- meta/recipes-graphics/xorg-lib/pixman_0.25.2.bb | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
meta/recipes-graphics/xorg-lib/pixman_0.25.2.bb +5 -1
@@ -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"
Signature · 1 line
1.7.5.4
Richard Purdie
AppliedRe: [PATCH 2/2] pixman: disable iwmmxt
Quoted 10 lines · Khem Raj
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'
Quoted 4 lines
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-graphics/xorg-lib/pixman_0.25.2.bb | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
Merged to master, thanks!
Richard
Re: [PATCH 2/2] pixman: disable iwmmxt
Quoted 11 lines · Richard Purdie
Quoted 10 lines · Khem Raj
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'
Quoted 6 lines
Quoted 4 lines
Signed-off-by Khem Raj <[email protected]>--- 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,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [PATCH 2/2] pixman: disable iwmmxt
Quoted 5 lines · Martin Jansa
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
Quoted 1 line
Cheers,
Quoted 12 lines · Khem Raj
Get new patches and remove the one that got merged upstream
Signed-off-by Khem Raj <[email protected]>--- .../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
Quoted 14 lines · Richard Purdie
Quoted 12 lines · Khem Raj
Get new patches and remove the one that got merged upstream
Signed-off-by Khem Raj <[email protected]>--- .../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
Quoted 3 lines
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,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 15 lines · Martin Jansa
Quoted 14 lines · Richard Purdie
Quoted 12 lines · Khem Raj
Get new patches and remove the one that got merged upstream
Signed-off-by Khem Raj <[email protected]>--- .../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
Quoted 6 lines
Quoted 3 lines
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,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 20 lines · Martin Jansa
Quoted 19 lines · Martin Jansa
Quoted 17 lines · Richard Purdie
Quoted 8 lines · Khem Raj
Get new patches and remove the one that got merged upstream
Signed-off-by Khem Raj <[email protected]>---
.../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 +-Quoted 4 lines
4 files changed, 131 insertions(+), 27 deletions(-)create mode 100644
meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patchdelete mode 100644meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patchcreate mode 100644meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patchSince 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.
Quoted 7 lines
Quoted 2 lines
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 ?
Quoted 24 lines · Khem Raj
Quoted 23 lines · Martin Jansa
Quoted 21 lines · Martin Jansa
Quoted 14 lines · Richard Purdie
Quoted 8 lines · Khem Raj
Get new patches and remove the one that got merged upstream
Signed-off-by Khem Raj <[email protected]>---
.../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 +-Quoted 4 lines
4 files changed, 131 insertions(+), 27 deletions(-)create mode 100644
meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patchdelete mode 100644meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patchcreate mode 100644meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patchQuoted 3 lines
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.
Quoted 8 lines
Quoted 4 lines
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,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 38 lines · Martin Jansa
Quoted 24 lines · Khem Raj
Quoted 23 lines · Martin Jansa
Quoted 21 lines · Martin Jansa
Quoted 14 lines · Richard Purdie
Quoted 8 lines · Khem Raj
Get new patches and remove the one that got merged upstream
Signed-off-by Khem Raj <[email protected]>---
.../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 +-Quoted 4 lines
4 files changed, 131 insertions(+), 27 deletions(-)create mode 100644
meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patchdelete mode 100644meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patchcreate mode 100644meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patchQuoted 3 lines
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.
Quoted 8 lines
Quoted 4 lines
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 :/
Quoted 9 lines
"
build-x86_64-oe-linux/shlib.lds:127: syntax error while building eglibcI 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.ldscreation:
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.
Quoted 9 lines
Cheers,
--
Martin 'JaMa' Jansa jabber: [email protected]_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Quoted 49 lines · Khem Raj
Quoted 38 lines · Martin Jansa
Quoted 24 lines · Khem Raj
Quoted 23 lines · Martin Jansa
Quoted 21 lines · Martin Jansa
Quoted 14 lines · Richard Purdie
Quoted 8 lines · Khem Raj
Get new patches and remove the one that got merged upstream
Signed-off-by Khem Raj <[email protected]>---
.../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 +-Quoted 4 lines
4 files changed, 131 insertions(+), 27 deletions(-)create mode 100644
meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patchdelete mode 100644meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patchcreate mode 100644meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patchQuoted 3 lines
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.
Quoted 8 lines
Quoted 4 lines
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 :/
Quoted 9 lines
"
build-x86_64-oe-linux/shlib.lds:127: syntax error while building eglibcI 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.ldscreation:
http://build.shr-project.org/tests/jama/shlib-issue/
Quoted 5 lines
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,
Quoted 15 lines
Quoted 10 lines
Cheers,
--
Martin 'JaMa' Jansa jabber: [email protected]_______________________________________________
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
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 38 lines · Martin Jansa
Quoted 24 lines · Khem Raj
Quoted 23 lines · Martin Jansa
Quoted 21 lines · Martin Jansa
Quoted 14 lines · Richard Purdie
Quoted 8 lines · Khem Raj
Get new patches and remove the one that got merged upstream
Signed-off-by Khem Raj <[email protected]>---
.../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 +-Quoted 4 lines
4 files changed, 131 insertions(+), 27 deletions(-)create mode 100644
meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patchdelete mode 100644meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patchcreate mode 100644meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patchQuoted 3 lines
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.
Quoted 8 lines
Quoted 4 lines
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 :/
Quoted 8 lines
"
build-x86_64-oe-linux/shlib.lds:127: syntax error while building eglibcI 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.ldscreation:
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,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
eglibc: shlib.lds:127: syntax error Was: [PATCH 1/2] eglibc-2.15: Update SRCREV
Quoted 48 lines · Martin Jansa
Quoted 38 lines · Martin Jansa
Quoted 24 lines · Khem Raj
Quoted 23 lines · Martin Jansa
Quoted 21 lines · Martin Jansa
Quoted 14 lines · Richard Purdie
Quoted 8 lines · Khem Raj
Get new patches and remove the one that got merged upstream
Signed-off-by Khem Raj <[email protected]>---
.../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 +-Quoted 4 lines
4 files changed, 131 insertions(+), 27 deletions(-)create mode 100644
meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patchdelete mode 100644meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patchcreate mode 100644meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patchQuoted 3 lines
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.
Quoted 8 lines
Quoted 4 lines
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 :/
Quoted 8 lines
"
build-x86_64-oe-linux/shlib.lds:127: syntax error while building eglibcI 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.ldscreation:
http://build.shr-project.org/tests/jama/shlib-issue/
Quoted 8 lines
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.ldsgets generated in wrong time then it results in thistouch /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,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: eglibc: shlib.lds:127: syntax error Was: [PATCH 1/2] eglibc-2.15: Update SRCREV
Quoted 58 lines · Martin Jansa
Quoted 48 lines · Martin Jansa
Quoted 38 lines · Martin Jansa
Quoted 24 lines · Khem Raj
Quoted 23 lines · Martin Jansa
Quoted 21 lines · Martin Jansa
Quoted 14 lines · Richard Purdie
Quoted 8 lines · Khem Raj
Get new patches and remove the one that got merged upstream
Signed-off-by Khem Raj <[email protected]>---
.../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 +-Quoted 4 lines
4 files changed, 131 insertions(+), 27 deletions(-)create mode 100644
meta/recipes-core/eglibc/eglibc-2.15/GLRO_dl_debug_mask.patchdelete mode 100644meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patchcreate mode 100644meta/recipes-core/eglibc/eglibc-2.15/initgroups_keys.patchQuoted 3 lines
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.
Quoted 8 lines
Quoted 4 lines
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 :/
Quoted 8 lines
"
build-x86_64-oe-linux/shlib.lds:127: syntax error while building eglibcI 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.ldscreation:
http://build.shr-project.org/tests/jama/shlib-issue/Quoted 8 lines
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.ldsgets generated in wrong time then it results in thistouch /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
Quoted 8 lines
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 IOI'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,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 28 lines · Martin Jansa
Quoted 15 lines · Martin Jansa
Quoted 14 lines · Richard Purdie
Quoted 12 lines · Khem Raj
Get new patches and remove the one that got merged upstream
Signed-off-by Khem Raj <[email protected]>--- .../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.patchQuoted 6 lines
Quoted 3 lines
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 :/.
Quoted 13 lines
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/asis 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/ldis 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/asconfigure: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/asconfigure: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/asconfigure: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/ldconfigure: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/ldconfigure: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/ldconfigure:5052: result: v. ?.??, bad
this could be partially fixed by
glibc-2.15/configure.new 2012-03-30 11:22:39.934987828 +0200 renamed from glibc-2.15/configure 2012-03-30 11:22:50.507987687 +0200 +1 -0
@@ -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
Quoted 19 lines
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, okCheers,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]