Description
Dj Lee
2011-03-17 13:50:19 UTC
Created attachment 266257 [details]
/var/log/portage/cross-powerpc64-unknown-linux-gnu-gcc-stage2.log
Here is cross gcc stage2 emerge log.
reproduce step 1. crossdev -t ppc64 (In reply to comment #2) > reproduce step > > 1. crossdev -t ppc64 < - - - - - > $ crossdev --help [...] Target (-t) takes a tuple ARCH-VENDOR-OS-LIBC; see 'crossdev -t help' < - - - - - > What if you tried that instead? `crossdev ppc64` is fine ... crossdev itself takes care of converting from that invalid tuple to a valid one. * Target System: powerpc64-unknown-linux-gnu post the full build log as an attachment from emerging glibc. it should have installed both ABIs including this stubs header. Sorry to late. I recently updated my gentoo machine, including kernel.(gentoo-source-2.6.37-r2 -> gentoo-source-2.6.38) and retry to build ppc64 toolchain. but, crossdev fails with following error. # cat /var/log/portage/cross-powerpc64-unknown-linux-gnu-glibc.log Calculating dependencies ... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2 from unknown repo bash: /usr/portage/distfiles/.__portage_test_write__: Permission denied * glibc-2.13.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * glibc-ports-2.13.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * glibc-2.13-patches-4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2 * Maintainer: toolchain@gentoo.org * USE: amd64 elibc_glibc glibc-omitfp hardened kernel_linux multilib nls userland_GNU * FEATURES: sandbox * PIE hardening not applied, as your compiler doesn't default to PIE >>> Unpacking source... * Checking gcc for __thread support ... [ ok ] * Checking linux-headers version (2.6.38 >= 2.6.9) ... [ ok ] >>> Unpacking glibc-2.13.tar.bz2 to /var/tmp/portage/cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2/work >>> Unpacking glibc-ports-2.13.tar.bz2 to /var/tmp/portage/cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2/work/glibc-2.13 >>> Unpacking glibc-2.13-patches-4.tar.bz2 to /var/tmp/portage/cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2/work * Applying Gentoo Glibc Patchset 2.13-4 ... * 0020_all_glibc-tweak-rfc1918-lookup.patch ... [ ok ] * 0030_all_glibc-respect-env-CPPFLAGS.patch ... [ ok ] * 0050_all_glibc-2.13-ldso-prelink-segv.patch ... [ ok ] * 0055_all_glibc-2.12-static-shared-getpagesize.patch ... [ ok ] * 0060_all_glibc-2.13-static-memmove-ssse3.patch ... [ ok ] * 0061_all_glibc-2.13-static-memset.patch ... [ ok ] * 0085_all_glibc-disable-ldconfig.patch ... [ ok ] * 1005_all_glibc-sigaction.patch ... [ ok ] * 1010_all_glibc-queue-header-updates.patch ... [ ok ] * 1020_all_glibc-longjmp-chk-hidden-fortify.patch ... [ ok ] * 1030_all_glibc-manual-no-perl.patch ... [ ok ] * 1040_all_2.3.3-localedef-fix-trampoline.patch ... [ ok ] * 1055_all_glibc-resolv-dynamic.patch ... [ ok ] * 1060_all_glibc-localedef-mmap.patch ... [ ok ] * 1070_all_glibc-fadvise64_64.patch ... [ ok ] * 1075_all_glibc-section-comments.patch ... [ ok ] * 1080_all_glibc-no-inline-gmon.patch ... [ ok ] * 1085_all_glibc-2.9-check_native-headers.patch ... [ ok ] * 1090_all_glibc-2.3.6-fix-pr631.patch ... [ ok ] * 1095_all_glibc-2.9-assume-pipe2.patch ... [ ok ] * 1100_all_glibc-2.3.3-china.patch ... [ ok ] * 1103_all_glibc-new-valencian-locale.patch ... [ ok ] * 1120_all_glibc-2.11-longjmp-chk-fallback.patch ... [ ok ] * 1130_all_glibc-2.4-undefine-__i686.patch ... [ ok ] * 1160_all_glibc-2.8-nscd-one-fork.patch ... [ ok ] * 1502_all_hppa-glibc-2.13-F_GET-SETPIPE_SZ.patch ... [ ok ] * 1509_all_glibc-2.11-hppa-SOCK_CLOEXEC.patch ... [ ok ] * 1530_all_glibc-m68k-sys-user.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 ] * 5063_all_glibc-dont-build-timezone.patch ... [ ok ] * 6018_all_alpha-glibc-2.8-cache-shape.patch ... [ ok ] * 6020_all_alpha-fix-gcc-4.1-warnings.patch ... [ ok ] * 6026_all_alpha-fix-rtld-fPIC.patch ... [ ok ] * 6027_all_alpha-glibc-2.13-F_GET-SETPIPE_SZ.patch ... [ ok ] * 6028_all_alpha-glibc-2.13-statfs.f_flags.patch ... [ ok ] * 6029_all_alpha-glibc-2.13-DEFAULT_STACK_PERMS.patch ... [ ok ] * 6030_all_alpha-glibc-2.13-hidden-libm.patch ... [ ok ] * 6031_all_alpha-glibc-2.12-epoll_create1.patch ... [ ok ] * 6032_all_alpha-syscall-6.patch ... [ ok ] * 6120_all_ppc-glibc-2.9-atomic.patch ... [ ok ] * 6130_all_ppc-glibc-2.11-cell-vector.patch ... [ ok ] * 6220_all_glibc-2.4-arm-cirrus-ep93xx-maverick-crunch-fpu.patch ... [ ok ] * 6230_all_arm-glibc-hardened.patch ... [ ok ] * 6240_all_glibc-2.8-nptl-lowlevellock.patch ... [ ok ] * 6532_all_sparc64-tls-cross-test.patch ... [ ok ] * 6605_all_glibc-2.4-fpu-cw-mips.patch ... [ ok ] * Done with patching * Using GNU config files from /usr/share/gnuconfig * Updating scripts/config.sub [ ok ] * Updating scripts/config.guess [ ok ] * Patching to get working PIE binaries on PIE (hardened) platforms * Applying glibc-2.10-hardened-configure-picdefault.patch ... [ ok ] * Applying glibc-2.10-hardened-inittls-nosysenter.patch ... [ ok ] * Installing Hardened Gentoo SSP and FORTIFY_SOURCE handler >>> Source unpacked in /var/tmp/portage/cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2/work >>> Compiling source in /var/tmp/portage/cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2/work/glibc-2.13 ... * ABI: default * CBUILD: x86_64-pc-linux-gnu * CHOST: x86_64-pc-linux-gnu * CTARGET: powerpc64-unknown-linux-gnu * CBUILD_OPT: * CTARGET_OPT: * CC: x86_64-pc-linux-gnu-gcc * CFLAGS: -pipe -fno-stack-protector -O2 -fno-strict-aliasing * Manual CC: x86_64-pc-linux-gnu-gcc * Configuring GLIBC for nptl /var/tmp/portage/cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2/work/glibc-2.13/configure --enable-stackguard-randomization --enable-old-ssp-compat --enable-omitfp --enable-add-ons=nptl,c_stubs,libidn,ports --enable-kernel=2.6.9 --without-selinux --without-cvs --enable-bind-now --build=x86_64-pc-linux-gnu --host=powerpc64-unknown-linux-gnu --disable-profile --without-gd --with-headers=/usr/powerpc64-unknown-linux-gnu/usr/include --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/lib/misc/glibc --disable-multi-arch configure: loading site script /usr/share/config.site configure: loading site script /usr/share/crossdev/include/site/linux checking build system type... x86_64-pc-linux-gnu checking host system type... powerpc64-unknown-linux-gnu checking for powerpc64-unknown-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for gcc... gcc checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for powerpc64-unknown-linux-gnu-g++... no checking for powerpc64-unknown-linux-gnu-c++... no checking for powerpc64-unknown-linux-gnu-gpp... no checking for powerpc64-unknown-linux-gnu-aCC... no checking for powerpc64-unknown-linux-gnu-CC... no checking for powerpc64-unknown-linux-gnu-cxx... no checking for powerpc64-unknown-linux-gnu-cc++... no checking for powerpc64-unknown-linux-gnu-cl.exe... no checking for powerpc64-unknown-linux-gnu-FCC... no checking for powerpc64-unknown-linux-gnu-KCC... no checking for powerpc64-unknown-linux-gnu-RCC... no checking for powerpc64-unknown-linux-gnu-xlC_r... no checking for powerpc64-unknown-linux-gnu-xlC... no checking for g++... g++ configure: WARNING: using cross tools not prefixed with host triplet checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes 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 add-on ports for preconfigure fragments... alpha am33 arm hppa m68k mips checking for assembler gnu_indirect_function symbol type support... yes checking whether .text pseudo-op must be used... yes checking for assembler global-symbol directive... .globl checking for assembler .type directive prefix... @ checking sysdep dirs... sysdeps/powerpc/powerpc64/elf sysdeps/powerpc/elf sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu sysdeps/powerpc/powerpc64/fpu nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64 sysdeps/unix/sysv/linux/powerpc/powerpc64 sysdeps/unix/sysv/linux/wordsize-64 nptl/sysdeps/unix/sysv/linux/powerpc ports/sysdeps/unix/sysv/linux/powerpc sysdeps/unix/sysv/linux/powerpc sysdeps/ieee754/ldbl-128ibm sysdeps/ieee754/ldbl-opt nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/powerpc nptl/sysdeps/unix ports/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/powerpc/powerpc64 sysdeps/wordsize-64 sysdeps/powerpc/fpu nptl/sysdeps/powerpc ports/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 whether /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/as is GNU as... yes checking whether /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld is GNU ld... yes checking for /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/as... /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/as checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/as... 2.21, ok checking for /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld... /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld... 2.21, ok checking for pwd... /bin/pwd checking for powerpc64-unknown-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking version of x86_64-pc-linux-gnu-gcc ... 4.5.2, 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.18.1, ok checking for makeinfo... makeinfo checking version of makeinfo... 4.13, ok checking for sed... sed checking version of sed... 4.2.1, 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/bash 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 for .set assembler directive... yes checking for assembler gnu_unique_object symbol type... yes 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... no 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... yes checking whether --noexecstack is desirable for .S files... yes checking for -z combreloc... yes checking for -z execstack... yes checking for -fpie... yes checking for --hash-style option... yes checking for -fno-toplevel-reorder -fno-section-anchors... yes checking for -fstack-protector... yes checking for -fgnu89-inline... yes 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 for __builtin_expect... yes checking for __builtin_memset... yes checking for redirection of built-in functions... yes checking for __thread... yes checking for tls_model attribute... yes checking for libgd... no checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking size of long double... 16 running configure fragment for sysdeps/powerpc/powerpc64/elf checking for powerpc64 TLS support... no running configure fragment for sysdeps/unix/sysv/linux/powerpc checking whether x86_64-pc-linux-gnu-gcc -pipe -fno-stack-protector -O2 -fno-strict-aliasing -mlong-double-128 uses IBM extended format... no checking whether x86_64-pc-linux-gnu-gcc -pipe -fno-stack-protector -O2 -fno-strict-aliasing supports -mabi=ibmlongdouble... no configure: error: this configuration requires -mlong-double-128 IBM extended format support * ERROR: cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2 failed (compile phase): * failed to configure glibc * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3689: Called eblit-run 'src_compile' * environment, line 1115: Called eblit-glibc-src_compile * src_compile.eblit, line 204: Called src_compile * environment, line 3689: Called eblit-run 'src_compile' * environment, line 1115: Called eblit-glibc-src_compile * src_compile.eblit, line 212: Called toolchain-glibc_src_compile * src_compile.eblit, line 123: Called glibc_do_configure 'nptl' * src_compile.eblit, line 99: Called die * The specific snippet of code: * "${S}"/configure ${myconf} || die "failed to configure glibc" * * If you need support, post the output of 'emerge --info =cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2', * the complete build log and the output of 'emerge -pqv =cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2'. * This ebuild is from an overlay: '/usr/local/portage/' * The complete build log is located at '/var/log/portage/cross-powerpc64-unknown-linux-gnu:glibc-2.13-r2:20110320-145510.log'. * The ebuild environment file is located at '/var/tmp/portage/cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2/temp/environment'. * S: '/var/tmp/portage/cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2/work/glibc-2.13' >>> Failed to emerge cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2, Log file: >>> '/var/log/portage/cross-powerpc64-unknown-linux-gnu:glibc-2.13-r2:20110320-145510.log' Created attachment 266617 [details]
cross-powerpc64-unknown-linux-gnu-info.log
Here is cross-powerpc64-unknown-linux-gnu-info.log
Created attachment 266619 [details]
/var/log/portage/cross-powerpc64-unknown-linux-gnu-binutils.log
Created attachment 266621 [details]
/var/log/portage/cross-powerpc64-unknown-linux-gnu-glibc-headers.log
Created attachment 266623 [details]
/var/log/portage/cross-powerpc64-unknown-linux-gnu-glibc.log
should I duplicate this issue? Comment on attachment 266623 [details] /var/log/portage/cross-powerpc64-unknown-linux-gnu-glibc.log this is a different bug from what you reported originally. it's fixed in cvs now at any rate. http://sources.gentoo.org/sys-libs/glibc/files/eblits/common.eblit?r1=1.22&r2=1.21 post logs for the original failure Created attachment 267237 [details]
cross-powerpc64-unknown-linux-gnu-info.log
Created attachment 267239 [details]
cross-powerpc64-unknown-linux-gnu-binutils.log
Created attachment 267241 [details]
cross-powerpc64-unknown-linux-gnu-linux-headers-quick.log
Created attachment 267245 [details]
cross-powerpc64-unknown-linux-gnu-glibc-headers.log
Created attachment 267249 [details]
cross-powerpc64-unknown-linux-gnu-gcc-stage1.log.tar.gz
Created attachment 267251 [details]
cross-powerpc64-unknown-linux-gnu-linux-headers.log
Created attachment 267253 [details]
cross-powerpc64-unknown-linux-gnu-glibc.log.tar.gz
Created attachment 267255 [details]
cross-powerpc64-unknown-linux-gnu-gcc-stage2.log
Here is full logs. probably fixed with http://git.overlays.gentoo.org/gitweb/?p=proj/crossdev.git;a=commitdiff;h=4f548341b7083a2fc0726e9866323d30965206ac I just emerging crossdev-9999 and build ppc64 cross-toolchain again. It works. Thanks SpanKY. |