Re: [Angstrom-devel] [meta-angstrom][PATCH][master][angstrom-v2015.12-yocto2.0] angstrom.conf: arm: use compatible glibc and glibc-locale

2015-10-22 Thread Khem Raj

> On Oct 17, 2015, at 2:27 AM, Max Krummenacher  wrote:
> 
> oe-core moved to glibc and cross-localedef-native based on version 2.22.
> Angstrom currently uses linaro glibc in version 2.20 for arm.
> This leads to incompatible locales. They cause exeptions or hangs. e.g.:
> 
> root@colibri-imx6:~# sh -c "LANG=en_US"
> sh: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof
> (_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))'
> failed.
> Aborted


applied thank you

> 
> root@colibri-imx6:~# localectl status
> ^C
> 
> Signed-off-by: Max Krummenacher 
> ---
> conf/distro/angstrom.conf | 2 --
> 1 file changed, 2 deletions(-)
> 
> diff --git a/conf/distro/angstrom.conf b/conf/distro/angstrom.conf
> index 330aebd..680bbd1 100644
> --- a/conf/distro/angstrom.conf
> +++ b/conf/distro/angstrom.conf
> @@ -58,12 +58,10 @@ ANGSTROM_GDB_VERSION ?= "7.9%"
> #use Linaro tools for ARM
> ANGSTROM_GCC_VERSION_arm ?= "linaro-4.9%"
> ANGSTROM_BINUTILS_VERSION_arm?= "linaro-%"
> -GLIBCVERSION_arm ?= "linaro-2.2%"
> ANGSTROM_GDB_VERSION_arm ?= "linaro-%"
> ANGSTROM_GCC_VERSION_aarch64 ?= "linaro-4.9%"
> ANGSTROM_BINUTILS_VERSION_aarch64?= "linaro-%"
> ANGSTROM_GDB_VERSION_aarch64 ?= "linaro-%"
> -GLIBCVERSION_aarch64 ?= "linaro-2.2%"
> PREFERRED_VERSION_cross-localedef-native ?= "2.2%"
> 
> ANGSTROM_QEMU_VERSION?= "2%"
> --
> 1.8.4.5
> 
> 
> ___
> Angstrom-distro-devel mailing list
> Angstrom-distro-devel@linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


[Angstrom-devel] [meta-angstrom][PATCH][master][angstrom-v2015.12-yocto2.0] angstrom.conf: arm: use compatible glibc and glibc-locale

2015-10-17 Thread Max Krummenacher
oe-core moved to glibc and cross-localedef-native based on version 2.22.
Angstrom currently uses linaro glibc in version 2.20 for arm.
This leads to incompatible locales. They cause exeptions or hangs. e.g.:

root@colibri-imx6:~# sh -c "LANG=en_US"
sh: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof
(_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))'
failed.
Aborted

root@colibri-imx6:~# localectl status
^C

Signed-off-by: Max Krummenacher 
---
 conf/distro/angstrom.conf | 2 --
 1 file changed, 2 deletions(-)

diff --git a/conf/distro/angstrom.conf b/conf/distro/angstrom.conf
index 330aebd..680bbd1 100644
--- a/conf/distro/angstrom.conf
+++ b/conf/distro/angstrom.conf
@@ -58,12 +58,10 @@ ANGSTROM_GDB_VERSION ?= "7.9%"
 #use Linaro tools for ARM
 ANGSTROM_GCC_VERSION_arm ?= "linaro-4.9%"
 ANGSTROM_BINUTILS_VERSION_arm?= "linaro-%"
-GLIBCVERSION_arm ?= "linaro-2.2%"
 ANGSTROM_GDB_VERSION_arm ?= "linaro-%"
 ANGSTROM_GCC_VERSION_aarch64 ?= "linaro-4.9%"
 ANGSTROM_BINUTILS_VERSION_aarch64?= "linaro-%"
 ANGSTROM_GDB_VERSION_aarch64 ?= "linaro-%"
-GLIBCVERSION_aarch64 ?= "linaro-2.2%"
 PREFERRED_VERSION_cross-localedef-native ?= "2.2%"
 
 ANGSTROM_QEMU_VERSION?= "2%"
-- 
1.8.4.5


___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel