Skip to content

Instantly share code, notes, and snippets.

@ss23
Created June 20, 2018 23:38
Show Gist options
  • Select an option

  • Save ss23/bc8fe36200a71bfab524bd5cbc3dab98 to your computer and use it in GitHub Desktop.

Select an option

Save ss23/bc8fe36200a71bfab524bd5cbc3dab98 to your computer and use it in GitHub Desktop.
crisp /var/log/portage # xzcat /var/log/portage/cross-armv6j-hardfloat-linux-gnueabi-glibc-headers.log.xz
>>> Verifying ebuild manifests
* IMPORTANT: 18 news items need reading for repository 'crossdev'.
* Use eselect news read to view new items.
>>> Running pre-merge checks for cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11
>>> Emerging (1 of 1) cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11::crossdev
* glibc-2.25.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ]
* glibc-2.25-patches-15.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
* Manual CFLAGS: -O2 -march=native -pipe -fomit-frame-pointer
* strip-flags: CFLAGS: changed '-O2 -march=native -pipe -fomit-frame-pointer' to '-O2 -march=native -pipe'
* strip-flags: CXXFLAGS: changed '-O2 -march=native -pipe -fomit-frame-pointer' to '-O2 -march=native -pipe'
* Skip CC ABI injection. We can't use (cross-)compiler yet.
>>> Unpacking glibc-2.25.tar.xz to /var/tmp/portage/cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11/work
>>> Unpacking glibc-2.25-patches-15.tar.bz2 to /var/tmp/portage/cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11/work
>>> Source unpacked in /var/tmp/portage/cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11/work
>>> Preparing source in /var/tmp/portage/cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11/work/glibc-2.25 ...
* Applying Gentoo Glibc Patchset 2.25-15 ...
* 0001_all_disable-ldconfig-during-install.patch ...
[ ok ]
* 0002_all_reload-etc-resolv.conf-when-it-has-changed.patch ...
[ ok ]
* 0003_all_rtld-do-not-ignore-arch-specific-CFLAGS.patch ...
[ ok ]
* 0004_all_gentoo-support-running-tests-under-sandbox.patch ...
[ ok ]
* Skipping 0005_all_sys-types.h-drop-sys-sysmacros.h-include.patch due to EPATCH_EXCLUDE ...
* 0006_all_Fix-getting-tunable-values-on-big-endian-BZ-21109.patch ...
[ ok ]
* 0007_all_sunrpc-Avoid-use-after-free-read-access-in-clntudp_c.patch ...
[ ok ]
* 0008_all_sunrpc-Improvements-for-UDP-client-timeout-handling-.patch ...
[ ok ]
* 0009_all_Document-and-fix-enable-bind-now-BZ-21015.patch ...
[ ok ]
* 0010_all_hppa-Fix-setting-of-__libc_stack_end.patch ...
[ ok ]
* 0011_all_x86_64-fix-static-build-of-__mempcpy_chk-for-compile.patch ...
[ ok ]
* 0012_all_posix_spawn-fix-stack-setup-on-ia64-BZ-21275.patch ...
[ ok ]
* 0013_all_posix_spawn-use-a-larger-min-stack-for-fstack-check-.patch ...
[ ok ]
* 0014_all_sh-Fix-building-with-gcc5-6.patch ...
[ ok ]
* 0015_all_rtld-Completely-ignore-LD_LIBRARY_PATH-for-AT_SECURE.patch ...
[ ok ]
* 0016_all_rtld-Reject-overly-long-LD_AUDIT-path-elements.patch ...
[ ok ]
* 0017_all_rtld-Reject-overly-long-LD_PRELOAD-path-elements.patch ...
[ ok ]
* 0018_all_Add-IS_IN-guard-to-multiarch-IFUNC-implementations.patch ...
[ ok ]
* 0019_all_Ignore-and-remove-LD_HWCAP_MASK-for-AT_SECURE-progra.patch ...
[ ok ]
* 0020_all_Avoid-.symver-on-common-symbols-BZ-21666.patch ...
[ ok ]
* 0021_all_Fix-i686-memchr-overflow-calculation-BZ-21182.patch ...
[ ok ]
* 0022_all_resolv-Reduce-EDNS-payload-size-to-1200-bytes-BZ-213.patch ...
[ ok ]
* 0023_all_Revert-sysdeps-posix-getaddrinfo.c-gaih_inet-Only-us.patch ...
[ ok ]
* 0026_all_Fix-BZ-locale-19838.patch ...
[ ok ]
* 0027_all_Rework-fno-omit-frame-pointer-support-on-i386.patch ...
[ ok ]
* 0028_all_Use-generic-pthread-support-on-hppa.patch ...
[ ok ]
* 0029_all_AArch64-Use-hidden-__GI__dl_argv-in-rtld-startup-cod.patch ...
[ ok ]
* 0031_all_lib-punycode.c-decode_digit-Fix-integer-overflow.patch ...
[ ok ]
* 0032_all_libidn-punycode.c-decode_digit-Really-fix-integer-ov.patch ...
[ ok ]
* 0033_all_libidn-Fix-out-of-bounds-stack-read.-Report-and-patc.patch ...
[ ok ]
* 0034_all_glob-Fix-buffer-overflow-during-GLOB_TILDE-unescapin.patch ...
[ ok ]
* 0035_all_CVE-2017-15670-glob-Fix-one-byte-overflow-BZ-22320.patch ...
[ ok ]
* 0036_all_Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch ...
[ ok ]
* 0037_all_Fix-s390-version-of-pt-longjmp.c.patch ...
[ ok ]
* 0040_all_ia64-Add-ipc_priv.h-header-to-set-__IPC_64-to-zero.patch ...
[ ok ]
* 0041_all_posix-Fix-improper-assert-in-Linux-posix_spawn-BZ-22.patch ...
[ ok ]
* 0042_all_posix-Do-not-use-WNOHANG-in-waitpid-call-for-Linux-p.patch ...
[ ok ]
* 0043_all_mips64-fix-clobbering-s0-in-setjmp-BZ-22624.patch ...
[ ok ]
* 0044_all_mips32-fix-clobbering-s0-in-setjmp-BZ-22624.patch ...
[ ok ]
* 0045_all_linux-make-getcwd-3-fail-if-it-cannot-obtain-an-abso.patch ...
[ ok ]
* 0046_all_elf-Check-for-empty-tokens-before-dynamic-string-tok.patch ...
[ ok ]
* 0047_all_Fix-integer-overflows-in-internal-memalign-and-mallo.patch ...
[ ok ]
* 0049_all_mutex-Fix-robust-mutex-lock-acquire-Bug-21778.patch ...
[ ok ]
* Done with patching
* Using GNU config files from /usr/share/gnuconfig
* Updating scripts/config.sub
[ ok ]
* Updating scripts/config.guess
[ ok ]
* Adjusting to prefix /
* locale-gen ...
[ ok ]
* Applying glibc-2.19-ia64-gcc-4.8-reloc-hack.patch ...
[ ok ]
* Installing Hardened Gentoo SSP and FORTIFY_SOURCE handler
* QA Notice: Global shell options changed and were not restored while calling 'src_prepare'
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11/work/glibc-2.25 ...
* Manual CFLAGS: -march=native -pipe -O2 -fno-strict-aliasing
* strip-flags: CFLAGS: changed '-O2 -march=native -pipe -fomit-frame-pointer' to '-O2 -march=native -pipe'
* strip-flags: CXXFLAGS: changed '-O2 -march=native -pipe -fomit-frame-pointer' to '-O2 -march=native -pipe'
* Skip CC ABI injection. We can't use (cross-)compiler yet.
* Manual CFLAGS: -march=native -pipe -O2 -fno-strict-aliasing
* strip-flags: CFLAGS: changed '-O2 -march=native -pipe -fomit-frame-pointer' to '-O2 -march=native -pipe'
* strip-flags: CXXFLAGS: changed '-O2 -march=native -pipe -fomit-frame-pointer' to '-O2 -march=native -pipe'
* Skip CC ABI injection. We can't use (cross-)compiler yet.
* Running toolchain-glibc_do_src_configure for ABI default
* Forcing cached settings:
* ac_cv_header_cpuid_h=yes
* libc_cv_386_tls=yes
* libc_cv_390_tls=yes
* libc_cv_alpha_tls=yes
* libc_cv_arm_tls=yes
* libc_cv_hppa_tls=yes
* libc_cv_ia64_tls=yes
* libc_cv_mips_tls=yes
* libc_cv_powerpc_tls=yes
* libc_cv_powerpc32_tls=yes
* libc_cv_powerpc64_tls=yes
* libc_cv_sparc_tls=yes
* libc_cv_sparc32_tls=yes
* libc_cv_sparc64_tls=yes
* libc_cv_sh_tls=yes
* libc_cv_x86_64_tls=yes
* libc_cv_asm_cfi_directives=yes
* libc_cv_broken_visibility_attribute=no
* libc_cv_c_cleanup=yes
* libc_cv_forced_unwind=yes
* libc_cv_gcc___thread=yes
* libc_cv_mlong_double_128=yes
* libc_cv_mlong_double_128ibm=yes
* libc_cv_ppc_machine=yes
* libc_cv_ppc_rel16=yes
* libc_cv_predef_fortify_source=no
* libc_cv_visibility_attribute=yes
* libc_cv_z_combreloc=yes
* libc_cv_z_execstack=yes
* libc_cv_z_initfirst=yes
* libc_cv_z_nodelete=yes
* libc_cv_z_nodlopen=yes
* libc_cv_z_relro=yes
* libc_mips_abi=default
* libc_mips_float=hard
* ac_cv_lib_audit_audit_log_user_avc_message=no
* ac_cv_lib_cap_cap_init=no
/var/tmp/portage/cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11/work/glibc-2.25/configure --disable-sanity-checks --enable-hacker-mode --without-cvs --disable-werror --enable-bind-now --build=x86_64-pc-linux-gnu --host=armv6j-hardfloat-linux-gnueabi --with-headers=/usr/armv6j-hardfloat-linux-gnueabi/usr/include --prefix=/usr --enable-add-ons=
configure: loading site script /usr/share/config.site
checking build system type... x86_64-pc-linux-gnu
checking host system type... armv6j-hardfloat-linux-gnueabi
checking for armv6j-hardfloat-linux-gnueabi-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 gcc... gcc
checking for armv6j-hardfloat-linux-gnueabi-readelf... armv6j-hardfloat-linux-gnueabi-readelf
checking for armv6j-hardfloat-linux-gnueabi-g++... no
checking for armv6j-hardfloat-linux-gnueabi-c++... no
checking for armv6j-hardfloat-linux-gnueabi-gpp... no
checking for armv6j-hardfloat-linux-gnueabi-aCC... no
checking for armv6j-hardfloat-linux-gnueabi-CC... no
checking for armv6j-hardfloat-linux-gnueabi-cxx... no
checking for armv6j-hardfloat-linux-gnueabi-cc++... no
checking for armv6j-hardfloat-linux-gnueabi-cl.exe... no
checking for armv6j-hardfloat-linux-gnueabi-FCC... no
checking for armv6j-hardfloat-linux-gnueabi-KCC... no
checking for armv6j-hardfloat-linux-gnueabi-RCC... no
checking for armv6j-hardfloat-linux-gnueabi-xlC_r... no
checking for armv6j-hardfloat-linux-gnueabi-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
checking whether g++ can link programs... yes
checking for sysdeps preconfigure fragments... aarch64 alpha arm configure: WARNING: arm/preconfigure: Did not find ARM architecture type; using default
hppa i386 m68k microblaze mips nacl nios2 powerpc s390 sh sparc tile x86_64
checking for -fstack-protector... yes
checking for -fstack-protector-strong... yes
checking for -fstack-protector-all... yes
checking for assembler and linker STT_GNU_IFUNC support... yes
checking for gcc attribute ifunc support... yes
checking sysdep dirs... sysdeps/unix/sysv/linux/arm sysdeps/arm/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/arm sysdeps/unix sysdeps/posix sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic
checking for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c
checking whether ln -s works... yes
checking whether /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/as is GNU as... yes
checking whether /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld is GNU ld... yes
checking for /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/as... /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/as
checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/as... 2.30.0, ok
checking for /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld... /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld
checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld... v. ?.??, bad
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 4.2.1, ok
checking for gnumsgfmt... no
checking for gmsgfmt... gmsgfmt
checking version of gmsgfmt... 0.19.8.1, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 6.3, ok
checking for sed... sed
checking version of sed... 4.2.2, ok
checking for gawk... gawk
checking version of gawk... 4.1.4, ok
checking if x86_64-pc-linux-gnu-gcc is sufficient to build libc... yes
checking for armv6j-hardfloat-linux-gnueabi-nm... armv6j-hardfloat-linux-gnueabi-nm
checking for python3... python3
configure: error:
*** These critical programs are missing or too old: ld
*** Check the INSTALL file for required versions.
* ERROR: cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11::crossdev failed (configure phase):
* failed to configure glibc
*
* Call stack:
* ebuild.sh, line 124: Called src_configure
* environment, line 3149: Called toolchain-glibc_src_configure
* environment, line 4474: Called foreach_abi 'toolchain-glibc_do_src_configure'
* environment, line 1316: Called toolchain-glibc_do_src_configure
* environment, line 4164: Called toolchain-glibc_headers_configure
* environment, line 4353: Called die
* The specific snippet of code:
* CC="$(tc-getBUILD_CC)" CFLAGS="-O1 -pipe" CPPFLAGS="-U_FORTIFY_SOURCE" LDFLAGS="" "$@" || die "failed to configure glibc"
*
* If you need support, post the output of `emerge --info '=cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11::crossdev'`,
* the complete build log and the output of `emerge -pqv '=cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11::crossdev'`.
* The complete build log is located at '/var/tmp/portage/cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11/temp/environment'.
* Working directory: '/var/tmp/portage/cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11/work/build-default-armv6j-hardfloat-linux-gnueabi-headers'
* S: '/var/tmp/portage/cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11/work/glibc-2.25'
>>> Failed to emerge cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11, Log file:
>>> '/var/tmp/portage/cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11/temp/build.log'
* Messages for package cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11:
* ERROR: cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11::crossdev failed (configure phase):
* failed to configure glibc
*
* Call stack:
* ebuild.sh, line 124: Called src_configure
* environment, line 3149: Called toolchain-glibc_src_configure
* environment, line 4474: Called foreach_abi 'toolchain-glibc_do_src_configure'
* environment, line 1316: Called toolchain-glibc_do_src_configure
* environment, line 4164: Called toolchain-glibc_headers_configure
* environment, line 4353: Called die
* The specific snippet of code:
* CC="$(tc-getBUILD_CC)" CFLAGS="-O1 -pipe" CPPFLAGS="-U_FORTIFY_SOURCE" LDFLAGS="" "$@" || die "failed to configure glibc"
*
* If you need support, post the output of `emerge --info '=cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11::crossdev'`,
* the complete build log and the output of `emerge -pqv '=cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11::crossdev'`.
* The complete build log is located at '/var/tmp/portage/cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11/temp/environment'.
* Working directory: '/var/tmp/portage/cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11/work/build-default-armv6j-hardfloat-linux-gnueabi-headers'
* S: '/var/tmp/portage/cross-armv6j-hardfloat-linux-gnueabi/glibc-2.25-r11/work/glibc-2.25'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment