[Buildroot] locale displaying odd behaviour

Matthew Dombroski matthew.dombroski at gmail.com
Fri Apr 11 04:12:52 UTC 2008


Hi,
So I have compiled buildroot for an arm target, specifically at91sam9263.
buildroot svn r21660, gcc 4.2.3, uClibc svn r21622
All seems to work well except for locales.

I wrote a bit of code to check what is returned by lconv() and get the
following result:

# /mnt/usb/locale-test
Locale (ALL) --> "C"
Locale (CTYPE) --> "C"
Locale (NUMERIC) --> "C"
Locale (MONETARY) --> "C"
Locale (TIME) --> "C"
Decimal point --> ""
Thousands seperator --> ""
Grouping --> ""
International currency symbol --> "."
Currency Symbol --> "ل.س."
Monetary Decimal Point --> ""
Monetary Thousands Seperator --> " "
Monetary Grouping --> ""
Negative Sign --> ""
Positive Sign --> ""
#

The immediately obvious thing is the lack of the currency symbol but
there are more severe problems like the lack of a decimal point
character.
Similar output for all locales (en_US.UTF-8 etc.)

I have tried various configurations with no effect.

Anyone seen this before?
know how to fix it?
I suspect that uClibc is the problem but maybe someone has seen this before.

Thanks,
Matthew


More information about the buildroot mailing list