Gentoo Archives: gentoo-embedded

From: "ducasse.isidore@×××××.com" <ducasse.isidore@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] crossdev failed during building uclibc
Date: Sat, 24 Mar 2007 14:49:54
Message-Id: 20070324155248.4600a2a9.ducasse.isidore@gmail.com
1 Hi all, I've got what I suppose is the same compiletime error for uclibc: setlocale(LC_CTYPE,"en.US.UTF_8")
2
3 I've tried to patch my codesets.txt file (which already existed and contained valid names), and use ebuild manual procedure it didn't help.
4
5 BTW is i686-gentoo-linux-uclibc more relevant? I just want to add a tiny binary to a genkernel initrd.
6
7 May the problem be related to the unicode useflag? I switched it on to see if there's a difference; I figured none.
8
9 Here is my output for crossdev -t i686-linux-uclibc -v :
10
11 * QA Notice: USE Flag 'crosscompile_opts_headers-only' not in IUSE for cross-i686-linux-uclibc/uclibc-0.9.28.1
12 rm -f *.[oa] *~ core
13 rm -f gen_wc8bit gen_wctype gen_locale gen_ldc gen_collate
14 rm -f c8tables.h wctables.h locale_tables.h lt_defines.h locale_collate.h
15 rm -f gen_mmap locale.mmap lmmtolso
16 rm -f locale_data.c uClibc_locale_data.h
17 /var/tmp/cross/i686-linux-uclibc/portage/cross-i686-linux-uclibc/uclibc-0.9.28.1/work/uClibc-0.9.28.1/extra/locale
18 gcc -O2 -Wall -DCTYPE_PACKED=1 -DDO_WIDE_CHAR=1 -D__UCLIBC_GEN_LOCALE gen_wc8bit.c -o gen_wc8bit
19 gen_wc8bit.c: In function 'main':
20 gen_wc8bit.c:462: warning: pointer targets in assignment differ in signedness
21 gen_wc8bit.c:613: warning: pointer targets in assignment differ in signedness
22 ./gen_wc8bit `cat codesets.txt`
23 setlocale(LC_CTYPE,"en_US.UTF-8") failed!
24 make: *** [c8tables.h] Erreur 1
25
26 !!! ERROR: cross-i686-linux-uclibc/uclibc-0.9.28.1 failed.
27 Call stack:
28 ebuild.sh, line 1614: Called dyn_compile
29 ebuild.sh, line 971: Called qa_call 'src_compile'
30 environment, line 3434: Called src_compile
31 uclibc-0.9.28.1.ebuild, line 382: Called die
32 --
33 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] crossdev failed during building uclibc Mike Frysinger <vapier@g.o>