Skip to contentSkip to conversation

glibc: Update to latest on 2.26 pre-release

PATCH In review Khem Raj 2 participants 4 messages Jul 19, 2017 – Jul 20, 2017

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 glibc: Update to latest on 2.26 pre-release

---
 meta/recipes-core/glibc/cross-localedef-native_2.25.90.bb | 2 +-
 meta/recipes-core/glibc/glibc_2.25.90.bb                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/glibc/cross-localedef-native_2.25.90.bb +1 -1
index 5dd0c70400..429076ea98 100644
@@ -22,7 +22,7 @@ SRCBRANCH ?= "master"
 GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)"
 
-SRCREV_glibc ?= "43a9f537fc121a867981ca31ea9d79f33ce0fd24"
+SRCREV_glibc ?= "91ac3a7d8474480685632cd25f844d3154c69fdf"
 SRCREV_localedef ?= "dfb4afe551c6c6e94f9cc85417bd1f582168c843"
 
 SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
meta/recipes-core/glibc/glibc_2.25.90.bb +1 -1
index caf1ff4138..477b04d867 100644
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSES;md5=e9a558e243b36d3209f380deb394b213 \
 
 DEPENDS += "gperf-native"
 
-SRCREV ?= "43a9f537fc121a867981ca31ea9d79f33ce0fd24"
+SRCREV ?= "91ac3a7d8474480685632cd25f844d3154c69fdf"
 
 #SRCBRANCH ?= "release/${PV}/master"
 SRCBRANCH ?= "master"
Signature · 1 line
2.13.3
author
#1 lore raw

PATCH 2/2 mkelfimage: Fix build on x86_64 with hardening

We get linking errors on some hosts like
| ld -static --warn-multiple-gp --warn-common -T linux-i386/convert.lds -o objdir/linux-i386/convert ob jdir/linux-i386/head.o objdir/linux-i386/convert_params.o
| objdir/linux-i386/convert_params.o: In function `printf':
| convert_params.c:(.text+0x1fd): undefined reference to `__stack_chk_fail_local'

This is because the build system is defaulting to host linker when building 32bit binaries and it may not have same defaults as OE toolchain and issue gets highlighted.

fix it by using cross linker for 32bit links when building on x86_64

---
 meta/recipes-devtools/mkelfimage/mkelfimage_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/mkelfimage/mkelfimage_git.bb +1 -0
index 2bcc8d7bd9..2ad4b49ab1 100644
@@ -29,6 +29,7 @@ CACHED_CONFIGUREVARS += "\
     HOST_CFLAGS='${BUILD_CFLAGS}' \
     HOST_CPPFLAGS='${BUILD_CPPFLAGS}' \
 "
+EXTRA_OECONF_append_x86-64 = " --with-i386=${HOST_SYS}"
 
 inherit autotools-brokensep
 
Signature · 1 line
2.13.3
#2 lore raw
In reply to Khem Raj

Fails in glibc-locale here:

| LC_ADDRESS: language abbreviation `agr' not defined
| Makefile:1039: recipe for target '/data/poky-tmp/master/build/work/corei7-64-poky-linux/glibc-locale/2.25.90-r0/locale-tree/usr/lib/locale/agr_PE' failed
| make: *** [/data/poky-tmp/master/build/work/corei7-64-poky-linux/glibc-locale/2.25.90-r0/locale-tree/usr/lib/locale/agr_PE] Error 1
| make: *** Waiting for unfinished jobs....
| make: Leaving directory '/data/poky-tmp/master/build/work/corei7-64-poky-linux/glibc-locale/2.25.90-r0/locale-tree'

| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| DEBUG: Python function package_do_split_gconvs finished
| DEBUG: Python function populate_packages finished
| DEBUG: Python function do_package finished
| ERROR: Function failed: oe_runmake (log file is located at

/data/poky-tmp/master/build/work/corei7-64-poky-linux/glibc-locale/2.25.90-r0/temp/log.do_package.7984)
ERROR: Task (/home/ross/Yocto/poky/meta/recipes-core/glibc/glibc-locale_2.25.90.bb:do_package) failed with exit code '1'

Quoted 44 lines · Khem Raj
---
 meta/recipes-core/glibc/cross-localedef-native_2.25.90.bb | 2 +-
 meta/recipes-core/glibc/glibc_2.25.90.bb                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/glibc/cross-localedef-native_2.25.90.bb +1 -1
index 5dd0c70400..429076ea98 100644
@@ -22,7 +22,7 @@ SRCBRANCH ?= "master"
 GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)"
 
-SRCREV_glibc ?= "43a9f537fc121a867981ca31ea9d79f33ce0fd24"
+SRCREV_glibc ?= "91ac3a7d8474480685632cd25f844d3154c69fdf"
 SRCREV_localedef ?= "dfb4afe551c6c6e94f9cc85417bd1f582168c843"
 
 SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
meta/recipes-core/glibc/glibc_2.25.90.bb +1 -1
index caf1ff4138..477b04d867 100644
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSES;md5=
 e9a558e243b36d3209f380deb394b213 \
 
 DEPENDS += "gperf-native"
 
-SRCREV ?= "43a9f537fc121a867981ca31ea9d79f33ce0fd24"
+SRCREV ?= "91ac3a7d8474480685632cd25f844d3154c69fdf"
 
 #SRCBRANCH ?= "release/${PV}/master"

SRCBRANCH ?= "master"
--
2.13.3

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

author
#3 lore raw
Quoted 18 lines · Ross

Fails in glibc-locale here:

| LC_ADDRESS: language abbreviation `agr' not defined
| Makefile:1039: recipe for target '/data/poky-tmp/master/build/work/corei7-64-poky-linux/glibc-locale/2.25.90-r0/locale-tree/usr/lib/locale/agr_PE' failed
| make: *** [/data/poky-tmp/master/build/work/corei7-64-poky-linux/glibc-locale/2.25.90-r0/locale-tree/usr/lib/locale/agr_PE] Error 1
| make: *** Waiting for unfinished jobs....
| make: Leaving directory '/data/poky-tmp/master/build/work/corei7-64-poky-linux/glibc-locale/2.25.90-r0/locale-tree'

| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| DEBUG: Python function package_do_split_gconvs finished
| DEBUG: Python function populate_packages finished
| DEBUG: Python function do_package finished
| ERROR: Function failed: oe_runmake (log file is located at
Quoted 4 lines

/data/poky-tmp/master/build/work/corei7-64-poky-linux/glibc-locale/2.25.90-r0/temp/log.do_package.7984)
ERROR: Task (/home/ross/Yocto/poky/meta/recipes-core/glibc/glibc-locale_2.25.90.bb:do_package) failed with exit code '1'

ok. I think I will wait a week for final release.

Quoted 48 lines · Khem Raj
Quoted 44 lines
---
 meta/recipes-core/glibc/cross-localedef-native_2.25.90.bb | 2 +-
 meta/recipes-core/glibc/glibc_2.25.90.bb                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/glibc/cross-localedef-native_2.25.90.bb +1 -1
index 5dd0c70400..429076ea98 100644
@@ -22,7 +22,7 @@ SRCBRANCH ?= "master"
 GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)"
 
-SRCREV_glibc ?= "43a9f537fc121a867981ca31ea9d79f33ce0fd24"
+SRCREV_glibc ?= "91ac3a7d8474480685632cd25f844d3154c69fdf"
 SRCREV_localedef ?= "dfb4afe551c6c6e94f9cc85417bd1f582168c843"
 
 SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
meta/recipes-core/glibc/glibc_2.25.90.bb +1 -1
index caf1ff4138..477b04d867 100644
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM =
 "file://LICENSES;md5=e9a558e243b36d3209f380deb394b213 \
 
 DEPENDS += "gperf-native"
 
-SRCREV ?= "43a9f537fc121a867981ca31ea9d79f33ce0fd24"
+SRCREV ?= "91ac3a7d8474480685632cd25f844d3154c69fdf"
 
 #SRCBRANCH ?= "release/${PV}/master"

SRCBRANCH ?= "master"
--
2.13.3

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