i.MX6 Yocto Jethro release problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6 Yocto Jethro release problem

Jump to solution
1,190 Views
eric_lee1
Contributor II

Lately, NXP released a Yocto Jethro BSP. Has anyone one noticed the locale library incompatible problem?

root:~# 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:~#

How to work this around?

Labels (2)
1 Solution
904 Views
OtavioSalvador
Senior Contributor II

The IMAGE_LINGUAS handles which locale packages are installed into the image. It does not handle the environment default.

The locale system works as in every Linux based distribution, it respects the locale environment setting.

You can try setting:

LC_ALL=...

and opening the application you want.

View solution in original post

2 Replies
904 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Eric Lee,

The en_US.UTF-8 (IMAGE_LINGUAS = "en-us") should be set as default as far as I know but you can make sure it's generated using GLIB_GENERATE_LOCALES = "en_US.UTF-8" on the local.conf file.

OtavioSalvador​, would you know how locales are handled on the Jethro branch?

Regards,

0 Kudos
Reply
905 Views
OtavioSalvador
Senior Contributor II

The IMAGE_LINGUAS handles which locale packages are installed into the image. It does not handle the environment default.

The locale system works as in every Linux based distribution, it respects the locale environment setting.

You can try setting:

LC_ALL=...

and opening the application you want.