From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 39220 invoked by alias); 17 Aug 2016 05:48:49 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 39148 invoked by uid 89); 17 Aug 2016 05:48:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=kennethadammiller@gmail.com, kennethadammillergmailcom X-HELO: helium.openadk.org Received: from helium.openadk.org (HELO helium.openadk.org) (89.238.66.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 17 Aug 2016 05:48:38 +0000 Received: by helium.openadk.org (Postfix, from userid 1000) id BE6DF10118; Wed, 17 Aug 2016 07:48:35 +0200 (CEST) Date: Wed, 17 Aug 2016 05:48:00 -0000 From: Waldemar Brodkorb To: Kenneth Adam Miller Cc: crossgcc@sourceware.org Subject: Re: Trouble with Locale Message-ID: <20160817054835.GF22524@waldemar-brodkorb.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2016-08/txt/msg00010.txt.bz2 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 > 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 > > 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