Excuse me the wrong logfile :-S
Cees
Cees Koolen wrote:
> Something like:
>
> # crossdev -s4 --target powerpc-softfloat-linux-gnu --libc 2.5-r4
> ----------------------------------------------------------------------------------------------------------------------------------
> * Host Portage ARCH: x86
> * Target Portage ARCH: ppc
> * Target System: powerpc-softfloat-linux-gnu
> * Stage: 4 (C/C++ compiler)
>
> * binutils: binutils-[latest]
> * gcc: gcc-[latest]
> * headers: linux-headers-[latest]
> * libc: glibc-2.5-r4
>
> * PORTDIR_OVERLAY: /usr/local/portage
> * PORT_LOGDIR: /var/log/portage
> * PKGDIR:
> /usr/portage/packages/cross/powerpc-softfloat-linux-gnu
> * PORTAGE_TMPDIR: /var/tmp/cross/powerpc-softfloat-linux-gnu
> _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ -
> ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~
> * Forcing the latest versions of {binutils,gcc}-config/gnuconfig ...
> [ ok ]
> * Log: /var/log/portage/cross-powerpc-softfloat-linux-gnu-binutils.log
> * Emerging cross-binutils ...
> [ ok ]
> * Log: /var/log/portage/cross-powerpc-softfloat-linux-gnu-gcc-stage1.log
> * Emerging cross-gcc-stage1 ...
> [ ok ]
> * Log: /var/log/portage/cross-powerpc-softfloat-linux-gnu-linux-headers.log
> * Emerging cross-linux-headers ...
> [ ok ]
> * Log: /var/log/portage/cross-powerpc-softfloat-linux-gnu-glibc.log
> * Emerging cross-glibc ...
>
> * glibc failed :(
> * If you file a bug, please attach the following logfiles:
> * /var/log/portage/cross-powerpc-softfloat-linux-gnu-info.log
> * /var/log/portage/cross-powerpc-softfloat-linux-gnu-glibc.log
>
> Cees
>
> Mike Frysinger wrote:
>> On Monday 01 October 2007, Cees Koolen wrote:
>>> Now I called it without any specific version requests.
>>>
>>> # crossdev -s4 --target powerpc-softfloat-linux-gnu
>> the output you've given lacks any actual version information, so i have no
>> idea what version of glibc is being built
>>
>> the default should be glibc-2.5-r4 as that is what is ppc stable
>> -mike
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 1) cross-powerpc-softfloat-linux-gnu/glibc-2.5-r4 to /
* glibc-libidn-2.5.tar.bz2 RMD160 ;-) ... [ ok ]
* glibc-libidn-2.5.tar.bz2 SHA1 ;-) ... [ ok ]
* glibc-libidn-2.5.tar.bz2 SHA256 ;-) ... [ ok ]
* glibc-libidn-2.5.tar.bz2 size ;-) ... [ ok ]
* glibc-ports-2.5.tar.bz2 RMD160 ;-) ... [ ok ]
* glibc-ports-2.5.tar.bz2 SHA1 ;-) ... [ ok ]
* glibc-ports-2.5.tar.bz2 SHA256 ;-) ... [ ok ]
* glibc-ports-2.5.tar.bz2 size ;-) ... [ ok ]
* glibc-2.5.tar.bz2 RMD160 ;-) ... [ ok ]
* glibc-2.5.tar.bz2 SHA1 ;-) ... [ ok ]
* glibc-2.5.tar.bz2 SHA256 ;-) ... [ ok ]
* glibc-2.5.tar.bz2 size ;-) ... [ ok ]
* glibc-linuxthreads-2.5.tar.bz2 RMD160 ;-) ... [ ok ]
* glibc-linuxthreads-2.5.tar.bz2 SHA1 ;-) ... [ ok ]
* glibc-linuxthreads-2.5.tar.bz2 SHA256 ;-) ... [ ok ]
* glibc-linuxthreads-2.5.tar.bz2 size ;-) ... [ ok ]
* glibc-2.5-patches-1.8.tar.bz2 RMD160 ;-) ... [ ok ]
* glibc-2.5-patches-1.8.tar.bz2 SHA1 ;-) ... [ ok ]
* glibc-2.5-patches-1.8.tar.bz2 SHA256 ;-) ... [ ok ]
* glibc-2.5-patches-1.8.tar.bz2 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking glibc-2.5.tar.bz2 ;-) ... [ ok ]
* checking glibc-ports-2.5.tar.bz2 ;-) ... [ ok ]
* checking glibc-libidn-2.5.tar.bz2 ;-) ... [ ok ]
* checking glibc-2.5-patches-1.8.tar.bz2 ;-) ... [ ok ]
* checking glibc-linuxthreads-2.5.tar.bz2 ;-) ... [ ok ]
>>> Unpacking source...
* Checking gcc for __thread support ...
[ ok ]
* Checking linux-headers version (>=2.6.9) ...
[ ok ]
>>> Unpacking glibc-2.5.tar.bz2 to
>>> /var/tmp/cross/powerpc-softfloat-linux-gnu/portage/cross-powerpc-softfloat-linux-gnu/glibc-2.5-r4/work
>>> Unpacking glibc-linuxthreads-2.5.tar.bz2 to
>>> /var/tmp/cross/powerpc-softfloat-linux-gnu/portage/cross-powerpc-softfloat-linux-gnu/glibc-2.5-r4/work/glibc-2.5
>>> Unpacking glibc-libidn-2.5.tar.bz2 to
>>> /var/tmp/cross/powerpc-softfloat-linux-gnu/portage/cross-powerpc-softfloat-linux-gnu/glibc-2.5-r4/work/glibc-2.5
>>> Unpacking glibc-ports-2.5.tar.bz2 to
>>> /var/tmp/cross/powerpc-softfloat-linux-gnu/portage/cross-powerpc-softfloat-linux-gnu/glibc-2.5-r4/work/glibc-2.5
>>> Unpacking glibc-2.5-patches-1.8.tar.bz2 to
>>> /var/tmp/cross/powerpc-softfloat-linux-gnu/portage/cross-powerpc-softfloat-linux-gnu/glibc-2.5-r4/work
* Applying Gentoo Glibc Patchset 2.5-1.8 ...
* 0010_all_glibc-ssp-compat.patch ...
[ ok ]
* 0030_all_glibc-respect-env-CPPFLAGS.patch ...
[ ok ]
* 1010_all_glibc-cvs-update-MINOR.patch ...
[ ok ]
* 1015_all_glibc-2.5-realloc-assert.patch ...
[ ok ]
* 1020_all_glibc-2.5-linuxthreads-gai-headers.patch ...
[ ok ]
* 1021_all_glibc-2.5-linuxthreads-ia64-tcb-typo.patch ...
[ ok ]
* 1022_all_glibc-2.5-linuxthreads-semaphore-header.patch ...
[ ok ]
* 1025_all_glibc-2.5-getusershell-fixes.patch ...
[ ok ]
* 1030_all_glibc-manual-no-perl.patch ...
[ ok ]
* 1035_all_glibc-cvs-fix-fork-handler-refcount-in-child.patch ...
[ ok ]
* 1040_all_2.3.3-localedef-fix-trampoline.patch ...
[ ok ]
* 1050_all_glibc-fix-printf-overflow-with-large-precisions.patch ...
[ ok ]
* 1055_all_glibc-resolv-dynamic.patch ...
[ ok ]
* 1060_all_glibc-cvs-getcwd-path-max.patch ...
[ ok ]
* 1075_all_glibc-section-comments.patch ...
[ ok ]
* 1090_all_glibc-2.3.6-fix-pr631.patch ...
[ ok ]
* 1100_all_glibc-2.3.3-china.patch ...
[ ok ]
* 1120_all_glibc-2.5-strict-aliasing.patch ...
[ ok ]
* 1130_all_glibc-2.4-undefine-__i686.patch ...
[ ok ]
* 1140_all_glibc-2.5-no-tls-support.patch ...
[ ok ]
* 1150_all_glibc-2.5-i386-no-libmemusage.patch ...
[ ok ]
* 1160_all_glibc-2.5-filter-files-for-headers-test.patch ...
[ ok ]
* 1510_all_glibc-hppa-no-asm-elf-header.patch ...
[ ok ]
* 1530_all_glibc-m68k-sys-user.patch ...
[ ok ]
* 1600_all_glibc-hwcap-mask-secure.patch ...
[ ok ]
* 3000_all_2.3.6-dl_execstack-PaX-support.patch ...
[ ok ]
* 3010_all_2.3.3_pre20040117-pt_pax.patch ...
[ ok ]
* 3020_all_glibc-tests-sandbox-libdl-paths.patch ...
[ ok ]
* 4010_all_2.3.5-hardened-iconvconfig-unnest.patch ...
[ ok ]
* 5021_all_2.3.6-fnmatch.patch ...
[ ok ]
* 5063_all_glibc-dont-build-timezone.patch ...
[ ok ]
* 5070_all_cross-compile-nptl.patch ...
[ ok ]
* 6001_all_alpha-glibc-2.4-xstat.patch ...
[ ok ]
* 6005_all_alpha-glibc-2.5-at-register.patch ...
[ ok ]
* 6010_all_alpha-glibc-2.5-sigsuspend-nocancel.patch ...
[ ok ]
* 6015_all_alpha-glibc-2.5-no-page-header.patch ...
[ ok ]
* 6016_all_alpha-glibc-2.5-no-asm-elf-header.patch ...
[ ok ]
* 6020_all_alpha-glibc-2.5-nptl-cfi-statements.patch ...
[ ok ]
* 6220_all_glibc-2.4-arm-cirrus-ep93xx-maverick-crunch-fpu.patch ...
[ ok ]
* 6223_all_arm-glibc-2.5-eabi-no-asm-procinfo.patch ...
[ ok ]
* 6225_all_arm-glibc-2.5-fix-network-assert.patch ...
[ ok ]
* 6230_all_arm-glibc-2.5-no-page-header.patch ...
[ ok ]
* 6400_all_sh-glibc-2.3.2-fpscr_values.patch ...
[ ok ]
* 6410_all_sh-glibc-2.5-no-sys-io-header.patch ...
[ ok ]
* 6415_all_sh-glibc-2.5-no-asm-user-header.patch ...
[ ok ]
* 6416_all_sh-glibc-2.5-no-asm-elf-header.patch ...
[ ok ]
* 6605_all_glibc-2.4-fpu-cw-mips.patch ...
[ ok ]
* 6901_all_2.4-amd64-strings-20060609.patch ...
[ ok ]
* 6901_all_2.4-new-libm-20060321.patch ...
[ ok ]
* Done with patching
* Using GNU config files from /usr/share/libtool
* Updating scripts/config.sub
[ ok ]
* Updating scripts/config.guess
[ ok ]
>>> Source unpacked.
>>> Compiling source in
>>> /var/tmp/cross/powerpc-softfloat-linux-gnu/portage/cross-powerpc-softfloat-linux-gnu/glibc-2.5-r4/work/glibc-2.5
>>> ...
* QA Notice: USE Flag 'crosscompile_opts_headers-only' not in IUSE for
cross-powerpc-softfloat-linux-gnu/glibc-2.5-r4
* ABI: default
* CBUILD: i686-pc-linux-gnu
* CHOST: i686-pc-linux-gnu
* CTARGET: powerpc-softfloat-linux-gnu
* CBUILD_OPT:
* CTARGET_OPT:
* CC:
* CFLAGS: -pipe -freorder-blocks -O2 -fno-strict-aliasing
* Configuring GLIBC for nptl with:
--disable-stackguard-randomization
--enable-old-ssp-compat
--without-fp
--with-tls
--with-__thread
--enable-add-ons=ports,nptl,c_stubs,libidn
--enable-kernel=2.6.9
--without-selinux
--without-cvs
--enable-bind-now
--build=i686-pc-linux-gnu
--host=powerpc-softfloat-linux-gnu
--disable-profile
--without-gd
--with-headers=/usr/powerpc-softfloat-linux-gnu/usr/include
--prefix=/usr
--libdir=/usr/lib
--mandir=/usr/share/man
--infodir=/usr/share/info
--libexecdir=/usr/lib/misc/glibc
checking build system type... i686-pc-linux-gnu
checking host system type... powerpc-softfloat-linux-gnu
checking add-on ports for preconfigure fragments... am33 arm hppa m68k mips
configure: running configure fragment for add-on nptl
configure: running configure fragment for add-on c_stubs
configure: running configure fragment for add-on libidn
checking sysdep dirs... sysdeps/powerpc/powerpc32/elf sysdeps/powerpc/elf
nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32
sysdeps/unix/sysv/linux/powerpc/powerpc32 nptl/sysdeps/unix/sysv/linux/powerpc
sysdeps/unix/sysv/linux/powerpc sysdeps/ieee754/ldbl-128ibm
sysdeps/ieee754/ldbl-opt ports/sysdeps/unix/sysv/linux
nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread
sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman
sysdeps/unix/inet ports/sysdeps/unix/sysv nptl/sysdeps/unix/sysv
sysdeps/unix/sysv sysdeps/unix/powerpc ports/sysdeps/unix nptl/sysdeps/unix
sysdeps/unix sysdeps/posix sysdeps/powerpc/powerpc32 sysdeps/wordsize-32
ports/sysdeps/powerpc/nofpu ports/sysdeps/powerpc nptl/sysdeps/powerpc
sysdeps/powerpc sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754
sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for powerpc-softfloat-linux-gnu-gcc... powerpc-softfloat-linux-gnu-gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether powerpc-softfloat-linux-gnu-gcc accepts -g... yes
checking for powerpc-softfloat-linux-gnu-gcc option to accept ANSI C... none
needed
checking for gcc... gcc
checking how to run the C preprocessor... powerpc-softfloat-linux-gnu-gcc -E
checking for powerpc-softfloat-linux-gnu-g++... no
checking for powerpc-softfloat-linux-gnu-c++... no
checking for powerpc-softfloat-linux-gnu-gpp... no
checking for powerpc-softfloat-linux-gnu-aCC... no
checking for powerpc-softfloat-linux-gnu-CC... no
checking for powerpc-softfloat-linux-gnu-cxx... no
checking for powerpc-softfloat-linux-gnu-cc++... no
checking for powerpc-softfloat-linux-gnu-cl... no
checking for powerpc-softfloat-linux-gnu-FCC... no
checking for powerpc-softfloat-linux-gnu-KCC... no
checking for powerpc-softfloat-linux-gnu-RCC... no
checking for powerpc-softfloat-linux-gnu-xlC_r... no
checking for powerpc-softfloat-linux-gnu-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether /usr/libexec/gcc/powerpc-softfloat-linux-gnu/as is GNU as...
yes
checking whether /usr/libexec/gcc/powerpc-softfloat-linux-gnu/ld is GNU ld...
yes
checking for /usr/libexec/gcc/powerpc-softfloat-linux-gnu/as...
/usr/libexec/gcc/powerpc-softfloat-linux-gnu/as
checking version of /usr/libexec/gcc/powerpc-softfloat-linux-gnu/as... 2.18, ok
checking for /usr/libexec/gcc/powerpc-softfloat-linux-gnu/ld...
/usr/libexec/gcc/powerpc-softfloat-linux-gnu/ld
checking version of /usr/libexec/gcc/powerpc-softfloat-linux-gnu/ld... 2.18, ok
checking for pwd... /bin/pwd
checking for powerpc-softfloat-linux-gnu-gcc... (cached)
powerpc-softfloat-linux-gnu-gcc
checking version of powerpc-softfloat-linux-gnu-gcc... 3.4.5, ok
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 3.81, ok
checking for gnumsgfmt... no
checking for gmsgfmt... gmsgfmt
checking version of gmsgfmt... 0.16.1, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 4.8, ok
checking for sed... sed
checking version of sed... 4.1.5, ok
checking for autoconf... autoconf
checking whether autoconf works... yes
checking whether ranlib is necessary... no
checking LD_LIBRARY_PATH variable... ok
checking whether GCC supports -static-libgcc... -static-libgcc
checking for bash... /bin/sh
checking for gawk... gawk
checking for perl... /usr/bin/perl
checking for install-info... /usr/bin/install-info
checking for bison... /usr/bin/bison
checking for signed size_t type... no
checking for libc-friendly stddef.h... yes
checking whether we need to use -P to assemble .S files... no
checking whether .text pseudo-op must be used... yes
checking for assembler global-symbol directive... .globl
checking for .set assembler directive... yes
checking for assembler .type directive prefix... @
checking for .symver assembler directive... yes
checking for ld --version-script... yes
checking for .previous assembler directive... yes
checking for .protected and .hidden assembler directive... yes
checking whether __attribute__((visibility())) is supported... yes
checking for broken __attribute__((visibility()))... no
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata section... yes
checking for .preinit_array/.init_array/.fini_array support... yes
checking for libunwind-support in compiler... no
checking for -z nodelete option... yes
checking for -z nodlopen option... yes
checking for -z initfirst option... yes
checking for -z relro option... yes
checking for -Bgroup option... yes
checking for libgcc_s suffix...
checking for --as-needed option... no
checking whether --noexecstack is desirable for .S files... yes
checking for -z combreloc... yes
checking for -z execstack... yes
checking for -fpie... no
checking for --hash-style option... yes
checking for -fno-toplevel-reorder... no
checking for -fstack-protector... no
checking whether cc puts quotes around section names... no
checking for assembler .weak directive... yes
checking whether CFI directives are supported... yes
checking for ld --no-whole-archive... yes
checking for gcc -fexceptions... yes
checking whether clobbering cr0 causes problems... no
checking for __builtin_expect... yes
checking for __builtin_memset... no
checking for redirection of built-in functions... yes
checking for __thread... yes
checking for tls_model attribute... yes
checking for libgd... no
checking for egrep... grep -E
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for long double... no
checking size of long double... 0
running configure fragment for sysdeps/powerpc/powerpc32/elf
checking for powerpc32 TLS support... yes
running configure fragment for sysdeps/unix/sysv/linux/powerpc
checking whether powerpc-softfloat-linux-gnu-gcc -pipe -freorder-blocks -O2
-fno-strict-aliasing -mlong-double-128 uses IBM extended format... no
checking whether powerpc-softfloat-linux-gnu-gcc -pipe -freorder-blocks -O2
-fno-strict-aliasing supports -mabi=ibmlongdouble... no
configure: error: this configuration requires -mlong-double-128 IBM extended
format support
*
* ERROR: cross-powerpc-softfloat-linux-gnu/glibc-2.5-r4 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* glibc-2.5-r4.ebuild, line 1160: Called src_compile
* glibc-2.5-r4.ebuild, line 1171: Called toolchain-glibc_src_compile
* glibc-2.5-r4.ebuild, line 270: Called glibc_do_configure 'nptl'
* glibc-2.5-r4.ebuild, line 944: Called die
*
* failed to configure glibc
* 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/powerpc-softfloat-linux-gnu/portage/cross-powerpc-softfloat-linux-gnu/glibc-2.5-r4/temp/build.log'.
* This ebuild is from an overlay: '/usr/local/portage/'
*
* Messages for package cross-powerpc-softfloat-linux-gnu/glibc-2.5-r4:
*
* ERROR: cross-powerpc-softfloat-linux-gnu/glibc-2.5-r4 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* glibc-2.5-r4.ebuild, line 1160: Called src_compile
* glibc-2.5-r4.ebuild, line 1171: Called toolchain-glibc_src_compile
* glibc-2.5-r4.ebuild, line 270: Called glibc_do_configure 'nptl'
* glibc-2.5-r4.ebuild, line 944: Called die
*
* failed to configure glibc
* 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/powerpc-softfloat-linux-gnu/portage/cross-powerpc-softfloat-linux-gnu/glibc-2.5-r4/temp/build.log'.
* This ebuild is from an overlay: '/usr/local/portage/'
*