>>> Verifying ebuild Manifests... >>> Emerging (1 of 1) cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1 to / * uClibc-0.9.27.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * uClibc-0.9.27-patches-1.6.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * uClibc-0.9.27-cvs-update-20050114.patch.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking uClibc-0.9.27.tar.bz2 ;-) ... [ ok ] * checking uClibc-0.9.27-cvs-update-20050114.patch.bz2 ;-) ... [ ok ] * checking uClibc-0.9.27-patches-1.6.tar.bz2 ;-) ... [ ok ] * This profile has not been tested thoroughly and is not considered to be * a supported server profile at this time. For a supported server * profile, please check the Hardened project (http://hardened.gentoo.org). * This profile is merely a convenience for people who require a more * minimal profile, yet are unable to use hardened due to restrictions in * the software being used on the server. This profile should also be used * if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this * applies to you, then it doesn't and you should probably be using * Hardened, instead. >>> Unpacking source... >>> Unpacking uClibc-0.9.27.tar.bz2 to /var/tmp/cross/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/work >>> Unpacking uClibc-0.9.27-cvs-update-20050114.patch.bz2 to /var/tmp/cross/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/work >>> Unpacking uClibc-0.9.27-patches-1.6.tar.bz2 to /var/tmp/cross/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/work * You really should consider setting UCLIBC_CPU * Otherwise, the build will be generic (read: slow). * Available CPU options: MIPS_ISA_1 MIPS_ISA_2 MIPS_ISA_3 MIPS_ISA_4 MIPS_ISA_MIPS32 MIPS_ISA_MIPS64 * Runtime Prefix: / * Devel Prefix: /usr * Kernel Prefix: /usr/mips-topan-linux-uclibc/usr * CBUILD: i686-pc-linux-gnu * CHOST: i686-pc-linux-gnu * CTARGET: mips-topan-linux-uclibc * CPU: MIPS_ISA_1 * ENDIAN: big * Applying uClibc-0.9.27-cvs-update-20050114.patch ... [ ok ] >>> Unpacking uClibc-0.9.27-patches-1.6.tar.bz2 to /var/tmp/cross/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27 * Applying various patches (bugfixes/updates) ... * 05_all_uClibc-0.9.27-svn-textrel-arm-fixes.patch ... [ ok ] * 07_all_uClibc-svn-stat-updates.patch ... [ ok ] * 08_all_uClibc-svn-getent.patch ... [ ok ] * 10_all_uClibc-svn-arm-fpu-endian.patch ... [ ok ] * 11_all_uClibc-svn-assert.patch ... [ ok ] * 13_all_uClibc-0.9.26-cvs-install-links.patch ... [ ok ] * 14_all_uClibc-svn-simpler-kernel-headers.patch ... [ ok ] * 20_all_uClibc-0.9.26-cvs-crt-correction.patch ... [ ok ] * 25_all_no-pthread-atfork-in-unistd.patch ... [ ok ] * 30_all_uClibc-arm-string-size-t-values.patch ... [ ok ] * 30_all_uClibc-i386-string-size-t-values.patch ... [ ok ] * 40_all_uClibc-0.9.27-_dl_fini-correct-order.patch ... [ ok ] * Done with patching * Applying various patches (bugfixes/updates) ... * 90_all_uClibc-0.9.26-fabsf.patch ... [ ok ] * 91_all_uClibc-0.9.26-powf.patch ... [ ok ] * 92_all_uClibc-0.9.26-scalbnf.patch ... [ ok ] * 93_all_uClibc-0.9.26-sincostanf.patch ... [ ok ] * 94_all_uClibc-0.9.26-atan2f.patch ... [ ok ] * 95_all_uClibc-0.9.27-round.patch ... [ ok ] * Done with patching >>> Source unpacked. >>> Compiling source in /var/tmp/cross/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27 ... /usr/bin/mips-topan-linux-uclibc-ar 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. sparc (TARGET_sparc) 18. v850 (TARGET_v850) choice[1-18?]: 12 * * Target Architecture Features and Options * Target Processor Architecture > 1. Generic (MIPS I) (CONFIG_MIPS_ISA_1) 2. MIPS II (CONFIG_MIPS_ISA_2) 3. MIPS III (CONFIG_MIPS_ISA_3) 4. MIPS IV (CONFIG_MIPS_ISA_4) 5. MIPS32 (CONFIG_MIPS_ISA_MIPS32) 6. MIPS64 (CONFIG_MIPS_ISA_MIPS64) choice[1-6?]: 1 Target Processor Endianness 1. Little Endian (ARCH_LITTLE_ENDIAN) > 2. Big Endian (ARCH_BIG_ENDIAN) choice[1-2?]: 2 Target CPU has a memory management unit (MMU) (ARCH_HAS_MMU) [Y/n/?] 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 Compiler Warnings (WARNINGS) [-Wall] -Wall Linux kernel header location (KERNEL_SOURCE) [/usr/mips-topan-linux-uclibc/usr] /usr/mips-topan-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 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 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) [N/y/?] n 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) [N/y/?] n 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/n/?] 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/n/?] y Locale Support (UCLIBC_HAS_LOCALE) [N/y/?] n Support hexadecimal float notation (UCLIBC_HAS_HEXADECIMAL_FLOATS) [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 (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 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 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 stack protection (UCLIBC_HAS_SSP) [Y/n/?] y Simple propolice canary w/o accessing /dev/*random (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) [N/y/?] n Build uClibc with NOW (UCLIBC_BUILD_NOW) [N/y/?] n Build uClibc with noexecstack marking (UCLIBC_BUILD_NOEXECSTACK) [N/y/?] n * * uClibc development/debugging options * Build uClibc with debugging symbols (DODEBUG) [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 Manuel's hidden warnings (UCLIBC_MJN3_ONLY) [N/y/?] n + ./extra/scripts/fix_includes.sh -k /usr/mips-topan-linux-uclibc/usr -t mips + TOPDIR=. + CC=mips-topan-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/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27/libc/sysdeps/linux/common' ln -fs ../libc/sysdeps/linux/common/fpu_control.h ../../../..//include/ make[1]: Leaving directory `/var/tmp/cross/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27/libc/sysdeps/linux/common' make -C libc/sysdeps/linux/mips headers make[1]: Entering directory `/var/tmp/cross/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27/libc/sysdeps/linux/mips' ln -fs ../libc/sysdeps/linux/mips/sgidefs.h ../../../..//include/ ln -fs ../libc/sysdeps/linux/mips/fpu_control.h ../../../..//include/ make[1]: Leaving directory `/var/tmp/cross/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27/libc/sysdeps/linux/mips' + ./extra/scripts/fix_includes.sh -k /usr/mips-topan-linux-uclibc/usr -t mips + TOPDIR=. + CC=mips-topan-linux-uclibc-gcc + /bin/sh extra/scripts/gen_bits_syscall_h.sh + cmp include/bits/sysnum.h include/bits/sysnum.h.new + rm -f include/bits/sysnum.h.new make -C libc/sysdeps/linux/common headers make[1]: Entering directory `/var/tmp/cross/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27/libc/sysdeps/linux/common' ln -fs ../libc/sysdeps/linux/common/fpu_control.h ../../../..//include/ make[1]: Leaving directory `/var/tmp/cross/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27/libc/sysdeps/linux/common' make -C libc/sysdeps/linux/mips headers make[1]: Entering directory `/var/tmp/cross/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27/libc/sysdeps/linux/mips' ln -fs ../libc/sysdeps/linux/mips/sgidefs.h ../../../..//include/ ln -fs ../libc/sysdeps/linux/mips/fpu_control.h ../../../..//include/ make[1]: Leaving directory `/var/tmp/cross/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27/libc/sysdeps/linux/mips' make -C ldso make[1]: Entering directory `/var/tmp/cross/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27/ldso' echo "const char *_dl_progname=\""ld-uClibc.so.0"\";" \ > include/dl-progname.h echo "#include \"mips/elfinterp.c\"" \ >> include/dl-progname.h ln -fs ../../include/elf.h include/ ln -fs ../ldso/mips/dl-startup.h include/ ln -fs ../ldso/mips/dl-syscalls.h include/ ln -fs ../ldso/mips/dl-sysdep.h include/ make -C ldso; make[2]: Entering directory `/var/tmp/cross/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27/ldso/ldso' mips-topan-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-stack-protector -Os -funit-at-a-time -mno-split-addresses -mips1 -fPIC -DUCLIBC_RUNTIME_PREFIX=\"/\" -fno-builtin -nostdinc -D_LIBC -I../../ldso/include -I. -I../../include -isystem /usr/lib/gcc/mips-topan-linux-uclibc/4.1.2/include -I../libdl -c mips/resolve.S -o mips/resolve.o mips-topan-linux-uclibc-strip -x -R .note -R .comment mips/resolve.o mips-topan-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-stack-protector -Os -funit-at-a-time -mno-split-addresses -mips1 -fPIC -DUCLIBC_RUNTIME_PREFIX=\"/\" -fno-builtin -nostdinc -D_LIBC -I../../ldso/include -I. -I../../include -isystem /usr/lib/gcc/mips-topan-linux-uclibc/4.1.2/include -I../libdl -c ldso.c -o ldso.o ldso.c:74: error: static declaration of '_dl_malloc_addr' follows non-static declaration ../../ldso/include/ldso.h:45: error: previous declaration of '_dl_malloc_addr' was here ldso.c:75: error: static declaration of '_dl_mmap_zero' follows non-static declaration ../../ldso/include/ldso.h:46: error: previous declaration of '_dl_mmap_zero' was here In file included from ldso.c:935: dl-hash.c: In function '_dl_find_hash': dl-hash.c:150: warning: pointer targets in passing argument 1 of '_dl_elf_hash' differ in signedness make[2]: *** [ldso.o] Error 1 make[2]: Leaving directory `/var/tmp/cross/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27/ldso/ldso' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/cross/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27/ldso' make: *** [_dir_ldso] Error 2 * * ERROR: cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2470: Called die * The specific snippet of code: * emake || die "could not make"; * The die message: * could not make * * 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/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/cross/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/' * * Messages for package cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1: * This profile has not been tested thoroughly and is not considered to be * a supported server profile at this time. For a supported server * profile, please check the Hardened project (http://hardened.gentoo.org). * This profile is merely a convenience for people who require a more * minimal profile, yet are unable to use hardened due to restrictions in * the software being used on the server. This profile should also be used * if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this * applies to you, then it doesn't and you should probably be using * Hardened, instead. * You really should consider setting UCLIBC_CPU * Otherwise, the build will be generic (read: slow). * Available CPU options: * * ERROR: cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2470: Called die * The specific snippet of code: * emake || die "could not make"; * The die message: * could not make * * 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/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/cross/mips-topan-linux-uclibc/portage/cross-mips-topan-linux-uclibc/uclibc-0.9.27-r1/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/' *