Hi Mike,

I was looking at http://www.bulah.com/embedded-guide.html and then
http://www.rugludallur.com/index.php?id=138.

BTW, I tried using the crossdev tool and I got the following error.. any
idea ?

Regards,
Phani

Listing 2
ishift 1  tshift 9  size 14472
ishift 2  tshift 9  size 14448
ishift 1  tshift 10  size 20560
ishift 2  tshift 10  size 20556
smallest = 3604
setting ishift 5  tshift 2
make: *** [wctables.h] Segmentation fault

!!! ERROR: cross-i586-gentoo-linux-uclibc/uclibc-0.9.28.3-r2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3413:   Called src_compile
  uclibc-0.9.28.3-r2.ebuild, line 390:   Called die

!!! make locales failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/tmp/cross/i586-gentoo-linux-uclibc/portage/cross-i586-gentoo-linux-uclibc/uclibc-
0.9.28.3-r2/temp/build.log'.

!!! This ebuild is from an overlay: '/usr/local/portage'



On Jan 10, 2008 10:46 AM, Mike Frysinger < [EMAIL PROTECTED]> wrote:

> On Thursday 10 January 2008, Phani Babu Giddi wrote:
> > Is this the document that you are referring to..
> > http://www.gentoo.org/proj/en/base/embedded/handbook/index.xml . I was
> going
> > through multiple documentations and since none of them was completely
> > appliable for my environment I was doing a mix and match and endded up
> in
> > trouble.
>
> all documentation should be centered in the handbook.  what other
> documents
> were you looking at ?
> -mike
>
>>> Emerging (1 of 1) cross-i586-gentoo-linux-uclibc/uclibc-0.9.28.3-r2 to /
>>> Downloading 'http://distfiles.gentoo.org/distfiles/uClibc-0.9.28.3.tar.bz2'
--07:23:10--  http://distfiles.gentoo.org/distfiles/uClibc-0.9.28.3.tar.bz2
           => `/usr/portage/distfiles/uClibc-0.9.28.3.tar.bz2'
Resolving distfiles.gentoo.org... 216.165.129.135, 156.56.247.195, 140.211.166.134, ...
Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,795,383 (1.7M) [application/x-tar]

    0K .......... .......... .......... .......... ..........  2%  129K   0:13
   50K .......... .......... .......... .......... ..........  5%  179K   0:09
  100K .......... .......... .......... .......... ..........  8%  174K   0:09
  150K .......... .......... .......... .......... .......... 11%  180K   0:08
  200K .......... .......... .......... .......... .......... 14% 82.6K   0:18
  250K .......... .......... .......... .......... .......... 17%  331K   0:04
  300K .......... .......... .......... .......... .......... 19%  568K   0:02
  350K .......... .......... .......... .......... .......... 22%  179K   0:07
  400K .......... .......... .......... .......... .......... 25%  174K   0:07
  450K .......... .......... .......... .......... .......... 28%  180K   0:06
  500K .......... .......... .......... .......... .......... 31%  178K   0:06
  550K .......... .......... .......... .......... .......... 34%  173K   0:06
  600K .......... .......... .......... .......... .......... 37%  180K   0:06
  650K .......... .......... .......... .......... .......... 39%  174K   0:06
  700K .......... .......... .......... .......... .......... 42%  179K   0:05
  750K .......... .......... .......... .......... .......... 45%  179K   0:05
  800K .......... .......... .......... .......... .......... 48%  175K   0:05
  850K .......... .......... .......... .......... .......... 51% 91.7K   0:09
  900K .......... .......... .......... .......... .......... 54% 3.05M       
  950K .......... .......... .......... .......... .......... 57%  175K   0:04
 1000K .......... .......... .......... .......... .......... 59%  177K   0:03
 1050K .......... .......... .......... .......... .......... 62%  179K   0:03
 1100K .......... .......... .......... .......... .......... 65%  175K   0:03
 1150K .......... .......... .......... .......... .......... 68%  177K   0:03
 1200K .......... .......... .......... .......... .......... 71%  181K   0:02
 1250K .......... .......... .......... .......... .......... 74%  175K   0:02
 1300K .......... .......... .......... .......... .......... 76%  180K   0:02
 1350K .......... .......... .......... .......... .......... 79%  174K   0:02
 1400K .......... .......... .......... .......... .......... 82%  180K   0:01
 1450K .......... .......... .......... .......... .......... 85%  179K   0:01
 1500K .......... .......... .......... .......... .......... 88%  175K   0:01
 1550K .......... .......... .......... .......... .......... 91%  180K       
 1600K .......... .......... .......... .......... .......... 94%  178K       
 1650K .......... .......... .......... .......... .......... 96%  174K       
 1700K .......... .......... .......... .......... .......... 99%  179K       
 1750K ...                                                   100%  220K       

07:23:20 (175.51 KB/s) - `/usr/portage/distfiles/uClibc-0.9.28.3.tar.bz2' saved [1795383/1795383]

>>> Downloading 'http://distfiles.gentoo.org/distfiles/uClibc-0.9.28.3-patches-1.2.tar.bz2'
--07:23:20--  http://distfiles.gentoo.org/distfiles/uClibc-0.9.28.3-patches-1.2.tar.bz2
           => `/usr/portage/distfiles/uClibc-0.9.28.3-patches-1.2.tar.bz2'
Resolving distfiles.gentoo.org... 216.165.129.135, 156.56.247.195, 140.211.166.134, ...
Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17,096 (17K) [application/x-tar]

    0K .......... ......                                     100% 86.1K       

07:23:21 (85.65 KB/s) - `/usr/portage/distfiles/uClibc-0.9.28.3-patches-1.2.tar.bz2' saved [17096/17096]

 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking uClibc-0.9.28.3.tar.bz2 ;-) ...                               [ ok ]
 * checking uClibc-0.9.28.3-patches-1.2.tar.bz2 ;-) ...                   [ ok ]
 * QA Notice: USE Flag 'crosscompile_opts_headers-only' not in IUSE for cross-i586-gentoo-linux-uclibc/uclibc-0.9.28.3-r2
>>> Unpacking source...
>>> Unpacking uClibc-0.9.28.3.tar.bz2 to /var/tmp/cross/i586-gentoo-linux-uclibc/portage/cross-i586-gentoo-linux-uclibc/uclibc-0.9.28.3-r2/work
>>> Unpacking uClibc-0.9.28.3-patches-1.2.tar.bz2 to /var/tmp/cross/i586-gentoo-linux-uclibc/portage/cross-i586-gentoo-linux-uclibc/uclibc-0.9.28.3-r2/work
 * You really should consider setting UCLIBC_CPU
 * Otherwise, the build will be generic (read: slow).
 * Available CPU options:
GENERIC_386 386 486 586 686 586MMX PENTIUMII PENTIUMIII PENTIUM4 K6 K7 ELAN CRUSOE WINCHIPC6 WINCHIP2 CYRIXIII NEHEMIAH

 * Runtime Prefix: /
 * Devel Prefix:   /usr
 * Kernel Prefix:  /usr/i586-gentoo-linux-uclibc/usr
 * CBUILD:         i686-pc-linux-gnu
 * CHOST:          i686-pc-linux-gnu
 * CTARGET:        i586-gentoo-linux-uclibc
 * CPU:            586
 * ENDIAN:         little

>>> Unpacking uClibc-0.9.28.3-patches-1.2.tar.bz2 to /var/tmp/cross/i586-gentoo-linux-uclibc/portage/cross-i586-gentoo-linux-uclibc/uclibc-0.9.28.3-r2/work/uClibc-0.9.28.3
 * Applying various patches (bugfixes/updates) ...
 *   10_all_uClibc-svn-r11188-posix_memalign.patch ...
  [ ok ]
 *   20_all_uClibc-0.9.28.3-ai-netdb.patch ...
  [ ok ]
 * Done with patching
 * Applying various patches (bugfixes/updates) ...
 *   10_all_uClibc-0.9.27-susv3-2.patch ...
  [ ok ]
 *   15_all_uClibc-0.9.27-susv3-ldouble-3.patch ...
  [ ok ]
 * Done with patching
conf.c: In function 'strip':
conf.c:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
conf.c: In function 'conf_askvalue':
conf.c:94: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness
conf.c: In function 'conf_string':
conf.c:187: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
conf.c:188: warning: pointer targets in assignment differ in signedness
conf.c: In function 'conf_sym':
conf.c:236: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
conf.c:236: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
conf.c:236: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
conf.c:236: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
conf.c:236: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
conf.c:236: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
conf.c:248: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
conf.c:248: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
conf.c:248: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
conf.c:248: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
conf.c:248: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
conf.c:248: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
conf.c: In function 'conf_choice':
conf.c:350: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness
conf.c:360: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
conf.c:384: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
In file included from zconf.tab.c:2125:
confdata.c: In function 'conf_expand_value':
confdata.c:35: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness
confdata.c:35: warning: pointer targets in assignment differ in signedness
confdata.c:36: warning: pointer targets in passing argument 2 of '__builtin_strncat' differ in signedness
confdata.c:47: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness
confdata.c: In function 'conf_get_default_confname':
confdata.c:58: warning: pointer targets in passing argument 1 of 'conf_expand_value' differ in signedness
confdata.c: In function 'conf_read':
confdata.c:84: warning: pointer targets in passing argument 1 of 'conf_expand_value' differ in signedness
 * QA Notice: USE Flag 'crosscompile_opts_headers-only' not in IUSE for cross-i586-gentoo-linux-uclibc/uclibc-0.9.28.3-r2
>>> Source unpacked.
>>> Compiling source in /var/tmp/cross/i586-gentoo-linux-uclibc/portage/cross-i586-gentoo-linux-uclibc/uclibc-0.9.28.3-r2/work/uClibc-0.9.28.3 ...
rm -f -r include/bits
install -d include/bits
#
# using defaults found in .config
#
*
* uClibc Configuration
*
Target Architecture
  1. alpha (TARGET_alpha)
  2. arm (TARGET_arm)
  3. bfin (TARGET_bfin)
  4. cris (TARGET_cris)
  5. e1 (TARGET_e1)
  6. frv (TARGET_frv)
  7. h8300 (TARGET_h8300)
> 8. i386 (TARGET_i386)
  9. i960 (TARGET_i960)
  10. m68k (TARGET_m68k)
  11. microblaze (TARGET_microblaze)
  12. mips (TARGET_mips)
  13. nios (TARGET_nios)
  14. nios2 (TARGET_nios2)
  15. powerpc (TARGET_powerpc)
  16. superh (TARGET_sh)
  17. sh64 (TARGET_sh64)
  18. sparc (TARGET_sparc)
  19. v850 (TARGET_v850)
  20. x86_64 (TARGET_x86_64)
choice[1-20?]: 8
*
* Target Architecture Features and Options
*
Target x86 Processor Family
  1. Generic 386 (CONFIG_GENERIC_386)
  2. 386 (CONFIG_386)
  3. 486 (CONFIG_486)
> 4. Pentium/586/K5/5x86/6x86/6x86MX (CONFIG_586)
  5. Pentium-MMX (CONFIG_586MMX)
  6. Pentium-Pro (CONFIG_686)
  7. Celeron/Pentium-II (CONFIG_PENTIUMII)
  8. Pentium-III/Celeron(Coppermine)/Pentium-III Xeon (CONFIG_PENTIUMIII)
  9. Pentium-4/Celeron(P4-based)/Xeon (CONFIG_PENTIUM4)
  10. K6/K6-II/K6-III (CONFIG_K6)
  11. Athlon/Duron/K7 (CONFIG_K7)
  12. Elan (CONFIG_ELAN)
  13. Crusoe (CONFIG_CRUSOE)
  14. Winchip-C6 (CONFIG_WINCHIPC6)
  15. Winchip-2/Winchip-2A/Winchip-3 (CONFIG_WINCHIP2)
  16. CyrixIII/VIA-C3 (CONFIG_CYRIXIII)
  17. VIA C3-2 (Nehemiah) (CONFIG_NEHEMIAH)
choice[1-17?]: 4
Target Processor Endianness
> 1. Little Endian (ARCH_LITTLE_ENDIAN)
choice[1]: 1
Target CPU has a memory management unit (MMU) (ARCH_HAS_MMU) [Y/?] y
Enable floating point number support (UCLIBC_HAS_FLOATS) [Y/n/?] y
  Target CPU has a floating point unit (FPU) (HAS_FPU) [Y/n/?] y
  Enable full C99 math library support (DO_C99_MATH) [Y/n/?] y
    Enable long double support (UCLIBC_HAS_LONG_DOUBLE_MATH) [Y/n/?] y
Linux kernel header location (KERNEL_SOURCE) [/usr/i586-gentoo-linux-uclibc/usr] /usr/i586-gentoo-linux-uclibc/usr
*
* General Library Settings
*
Generate Position Independent Code (PIC) (DOPIC) [Y/n/?] y
Enable support for shared libraries (HAVE_SHARED) [Y/n/?] y
Compile native shared library loader (BUILD_UCLIBC_LDSO) [Y/n/?] y
  Only load shared libraries which can share their text segment (FORCE_SHAREABLE_TEXT_SEGMENTS) [N/y/?] n
  Native shared library loader 'ldd' support (LDSO_LDD_SUPPORT) [Y/n/?] y
  Enable shared library loader cache (LDSO_CACHE_SUPPORT) [Y/n/?] y
  Enable shared library loader preload file support (LDSO_PRELOAD_FILE_SUPPORT) [N/y/?] n
    Shared library loader naming prefix (LDSO_BASE_FILENAME) [ld.so] ld.so
  Enable ELF RUNPATH tag support (LDSO_RUNPATH) [Y/n/?] y
uClibc 0.9.27 compatibility (DL_FINI_CRT_COMPAT) [N/y/?] n
Support global constructors and destructors (UCLIBC_CTOR_DTOR) [Y/n/?] y
POSIX Threading Support (UCLIBC_HAS_THREADS) [Y/n/?] y
  Build pthreads debugging support (PTHREADS_DEBUG_SUPPORT) [Y/n/?] y
Large File Support (UCLIBC_HAS_LFS) [Y/n/?] y
Link ldconfig statically (UCLIBC_STATIC_LDCONFIG) [Y/n/?] y
Malloc Implementation
  1. malloc (MALLOC)
  2. malloc-simple (MALLOC_SIMPLE)
> 3. malloc-standard (MALLOC_STANDARD)
choice[1-3?]: 3
Malloc returns live pointer for malloc(0) (MALLOC_GLIBC_COMPAT) [Y/n/?] y
Dynamic atexit() Support (UCLIBC_DYNAMIC_ATEXIT) [Y/n/?] y
Shadow Password Support (HAS_SHADOW) [Y/n/?] y
Support only Unix 98 PTYs (UNIX98PTY_ONLY) [Y/n/?] y
Assume that /dev/pts is a devpts or devfs file system (ASSUME_DEVPTS) [Y/n/?] y
Support 'struct tm' timezone extension fields (UCLIBC_HAS_TM_EXTENSIONS) [Y/n/?] y
Enable caching of the last valid timezone 'TZ' string (UCLIBC_HAS_TZ_CACHING) [Y/n/?] y
Enable '/etc/TZ' file support to set a default timezone (uClibc-specific) (UCLIBC_HAS_TZ_FILE) [Y/n/?] y
  Repeatedly read the '/etc/TZ' file (UCLIBC_HAS_TZ_FILE_READ_MANY) [N/y/?] n
  Path to the 'TZ' file for setting the global timezone (UCLIBC_TZ_FILE_PATH) [/etc/TZ] /etc/TZ
*
* Networking Support
*
IP version 6 Support (UCLIBC_HAS_IPV6) [Y/n/?] y
Remote Procedure Call (RPC) support (UCLIBC_HAS_RPC) [Y/n/?] y
  Full RPC support (UCLIBC_HAS_FULL_RPC) [Y/n/?] y
*
* String and Stdio Support
*
Use glibc generic string functions (UCLIBC_HAS_STRING_GENERIC_OPT) [Y/n/?] y
Use arch-specific string functions (UCLIBC_HAS_STRING_ARCH_OPT) [Y/n/?] y
Use Table Versions Of 'ctype.h' Functions. (UCLIBC_HAS_CTYPE_TABLES) [Y/?] y
  Support Signed Characters In 'ctype.h' Functions. (UCLIBC_HAS_CTYPE_SIGNED) [Y/n/?] y
  ctype argument checking
    1. Do not check -- unsafe (UCLIBC_HAS_CTYPE_UNSAFE)
  > 2. Detect and handle appropriately (UCLIBC_HAS_CTYPE_CHECKED)
    3. Issue a diagnostic and abort() (UCLIBC_HAS_CTYPE_ENFORCED)
  choice[1-3?]: 2
Wide Character Support (UCLIBC_HAS_WCHAR) [Y/?] y
Locale Support (UCLIBC_HAS_LOCALE) [Y/n/?] y
  Use Pre-generated Locale Data (UCLIBC_PREGENERATED_LOCALE_DATA) [N/y/?] n
  Extended Locale Support (experimental/incomplete) (UCLIBC_HAS_XLOCALE) [N/y/?] n
Support hexadecimal float notation (UCLIBC_HAS_HEXADECIMAL_FLOATS) [Y/n/?] y
Support glibc's "'" flag for allowing locale-specific digit grouping (UCLIBC_HAS_GLIBC_DIGIT_GROUPING) [Y/n/?] y
  Do not require digit grouping when the "'" flag is specified (UCLIBC_HAS_SCANF_LENIENT_DIGIT_GROUPING) [Y/n/?] y
Support glibc's register_printf_function() (glibc-compat) (UCLIBC_HAS_GLIBC_CUSTOM_PRINTF) [Y/n/?] y
Maximum number of positional args.  Either 0 or >= 9. (UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS) [9] 9
Support glibc's 'a' flag for scanf string conversions (not implemented) (UCLIBC_HAS_SCANF_GLIBC_A_FLAG) [N/y/?] n
Stdio buffer size
  1. 256 (minimum ANSI/ISO C99 value) (UCLIBC_HAS_STDIO_BUFSIZ_256)
  2. 512 (UCLIBC_HAS_STDIO_BUFSIZ_512)
  3. 1024 (UCLIBC_HAS_STDIO_BUFSIZ_1024)
  4. 2048 (UCLIBC_HAS_STDIO_BUFSIZ_2048)
> 5. 4096 (UCLIBC_HAS_STDIO_BUFSIZ_4096)
  6. 8192 (UCLIBC_HAS_STDIO_BUFSIZ_8192)
choice[1-6?]: 5
Stdio builtin buffer size (uClibc-specific)
> 1. None (UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE)
  2. 4 (UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4)
  3. 8 (UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8)
choice[1-3?]: 1
Attemt to shutdown stdio subsystem when abort() is called. (UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT) [N/y/?] n
Provide a macro version of getc() (UCLIBC_HAS_STDIO_GETC_MACRO) [Y/n/?] y
Provide a macro version of putc() (UCLIBC_HAS_STDIO_PUTC_MACRO) [Y/n/?] y
Support auto-r/w transition (UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION) [Y/n/?] y
Support an fopen() 'F' flag for large file mode (uClibc-specific) (UCLIBC_HAS_FOPEN_LARGEFILE_MODE) [N/y/?] n
Support an fopen() 'x' flag for exclusive mode (glibc-compat) (UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE) [Y/n/?] y
Support fmemopen(), open_memstream(), and fopencookie() (glibc-compat) (UCLIBC_HAS_GLIBC_CUSTOM_STREAMS) [Y/n/?] y
Support the '%m' specifier in printf format strings (glibc-compat) (UCLIBC_HAS_PRINTF_M_SPEC) [Y/n/?] y
Include the errno message text in the library (UCLIBC_HAS_ERRNO_MESSAGES) [Y/n/?] y
  Support sys_errlist[] (obsolete-compat) (UCLIBC_HAS_SYS_ERRLIST) [N/y/?] n
Include the signum message text in the library (UCLIBC_HAS_SIGNUM_MESSAGES) [Y/n/?] y
  Support sys_siglist[] (bsd-compat) (UCLIBC_HAS_SYS_SIGLIST) [N/y/?] n
Include gettext awareness (UCLIBC_HAS_GETTEXT_AWARENESS) [Y/n/?] y
Support gnu getopt (UCLIBC_HAS_GNU_GETOPT) [Y/n/?] y
*
* Big and Tall
*
Regular Expression Support (UCLIBC_HAS_REGEX) [Y/n/?] y
Support the wordexp() interface (UCLIBC_HAS_WORDEXP) [N/y/?] n
Support the ftw() and nftw() interfaces (UCLIBC_HAS_FTW) [Y/n/?] y
Support the glob() interface (UCLIBC_HAS_GLOB) [Y/n/?] y
*
* Library Installation Options
*
Shared library loader path (SHARED_LIB_LOADER_PREFIX) [/lib] /lib
uClibc runtime library directory (RUNTIME_PREFIX) [/] /
uClibc development environment directory (DEVEL_PREFIX) [/usr] /usr
*
* uClibc security related options
*
Enable security options (UCLIBC_SECURITY) [Y/n] y
  Build utilities as ET_DYN/PIE executables (UCLIBC_BUILD_PIE) [N/y/?] n
  Support for propolice smashing stack protector (UCLIBC_HAS_SSP) [Y/n/?] y
    Use simple guard values without accessing /dev/urandom (SSP_QUICK_CANARY) [Y/n/?] y
    Propolice protection blocking signal
      1. abort (PROPOLICE_BLOCK_ABRT)
      2. segfault (PROPOLICE_BLOCK_SEGV)
    > 3. kill (PROPOLICE_BLOCK_KILL)
    choice[1-3?]: 3
    Build uClibc with propolice protection (UCLIBC_BUILD_SSP) [N/y/?] n
  Build uClibc with RELRO (UCLIBC_BUILD_RELRO) [Y/n/?] y
  Build uClibc with NOW (UCLIBC_BUILD_NOW) [N/y/?] n
  Build uClibc with noexecstack marking (UCLIBC_BUILD_NOEXECSTACK) [Y/n/?] y
*
* uClibc development/debugging options
*
Cross-compiling toolchain prefix (CROSS_COMPILER_PREFIX) [i586-gentoo-linux-uclibc-] i586-gentoo-linux-uclibc-
Build uClibc with debugging symbols (DODEBUG) [N/y/?] n
Build pthread with debugging output (DODEBUG_PT) [N/y/?] n
Build uClibc with run-time assertion testing (DOASSERTS) [N/y/?] n
Build the shared library loader with debugging support (SUPPORT_LD_DEBUG) [N/y/?] n
Build the shared library loader with early debugging support (SUPPORT_LD_DEBUG_EARLY) [N/y/?] n
Compiler Warnings (WARNINGS) [-Wall] -Wall
Manuel's hidden warnings (UCLIBC_MJN3_ONLY) [N/y/?] n
+ ./extra/scripts/fix_includes.sh -k /usr/i586-gentoo-linux-uclibc/usr -t i386
+ TOPDIR=.
+ CC=' i586-gentoo-linux-uclibc-gcc'
+ /bin/sh extra/scripts/gen_bits_syscall_h.sh
+ cmp include/bits/sysnum.h include/bits/sysnum.h.new
+ mv -f include/bits/sysnum.h.new include/bits/sysnum.h
make -C libc/sysdeps/linux/common headers
make[1]: Entering directory `/var/tmp/cross/i586-gentoo-linux-uclibc/portage/cross-i586-gentoo-linux-uclibc/uclibc-0.9.28.3-r2/work/uClibc-0.9.28.3/libc/sysdeps/linux/common'
ln -fs ../libc/sysdeps/linux/common/fpu_control.h ../../../..//include/
make[1]: Leaving directory `/var/tmp/cross/i586-gentoo-linux-uclibc/portage/cross-i586-gentoo-linux-uclibc/uclibc-0.9.28.3-r2/work/uClibc-0.9.28.3/libc/sysdeps/linux/common'
make -C libc/sysdeps/linux/i386 headers
make[1]: Entering directory `/var/tmp/cross/i586-gentoo-linux-uclibc/portage/cross-i586-gentoo-linux-uclibc/uclibc-0.9.28.3-r2/work/uClibc-0.9.28.3/libc/sysdeps/linux/i386'
ln -fs ../libc/sysdeps/linux/i386/fpu_control.h ../../../../include/
make[1]: Leaving directory `/var/tmp/cross/i586-gentoo-linux-uclibc/portage/cross-i586-gentoo-linux-uclibc/uclibc-0.9.28.3-r2/work/uClibc-0.9.28.3/libc/sysdeps/linux/i386'
 * QA Notice: USE Flag 'crosscompile_opts_headers-only' not in IUSE for cross-i586-gentoo-linux-uclibc/uclibc-0.9.28.3-r2
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/i586-gentoo-linux-uclibc/portage/cross-i586-gentoo-linux-uclibc/uclibc-0.9.28.3-r2/work/uClibc-0.9.28.3/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`
processing ./charmaps/KOI8-T.pairs... 237 lines  done
processing ./charmaps/ISO-8859-9.pairs... 256 lines  done
processing ./charmaps/ISO-8859-16.pairs... 256 lines  done
processing ./charmaps/ASCII.pairs... 128 lines  done
processing ./charmaps/ISO-8859-3.pairs... 249 lines  done
processing ./charmaps/ISO-8859-13.pairs... 256 lines  done
processing ./charmaps/ISO-8859-8.pairs... 220 lines  done
processing ./charmaps/ISO-8859-1.pairs... 256 lines  done
processing ./charmaps/ISO-8859-2.pairs... 256 lines  done
processing ./charmaps/CP1255.pairs... 233 lines  done
processing ./charmaps/KOI8-U.pairs... 256 lines  done
processing ./charmaps/KOI8-R.pairs... 256 lines  done
processing ./charmaps/ISO-8859-15.pairs... 256 lines  done
processing ./charmaps/ISO-8859-5.pairs... 256 lines  done
processing ./charmaps/CP1251.pairs... 255 lines  done
processing ./charmaps/ISO-8859-14.pairs... 256 lines  done
processing ./charmaps/ISO-8859-7.pairs... 250 lines  done
processing ./charmaps/TIS-620.pairs... 215 lines  done
processing ./charmaps/ISO-8859-10.pairs... 256 lines  done
processing ./charmaps/GEORGIAN-PS.pairs... 256 lines  done
processing ./charmaps/ARMSCII-8.pairs... 254 lines  done
processing ./charmaps/ISO-8859-4.pairs... 256 lines  done
processing ./charmaps/ISO-8859-6.pairs... 211 lines  done
tt_num = 216   ti_num = 67
max_wchar = 0x25a0
size is 216 * 16  +  67 * 16  + 38 * 23  =  5402
ctype - CTYPE_IDX_SHIFT = 3 -- 23 * 16 + 105 * 4 = 788
uplow - UPLOW_IDX_SHIFT = 3 -- 23 * 16 + 63 * 8 = 872
c2wc - C2WC_IDX_SHIFT = 3 -- 23 * 16 + 2 * 220 * 8 = 3888
total size = 10950
gcc -O2 -Wall  -D__UCLIBC_GEN_LOCALE gen_wctype.c -o gen_wctype
gen_wctype.c:752:2: warning: #warning fix the upper bound on the upper/lower tables... save 200 bytes or so
gen_wctype.c: In function 'main':
gen_wctype.c:236: warning: unused variable 'last_comb'
gen_wctype.c:235: warning: unused variable 'widthtable'
gen_wctype.c:648: warning: 'i1' may be used uninitialized in this function
gen_wctype.c:648: warning: 'i0' may be used uninitialized in this function
gen_wctype.c:647: warning: 'sc' may be used uninitialized in this function
gen_wctype.c:647: warning: 'n' may be used uninitialized in this function
./gen_wctype en_US
typecount[ 0] =    95084  C_unclassified
typecount[ 1] =    88837  C_alpha_nonupper_nonlower
typecount[ 2] =      756  C_alpha_lower
typecount[ 3] =        4  C_alpha_upper_lower
typecount[ 4] =      745  C_alpha_upper
typecount[ 5] =       10  C_digit
typecount[ 6] =    11088  C_punct
typecount[ 7] =        2  C_graph
typecount[ 8] =        0  C_print_space_nonblank
typecount[ 9] =       15  C_print_space_blank
typecount[10] =        0  C_space_nonblank_noncntrl
typecount[11] =        0  C_space_blank_noncntrl
typecount[12] =        6  C_cntrl_space_nonblank
typecount[13] =        1  C_cntrl_space_blank
typecount[14] =       60  C_cntrl_nonspace
typecount[15] =        0  empty_slot
optimizing is* table..
ishift 1  tshift 0  size 49441
ishift 2  tshift 0  size 25561
ishift 3  tshift 0  size 14365
ishift 4  tshift 0  size 9845
ishift 5  tshift 0  size 8453
ishift 6  tshift 0  size 7909
ishift 1  tshift 1  size 25302
ishift 2  tshift 1  size 13560
ishift 3  tshift 1  size 8228
ishift 4  tshift 1  size 5996
ishift 5  tshift 1  size 4956
ishift 6  tshift 1  size 4796
ishift 1  tshift 2  size 13746
ishift 2  tshift 2  size 8008
ishift 3  tshift 2  size 5356
ishift 4  tshift 2  size 4068
ishift 5  tshift 2  size 3604
ishift 1  tshift 3  size 8642
ishift 2  tshift 3  size 5780
ishift 3  tshift 3  size 4368
ishift 4  tshift 3  size 3752
ishift 5  tshift 3  size 3704
ishift 1  tshift 4  size 7070
ishift 2  tshift 4  size 5596
ishift 3  tshift 4  size 4904
ishift 4  tshift 4  size 4688
ishift 1  tshift 5  size 7078
ishift 2  tshift 5  size 6348
ishift 3  tshift 5  size 6048
ishift 4  tshift 5  size 5984
ishift 1  tshift 6  size 7222
ishift 2  tshift 6  size 6880
ishift 3  tshift 6  size 6752
ishift 4  tshift 6  size 6752
ishift 1  tshift 7  size 8016
ishift 2  tshift 7  size 7856
ishift 3  tshift 7  size 7808
ishift 1  tshift 8  size 10488
ishift 2  tshift 8  size 10416
ishift 3  tshift 8  size 10416
ishift 1  tshift 9  size 14472
ishift 2  tshift 9  size 14448
ishift 1  tshift 10  size 20560
ishift 2  tshift 10  size 20556
smallest = 3604
setting ishift 5  tshift 2
make: *** [wctables.h] Segmentation fault

!!! ERROR: cross-i586-gentoo-linux-uclibc/uclibc-0.9.28.3-r2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3413:   Called src_compile
  uclibc-0.9.28.3-r2.ebuild, line 390:   Called die

!!! make locales failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/cross/i586-gentoo-linux-uclibc/portage/cross-i586-gentoo-linux-uclibc/uclibc-0.9.28.3-r2/temp/build.log'.

!!! This ebuild is from an overlay: '/usr/local/portage'

Reply via email to