Trouble with Locale

Waldemar Brodkorb wbx@openadk.org
Wed Aug 17 05:48:00 GMT 2016


Hi,
Kenneth Adam Miller wrote,

> In addition, the particular error I got was:
> 
> [INFO ]  Installing C library headers
> [ERROR]    make[2]: *** [../..//extra/locale/c8tables.h] Error 1
> [ERROR]    make[1]: *** [headers] Error 2
> [ERROR]
> [ERROR]  >>
> [ERROR]  >>  Build failed in step 'Installing C library headers'
> [ERROR]  >>        called in step '(top-level)'
> [ERROR]  >>
> [ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257]
> [ERROR]  >>        called from:
> do_libc_start_files[scripts/build/libc/uClibc.sh@117]
> [ERROR]  >>        called from: main[scripts/crosstool-NG.sh@646]
> [ERROR]  >>
> [ERROR]  >>  For more info on this error, look at the file: 'build.log'
> [ERROR]  >>  There is a list of known issues, some with workarounds, in:
> [ERROR]  >>
> '/usr/local/share/doc/crosstool-ng/crosstool-ng-1.22.0/B - Known
> issues.txt'
> [ERROR]
> [ERROR]  (elapsed: 16:13.99)
> [16:15] / make: *** [build] Error 2
> 
> 
> 
> And the file c8tables.h contains:
> 
> "could not find a UTF8 locale ... please enable en_US.UTF-8"
> 
> On Tue, Aug 16, 2016 at 11:44 PM, Kenneth Adam Miller
> <kennethadammiller@gmail.com> wrote:
> >
> > I did have a setting wherein I specified a local configuration for the
> > uclibc library to be built by, and had enabled locales and wchar...
> >
> > On Mon, Aug 15, 2016 at 8:57 PM, Kenneth Adam Miller
> > <kennethadammiller@gmail.com> wrote:
> > > Hello all,
> > >
> > > I am building crosstool-ng starting with this small script:
> > >
> > >
> > > curl -sL https://raw.githubusercontent.com/rust-lang/rust-buildbot/a35c53e21a789cc782ec51f2fdefc1e3f8767c42/slaves/linux-cross/build_toolchain_root.sh
> > > | bash
> > >
> > > mkdir /x-tools
> > >
> > > mkdir ~/ct
> > >
> > > cd ~/ct
> > >
> > > ct-ng menuconfig
> > >
> > > # Note: picked the following options...
> > > # Target options > Target architecture = x86
> > > # Target options > Bitness = 64
> > > # Operating System > Linux kernel version = 3.2.72
> > > # C-library > C library = uClibc
> > > # C compiler > option "C++" enabled
> > >
> > > ct-ng build
> > >
> > >
> > > ------
> > >
> > > But I'm getting an error with
> > > .build/x86_64-unknown-linux-uclibc/build/build-libc-headers/extra/locale/c8tables.h
> > > containing a message about a missing information, asking to enable
> > > en_US.utf-8
> > >
> > >
> > > My thought is that I may be missing some locale package on my box that
> > > I'm building with, but I have gcc-5-locales and locales packages each
> > > installed on my ubuntu 16.04. I don't know what to do to get it to
> > > move past this error.

What version of uClibc is used?
Is there really a specific use case for an embedded device or
project where you need uClibc locale support?

best regards
 Waldemar

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list