public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-embedded] crossdev failed during building uclibc
@ 2007-03-24 14:52 ducasse.isidore
  2007-03-30  6:24 ` Mike Frysinger
  0 siblings, 1 reply; 8+ messages in thread
From: ducasse.isidore @ 2007-03-24 14:52 UTC (permalink / raw
  To: gentoo-embedded


Hi all, I've got what I suppose is the same compiletime error for uclibc: setlocale(LC_CTYPE,"en.US.UTF_8")

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.
 
BTW is i686-gentoo-linux-uclibc more relevant? I just want to add a tiny binary to a genkernel initrd.

May the problem be related to the unicode useflag? I switched it on to see if there's a difference; I figured none.

Here is my output for crossdev -t i686-linux-uclibc -v :

 * QA Notice: USE Flag 'crosscompile_opts_headers-only' not in IUSE for cross-i686-linux-uclibc/uclibc-0.9.28.1
rm -f *.[oa] *~ core
rm -f gen_wc8bit gen_wctype gen_locale gen_ldc gen_collate
rm -f c8tables.h wctables.h locale_tables.h lt_defines.h locale_collate.h
rm -f gen_mmap locale.mmap lmmtolso
rm -f locale_data.c uClibc_locale_data.h
/var/tmp/cross/i686-linux-uclibc/portage/cross-i686-linux-uclibc/uclibc-0.9.28.1/work/uClibc-0.9.28.1/extra/locale
gcc -O2 -Wall  -DCTYPE_PACKED=1 -DDO_WIDE_CHAR=1 -D__UCLIBC_GEN_LOCALE gen_wc8bit.c -o gen_wc8bit
gen_wc8bit.c: In function 'main':
gen_wc8bit.c:462: warning: pointer targets in assignment differ in signedness
gen_wc8bit.c:613: warning: pointer targets in assignment differ in signedness
./gen_wc8bit `cat codesets.txt`
setlocale(LC_CTYPE,"en_US.UTF-8") failed!
make: *** [c8tables.h] Erreur 1

!!! ERROR: cross-i686-linux-uclibc/uclibc-0.9.28.1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3434:   Called src_compile
  uclibc-0.9.28.1.ebuild, line 382:   Called die
-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: [gentoo-embedded] crossdev failed during building uclibc
@ 2007-03-24 16:16 ducasse.isidore
  0 siblings, 0 replies; 8+ messages in thread
From: ducasse.isidore @ 2007-03-24 16:16 UTC (permalink / raw
  To: gentoo-embedded


Hi all, I've got what I suppose is the same compiletime error for uclibc: setlocale(LC_CTYPE,"en.US.UTF_8")

Following gentoo-wiki cross-compile howto, I tried

USE="-*" crossdev -t i686-linux-uclibc

which worked fine. This means dropping unicode while building the toolchain; does it mean the issued gcc won't ever compile any unicode-compliant binary?
-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread
* [gentoo-embedded] crossdev failed during building uclibc
@ 2007-02-24 17:20 Jakub Ladman
  2007-02-24 22:04 ` jozef maslik
  0 siblings, 1 reply; 8+ messages in thread
From: Jakub Ladman @ 2007-02-24 17:20 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 1774 bytes --]

Hi there
Me and my friend have both encountered this problem:

hovado ~ # crossdev --g 3.4.6-r2 --k 2.4.26-r1 -t mips-pc-linux-uclibc
--------------------------------------------------------------------------------
 * Host Portage ARCH:     x86
 * Target Portage ARCH:   mips
 * Target System:         mips-pc-linux-uclibc
 * Stage:                 4 (C/C++ compiler)

 * binutils:              binutils-[latest]
 * gcc:                   gcc-3.4.6-r2
 * headers:               mips-headers-2.4.26-r1
 * libc:                  uclibc-[latest]

 * PORTDIR_OVERLAY:       /usr/local/portage
 * PORT_LOGDIR:           /var/log/portage
 * PKGDIR:                /usr/portage/packages/cross/mips-pc-linux-uclibc
 * PORTAGE_TMPDIR:        /var/tmp/cross/mips-pc-linux-uclibc
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -
 * Forcing the latest versions of binutils-config/gcc-config ...          [ 
ok ]
 * Log: /var/log/portage/cross-mips-pc-linux-uclibc-binutils.log
 * Emerging cross-binutils ...                                            [ 
ok ]
 * Log: /var/log/portage/cross-mips-pc-linux-uclibc-gcc-stage1.log
 * Emerging cross-gcc-stage1 ...                                          [ 
ok ]
 * Log: /var/log/portage/cross-mips-pc-linux-uclibc-mips-headers.log
 * Emerging cross-mips-headers ...                                        [ 
ok ]
 * Log: /var/log/portage/cross-mips-pc-linux-uclibc-uclibc.log
 * Emerging cross-uclibc ...

 * uclibc failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-mips-pc-linux-uclibc-info.log
 * /var/log/portage/cross-mips-pc-linux-uclibc-uclibc.log
hovado ~ #

Do anybody know how to fix it?

There are crossdev logs in attachments.

Thank you.
Jakub Ladman


[-- Attachment #2: crossdev_logs.tar.bz2 --]
[-- Type: application/x-tbz, Size: 9890 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-03-30  6:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-24 14:52 [gentoo-embedded] crossdev failed during building uclibc ducasse.isidore
2007-03-30  6:24 ` Mike Frysinger
  -- strict thread matches above, loose matches on Subject: below --
2007-03-24 16:16 ducasse.isidore
2007-02-24 17:20 Jakub Ladman
2007-02-24 22:04 ` jozef maslik
2007-02-25 10:18   ` Jakub Ladman
2007-02-25 11:14     ` jozef maslik
2007-03-04 18:32       ` Jakub Ladman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox