Skip to content

Instantly share code, notes, and snippets.

@blitz
Created May 27, 2022 17:37
Show Gist options
  • Save blitz/ee604e1ddf51c9c8e91fe3c5edb36032 to your computer and use it in GitHub Desktop.
Save blitz/ee604e1ddf51c9c8e91fe3c5edb36032 to your computer and use it in GitHub Desktop.
Coreboot Toolchain Build Failure
these 5 derivations will be built:
/nix/store/983dhfb06fds2x1yp8zi060ybqgbshmf-gnat-6.5.0.drv
/nix/store/9yjisi1bqzp11gjc2mq42bam60yzc100-gnat-wrapper-6.5.0.drv
/nix/store/m8qqmsvwq85l0fc1lrh27bj35mls8fyk-gnat-11.3.0.drv
/nix/store/lgsw4kb2nz1k4gfdi5smlb4nn7137xn4-gnat-wrapper-11.3.0.drv
/nix/store/lni7alz1g5d8kvr8j9q4lp46xd5av0wc-coreboot-toolchain-i386-4.16.drv
building '/nix/store/983dhfb06fds2x1yp8zi060ybqgbshmf-gnat-6.5.0.drv'...
$CPATH is `/nix/store/5vc6m5qc9vvygb5vqbv4igcjzpdwmmv7-zlib-1.2.12-dev/include'
$LIBRARY_PATH is `/nix/store/9ih68mrvdv8fhw77v14yka0x37ny34gn-zlib-1.2.12/lib'
/nix/store/481a51f0r73sgfz5dalc565qd0bkj5sv-builder.sh: line 39: /nix/store/10h6ymfb28wx6x8amj82h2sgw3ixrsb2-binutils-wrapper-2.38/nix-support/libc-ldflags-before: No such file or directory
/nix/store/481a51f0r73sgfz5dalc565qd0bkj5sv-builder.sh: line 39: /nix/store/10h6ymfb28wx6x8amj82h2sgw3ixrsb2-binutils-wrapper-2.38/nix-support/libc-ldflags-before: No such file or directory
unpacking sources
unpacking source archive /nix/store/5jk4ig8lqap3lnb2awnhkcafc761xwlb-gcc-6.5.0.tar.xz
source root is gcc-6.5.0
setting SOURCE_DATE_EPOCH to timestamp 1540548836 of file gcc-6.5.0/MD5SUMS
patching sources
applying patch /nix/store/k4xxs05a0y02m36sv2hdl0vrmzpk77y8-use-source-date-epoch.patch
patching file libcpp/macro.c
Hunk #1 succeeded at 356 (offset 7 lines).
applying patch /nix/store/9y2vdwnnl354252rfmzmj9yygix9fd3j-0001-Fix-build-for-glibc-2.31.patch
patching file libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
patching file libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
applying patch /nix/store/pz03lhak99nzyyni72m14zsjzfjvqvr8-no-sys-dirs.patch
patching file gcc/cppdefault.c
patching file gcc/gcc.c
Hunk #1 succeeded at 1448 (offset 286 lines).
applying patch /nix/store/vhzv0b4bsqnzd0dqq36v6xfcgqn01qiz-gnat-cflags.patch
patching file gcc/ada/gcc-interface/Makefile.in
Hunk #1 succeeded at 110 (offset -1 lines).
Hunk #2 succeeded at 194 (offset -4 lines).
patching file libada/Makefile.in
Hunk #1 succeeded at 59 with fuzz 2.
applying patch /nix/store/ikaid93j686pf9sx8nsha8aw1my479jx-gnat-glibc234.patch
patching file gcc/ada/init.c
Hunk #1 succeeded at 561 (offset -18 lines).
patching file gcc/ada/s-osinte-linux.ads
Hunk #1 succeeded at 324 with fuzz 2 (offset -4 lines).
applying patch /nix/store/bqdcpm73hcngcsk8081ray23fznlah0h-libsanitizer-no-cyclades-9.patch
patching file libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
Hunk #1 succeeded at 358 (offset -7 lines).
patching file libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
Hunk #1 succeeded at 150 (offset -7 lines).
Hunk #2 succeeded at 444 (offset -21 lines).
Hunk #3 succeeded at 810 (offset -21 lines).
patching file libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
Hunk #1 succeeded at 950 (offset -90 lines).
Hunk #2 succeeded at 1294 (offset -90 lines).
fixing the `GLIBC_DYNAMIC_LINKER', `UCLIBC_DYNAMIC_LINKER', and `MUSL_DYNAMIC_LINKER' macros...
fixing `gcc/config/kfreebsd-gnu.h'...
fixing `gcc/config/knetbsd-gnu.h'...
fixing `gcc/config/kopensolaris-gnu.h'...
fixing `gcc/config/aarch64/aarch64-freebsd.h'...
fixing `gcc/config/aarch64/aarch64-linux.h'...
fixing `gcc/config/alpha/freebsd.h'...
fixing `gcc/config/alpha/linux-elf.h'...
fixing `gcc/config/arm/freebsd.h'...
fixing `gcc/config/arm/linux-eabi.h'...
fixing `gcc/config/arm/linux-elf.h'...
fixing `gcc/config/c6x/uclinux-elf.h'...
fixing `gcc/config/cris/linux.h'...
fixing `gcc/config/frv/linux.h'...
fixing `gcc/config/i386/dragonfly.h'...
fixing `gcc/config/i386/freebsd.h'...
fixing `gcc/config/i386/freebsd64.h'...
fixing `gcc/config/i386/gnu-user.h'...
fixing `gcc/config/i386/gnu-user64.h'...
fixing `gcc/config/i386/gnu.h'...
fixing `gcc/config/i386/kfreebsd-gnu.h'...
fixing `gcc/config/i386/kfreebsd-gnu64.h'...
fixing `gcc/config/i386/knetbsd-gnu64.h'...
fixing `gcc/config/i386/linux.h'...
fixing `gcc/config/i386/linux64.h'...
fixing `gcc/config/ia64/freebsd.h'...
fixing `gcc/config/ia64/linux.h'...
fixing `gcc/config/m32r/linux.h'...
fixing `gcc/config/m68k/linux.h'...
fixing `gcc/config/microblaze/linux.h'...
fixing `gcc/config/mips/gnu-user.h'...
fixing `gcc/config/mips/linux.h'...
fixing `gcc/config/mn10300/linux.h'...
fixing `gcc/config/nios2/linux.h'...
fixing `gcc/config/pa/pa-linux.h'...
fixing `gcc/config/rs6000/freebsd64.h'...
fixing `gcc/config/rs6000/linux.h'...
fixing `gcc/config/rs6000/linux64.h'...
fixing `gcc/config/rs6000/sysv4.h'...
fixing `gcc/config/rs6000/sysv4le.h'...
fixing `gcc/config/s390/linux.h'...
fixing `gcc/config/sh/linux.h'...
fixing `gcc/config/sparc/freebsd.h'...
fixing `gcc/config/sparc/linux.h'...
fixing `gcc/config/sparc/linux64.h'...
fixing `gcc/config/xtensa/linux.h'...
configuring
configure flags: --prefix=/nix/store/in5b5rn0r160n7c9rkl0ncvbdlnfr54k-gnat-6.5.0 --with-gmp-include=/nix/store/vzk1abw6m26x01bpbkibi7qrz0ll36pd-gmp-with-cxx-6.2.1-dev/include --with-gmp-lib=/nix/store/4l48ybgm682wr7s2m1bzr85ca51i3kgb-gmp-with-cxx-6.2.1/lib --with-mpfr-include=/nix/store/yjr9ywiqcgp7qb5d8a5krv4ng0vxn6ip-mpfr-4.1.0-dev/include --with-mpfr-lib=/nix/store/08hjii7xq8jrbxmpfypxw5dd2rm29n7s-mpfr-4.1.0/lib --with-mpc=/nix/store/v30rrgk0a30n9m30qv57zh76mbppxnd2-libmpc-1.2.1 --with-libelf=/nix/store/66zq4cxvbhdv4xaq8gah18qadxk7ddix-libelf-0.8.13 --with-native-system-header-dir=/nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include --program-prefix= --enable-lto --disable-libstdcxx-pch --without-included-gettext --with-system-zlib --enable-static --enable-languages=c\,ada --disable-multilib --enable-plugin --with-isl=/nix/store/2lmf1sz0iyfqshsv9hzcxx4b0b7ysbg6-isl-0.14.1 --enable-libada --with-specs=%\{\!fno-common:%\{\!fcommon:-fcommon\}\} --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /nix/store/47n5hzqpahs7yv84ia6cxp3jg9ca8r86-coreutils-9.0/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /nix/store/sppjn85p06m1il70kd05drg1j26cjxd3-gnused-4.8/bin/sed
checking for gawk... gawk
checking for libatomic support... yes
checking for libcilkrts support... yes
checking for libitm support... yes
checking for libsanitizer support... yes
checking for libvtv support... yes
checking for libmpx support... yes
checking for x86_64-unknown-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... yes
checking for x86_64-unknown-linux-gnu-gnatbind... no
checking for gnatbind... gnatbind
checking for x86_64-unknown-linux-gnu-gnatmake... no
checking for gnatmake... gnatmake
checking whether compiler driver understands Ada... yes
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... yes
checking for isl 0.16, 0.15, or deprecated 0.14... yes
checking for isl 0.16 or 0.15... no
*** This configuration is not supported in the following subdirectories:
gotools target-libgfortran target-libbacktrace target-libgo target-libffi target-libjava target-libobjc target-liboffloadmic target-boehm-gc
(Any other directories should still work fine.)
checking for default BUILD_CONFIG... bootstrap-debug
checking for --enable-vtable-verify... no
checking for bison... no
checking for byacc... no
checking for yacc... no
checking for bison... no
checking for gm4... no
checking for gnum4... no
checking for m4... no
checking for flex... no
checking for lex... no
checking for flex... no
checking for makeinfo... makeinfo
checking for expect... no
checking for runtest... no
checking for ar... (cached) ar
checking for x86_64-unknown-linux-gnu-ar... (cached) ar
checking for as... (cached) as
checking for x86_64-unknown-linux-gnu-as... (cached) as
checking for x86_64-unknown-linux-gnu-dlltool... no
checking for dlltool... no
checking for ld... (cached) ld
checking for x86_64-unknown-linux-gnu-ld... (cached) ld
checking for x86_64-unknown-linux-gnu-lipo... no
checking for lipo... no
checking for nm... (cached) nm
checking for x86_64-unknown-linux-gnu-nm... (cached) nm
checking for ranlib... (cached) ranlib
checking for x86_64-unknown-linux-gnu-ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for x86_64-unknown-linux-gnu-strip... (cached) strip
checking for x86_64-unknown-linux-gnu-windres... no
checking for windres... no
checking for x86_64-unknown-linux-gnu-windmc... no
checking for windmc... no
checking for objcopy... (cached) objcopy
checking for x86_64-unknown-linux-gnu-objcopy... (cached) objcopy
checking for objdump... (cached) objdump
checking for x86_64-unknown-linux-gnu-objdump... (cached) objdump
checking for readelf... (cached) readelf
checking for x86_64-unknown-linux-gnu-readelf... (cached) readelf
checking for x86_64-unknown-linux-gnu-cc... no
checking for cc... cc
checking for x86_64-unknown-linux-gnu-c++... x86_64-unknown-linux-gnu-c++
checking for x86_64-unknown-linux-gnu-gcc... x86_64-unknown-linux-gnu-gcc
checking for x86_64-unknown-linux-gnu-gcj... no
checking for gcj... no
checking for x86_64-unknown-linux-gnu-gfortran... no
checking for gfortran... no
checking for x86_64-unknown-linux-gnu-gccgo... no
checking for gccgo... no
checking for ar... no
checking for x86_64-unknown-linux-gnu-ar... no
checking for ar... ar
checking for as... no
checking for x86_64-unknown-linux-gnu-as... no
checking for as... as
checking for dlltool... no
checking for x86_64-unknown-linux-gnu-dlltool... no
checking for dlltool... no
checking for ld... no
checking for x86_64-unknown-linux-gnu-ld... no
checking for ld... ld
checking for lipo... no
checking for x86_64-unknown-linux-gnu-lipo... no
checking for lipo... no
checking for nm... no
checking for x86_64-unknown-linux-gnu-nm... no
checking for nm... nm
checking for objcopy... no
checking for x86_64-unknown-linux-gnu-objcopy... no
checking for objcopy... objcopy
checking for objdump... no
checking for x86_64-unknown-linux-gnu-objdump... no
checking for objdump... objdump
checking for ranlib... no
checking for x86_64-unknown-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for readelf... no
checking for x86_64-unknown-linux-gnu-readelf... no
checking for readelf... readelf
checking for strip... no
checking for x86_64-unknown-linux-gnu-strip... no
checking for strip... strip
checking for windres... no
checking for x86_64-unknown-linux-gnu-windres... no
checking for windres... no
checking for windmc... no
checking for x86_64-unknown-linux-gnu-windmc... no
checking for windmc... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... host tool
checking where to find the target gcc... just compiled
checking where to find the target gcj... host tool
checking where to find the target gfortran... host tool
checking where to find the target gccgo... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objcopy... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target readelf... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking where to find the target windmc... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
building
build flags: -j8 -l8 SHELL=/nix/store/0d3wgx8x6dxdb2cpnq105z23hah07z7l-bash-5.1-p16/bin/bash BUILD_SYSTEM_HEADER_DIR=/nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include SYSTEM_HEADER_DIR=/nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include NATIVE_SYSTEM_HEADER_DIR=/nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include LDFLAGS_FOR_BUILD=\ -Wl\,-L/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib\ -Wl\,-rpath\ -Wl\,/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib\ -Wl\,-dynamic-linker=/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/ld-linux-x86-64.so.2 LDFLAGS_FOR_TARGET=-Wl\,-rpath\,/nix/store/jxhfj6g4dknscn4rjg8xl8gi192n4m2m-gnat-6.5.0-lib/lib\ -Wl\,-L/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib\ -Wl\,-rpath\ -Wl\,/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib\ -Wl\,-dynamic-linker=/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/ld-linux-x86-64.so.2 CFLAGS_FOR_BUILD=-O2\ -I/nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include\ -B/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/\ -idirafter\ /nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include\ -idirafter\ /nix/store/d7q0qfm12hb59wj63wyjs0hrdhmmapfz-gcc-11.3.0/lib/gcc/x86_64-unknown-linux-gnu/11.3.0/include-fixed\ \ -Wl\,-L/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib\ -Wl\,-rpath\ -Wl\,/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib\ -Wl\,-dynamic-linker=/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/ld-linux-x86-64.so.2 CXXFLAGS_FOR_BUILD=-O2\ -I/nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include\ -B/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/\ -idirafter\ /nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include\ -idirafter\ /nix/store/d7q0qfm12hb59wj63wyjs0hrdhmmapfz-gcc-11.3.0/lib/gcc/x86_64-unknown-linux-gnu/11.3.0/include-fixed\ \ -Wl\,-L/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib\ -Wl\,-rpath\ -Wl\,/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib\ -Wl\,-dynamic-linker=/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/ld-linux-x86-64.so.2 FLAGS_FOR_BUILD=-O2\ -I/nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include\ -B/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/\ -idirafter\ /nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include\ -idirafter\ /nix/store/d7q0qfm12hb59wj63wyjs0hrdhmmapfz-gcc-11.3.0/lib/gcc/x86_64-unknown-linux-gnu/11.3.0/include-fixed\ \ -Wl\,-L/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib\ -Wl\,-rpath\ -Wl\,/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib\ -Wl\,-dynamic-linker=/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/ld-linux-x86-64.so.2 CFLAGS_FOR_TARGET=-O2\ -I/nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include\ -B/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/\ -idirafter\ /nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include\ -idirafter\ /nix/store/d7q0qfm12hb59wj63wyjs0hrdhmmapfz-gcc-11.3.0/lib/gcc/x86_64-unknown-linux-gnu/11.3.0/include-fixed\ -Wl\,-rpath\,/nix/store/jxhfj6g4dknscn4rjg8xl8gi192n4m2m-gnat-6.5.0-lib/lib\ -Wl\,-L/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib\ -Wl\,-rpath\ -Wl\,/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib\ -Wl\,-dynamic-linker=/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/ld-linux-x86-64.so.2 CXXFLAGS_FOR_TARGET=-O2\ -I/nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include\ -B/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/\ -idirafter\ /nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include\ -idirafter\ /nix/store/d7q0qfm12hb59wj63wyjs0hrdhmmapfz-gcc-11.3.0/lib/gcc/x86_64-unknown-linux-gnu/11.3.0/include-fixed\ -Wl\,-rpath\,/nix/store/jxhfj6g4dknscn4rjg8xl8gi192n4m2m-gnat-6.5.0-lib/lib\ -Wl\,-L/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib\ -Wl\,-rpath\ -Wl\,/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib\ -Wl\,-dynamic-linker=/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/ld-linux-x86-64.so.2 FLAGS_FOR_TARGET=-O2\ -I/nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include\ -B/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/\ -idirafter\ /nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include\ -idirafter\ /nix/store/d7q0qfm12hb59wj63wyjs0hrdhmmapfz-gcc-11.3.0/lib/gcc/x86_64-unknown-linux-gnu/11.3.0/include-fixed\ -Wl\,-rpath\,/nix/store/jxhfj6g4dknscn4rjg8xl8gi192n4m2m-gnat-6.5.0-lib/lib\ -Wl\,-L/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib\ -Wl\,-rpath\ -Wl\,/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib\ -Wl\,-dynamic-linker=/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/ld-linux-x86-64.so.2 BOOT_CFLAGS=-O2\ -I/nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include\ -B/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/\ -idirafter\ /nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include\ -idirafter\ /nix/store/d7q0qfm12hb59wj63wyjs0hrdhmmapfz-gcc-11.3.0/lib/gcc/x86_64-unknown-linux-gnu/11.3.0/include-fixed\ -Wl\,-rpath\,/nix/store/jxhfj6g4dknscn4rjg8xl8gi192n4m2m-gnat-6.5.0-lib/lib\ -Wl\,-L/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib\ -Wl\,-rpath\ -Wl\,/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib\ -Wl\,-dynamic-linker=/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/ld-linux-x86-64.so.2 BOOT_LDFLAGS=-O2\ -I/nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include\ -B/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/\ -idirafter\ /nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include\ -idirafter\ /nix/store/d7q0qfm12hb59wj63wyjs0hrdhmmapfz-gcc-11.3.0/lib/gcc/x86_64-unknown-linux-gnu/11.3.0/include-fixed\ -Wl\,-rpath\,/nix/store/jxhfj6g4dknscn4rjg8xl8gi192n4m2m-gnat-6.5.0-lib/lib\ -Wl\,-L/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib\ -Wl\,-rpath\ -Wl\,/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib\ -Wl\,-dynamic-linker=/nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/ld-linux-x86-64.so.2 LIMITS_H_TEST=true bootstrap
echo stage3 > stage_final
make[1]: Entering directory '/build/build'
make[2]: Entering directory '/build/build'
make[2]: Leaving directory '/build/build'
make[2]: Entering directory '/build/build'
Configuring stage 1 in ./intl
Configuring stage 1 in ./lto-plugin
configure: creating cache ./config.cache
checking whether make sets $(MAKE)... configure: creating cache ./config.cache
yes
checking for a BSD-compatible install... /nix/store/47n5hzqpahs7yv84ia6cxp3jg9ca8r86-coreutils-9.0/bin/install -c
checking whether NLS is requested... yes
checking build system type... checking for msgfmt... /nix/store/gqzplwy163p94sfy7l5sjgcml5fyshp0-gettext-0.21/bin/msgfmt
checking for gmsgfmt... /nix/store/gqzplwy163p94sfy7l5sjgcml5fyshp0-gettext-0.21/bin/msgfmt
checking for xgettext... x86_64-unknown-linux-gnu
checking host system type... /nix/store/gqzplwy163p94sfy7l5sjgcml5fyshp0-gettext-0.21/bin/xgettext
checking for msgmerge... x86_64-unknown-linux-gnu
checking target system type... /nix/store/gqzplwy163p94sfy7l5sjgcml5fyshp0-gettext-0.21/bin/msgmerge
x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /nix/store/47n5hzqpahs7yv84ia6cxp3jg9ca8r86-coreutils-9.0/bin/install -c
checking whether build environment is sane... checking for x86_64-unknown-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /nix/store/49vp3yp54fqliy7k8gvxsybd50l9a82f-gnugrep-3.7/bin/grep
checking for egrep... /nix/store/49vp3yp54fqliy7k8gvxsybd50l9a82f-gnugrep-3.7/bin/grep -E
checking for ANSI C header files... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... no
checking for memory.h... no
checking for strings.h... yes
yes
checking for inttypes.h... checking for a thread-safe mkdir -p... /nix/store/47n5hzqpahs7yv84ia6cxp3jg9ca8r86-coreutils-9.0/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for x86_64-unknown-linux-gnu-gcc... gcc
yes
checking for stdint.h... yes
checking for unistd.h... checking for C compiler default output file name... yes
checking for off_t... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... yes
checking for size_t... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... yes
checking for working alloca.h... none needed
checking dependency style of gcc... yes
checking for alloca... gcc3
checking how to run the C preprocessor... gcc -E
yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... checking for grep that handles long lines and -e... /nix/store/49vp3yp54fqliy7k8gvxsybd50l9a82f-gnugrep-3.7/bin/grep
checking for egrep... /nix/store/49vp3yp54fqliy7k8gvxsybd50l9a82f-gnugrep-3.7/bin/grep -E
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for working mmap... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking for string.h... yes
checking whether integer division by zero raises SIGFPE... no
checking for memory.h... no
checking for strings.h... yes
checking for inttypes.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
yes
checking for unsigned long long... checking for stdint.h... yes
checking for unistd.h... yes
checking for inttypes.h... yes
checking minix/config.h usability... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking minix/config.h presence... no
checking argz.h usability... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... no
checking argz.h presence... yes
checking for x86_64-unknown-linux-gnu-gcc... (cached) gcc
no
checking for argz.h... no
checking limits.h usability... checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... yes
checking limits.h presence... yes
checking for limits.h... yes
no
checking locale.h usability... checking whether gcc supports -Wall... yes
checking for -static-libgcc... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /nix/store/sppjn85p06m1il70kd05drg1j26cjxd3-gnused-4.8/bin/sed
checking for fgrep... /nix/store/49vp3yp54fqliy7k8gvxsybd50l9a82f-gnugrep-3.7/bin/grep -F
checking for ld used by gcc... yes
checking nl_types.h presence... ld
checking if the linker (ld) is GNU ld... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... yes
checking malloc.h presence... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for ld option to reload object files... -r
checking for x86_64-unknown-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... (cached) pass_all
checking for x86_64-unknown-linux-gnu-ar... ar
checking for x86_64-unknown-linux-gnu-strip... strip
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking command to parse nm output from gcc object... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) no
checking for unistd.h... (cached) yes
checking sys/param.h usability... ok
yes
checking sys/param.h presence... /build/gcc-6.5.0/lto-plugin/configure: line 7216: /usr/bin/file: No such file or directory
yes
checking for sys/param.h... yes
checking for dlfcn.h... checking for feof_unlocked... yes
checking for objdir... .libs
yes
checking for fgets_unlocked... checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for getc_unlocked... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking for getcwd... no
checking if gcc supports -c -o file.o... yes
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (ld) supports shared libraries... checking for getegid... yes
checking for geteuid... yes
checking whether -lc should be explicitly linked in... yes
checking for getgid... no
checking dynamic linker characteristics... yes
checking for getuid... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for int64_t... yes
checking for mempcpy... yes
checking for uint64_t... yes
checking for munmap... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
yes
checking for putenv... configure: updating cache ./config.cache
configure: creating ./config.status
yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
yes
config.status: executing libtool commands
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for __fsetlocking... yes
checking for iconv... yes
checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... no
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for aclocal... no
checking for autoconf... no
checking for autoheader... no
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.intl
config.status: creating config.h
config.status: executing default-1 commands
Configuring stage 1 in ./libdecnumber
configure: creating cache ./config.cache
checking whether make sets $(MAKE)... yes
checking for x86_64-unknown-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking for aclocal... no
checking for autoconf... no
checking for autoheader... no
checking whether gcc supports -W... yes
checking whether gcc supports -Wall... yes
checking whether gcc supports -Wwrite-strings... yes
checking whether gcc supports -Wstrict-prototypes... yes
checking whether gcc supports -Wmissing-prototypes... yes
checking whether gcc supports -Wold-style-definition... yes
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether gcc supports -Wcast-qual... yes
checking whether gcc supports -pedantic -Wlong-long... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /nix/store/49vp3yp54fqliy7k8gvxsybd50l9a82f-gnugrep-3.7/bin/grep
checking for egrep... /nix/store/49vp3yp54fqliy7k8gvxsybd50l9a82f-gnugrep-3.7/bin/grep -E
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... no
checking for memory.h... no
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for string.h... (cached) no
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
looking for a compliant stdint.h in stdint.h, checking for uintmax_t... yes
checking for uintptr_t... yes
checking for int_least32_t... yes
checking for int_fast32_t... yes
checking for uint64_t... yes
checking what to include in gstdint.h... stdint.h (already complete)
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking size of int... 4
checking size of long... 8
checking for ANSI C header files... (cached) no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for decimal floating point... bid
checking whether byte ordering is bigendian... no
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing gstdint.h commands
make[3]: Entering directory '/build/build/intl'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/build/intl'
make[3]: Entering directory '/build/build/libdecnumber'
source='../../gcc-6.5.0/libdecnumber/decNumber.c' object='decNumber.o' libtool=no gcc -I../../gcc-6.5.0/libdecnumber -I. -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -I../../gcc-6.5.0/libdecnumber -I. -c ../../gcc-6.5.0/libdecnumber/decNumber.c
In file included from /nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include/string.h:519,
from ../../gcc-6.5.0/libdecnumber/decNumber.c:177:
/nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include/bits/string_fortified.h:110:50: error: macro "__fortified_attr_access" requires 3 arguments, but only 1 given
In file included from /nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include/string.h:519,
from ../../gcc-6.5.0/libdecnumber/decNumber.c:177:
/nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include/bits/string_fortified.h:110: error: expected ',' or ';' before '__fortified_attr_access'
make[3]: *** [Makefile:191: decNumber.o] Error 1
make[3]: Leaving directory '/build/build/libdecnumber'
make[2]: *** [Makefile:8706: all-stage1-libdecnumber] Error 2
make[2]: Leaving directory '/build/build'
make[1]: *** [Makefile:21252: stage1-bubble] Error 2
make[1]: Leaving directory '/build/build'
make: *** [Makefile:21573: bootstrap] Error 2
error: builder for '/nix/store/983dhfb06fds2x1yp8zi060ybqgbshmf-gnat-6.5.0.drv' failed with exit code 2;
last 10 log lines:
> In file included from /nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include/string.h:519,
> from ../../gcc-6.5.0/libdecnumber/decNumber.c:177:
> /nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include/bits/string_fortified.h:110: error: expected ',' or ';' before '__fortified_attr_access'
> make[3]: *** [Makefile:191: decNumber.o] Error 1
> make[3]: Leaving directory '/build/build/libdecnumber'
> make[2]: *** [Makefile:8706: all-stage1-libdecnumber] Error 2
> make[2]: Leaving directory '/build/build'
> make[1]: *** [Makefile:21252: stage1-bubble] Error 2
> make[1]: Leaving directory '/build/build'
> make: *** [Makefile:21573: bootstrap] Error 2
For full logs, run 'nix log /nix/store/983dhfb06fds2x1yp8zi060ybqgbshmf-gnat-6.5.0.drv'.
error: 1 dependencies of derivation '/nix/store/9yjisi1bqzp11gjc2mq42bam60yzc100-gnat-wrapper-6.5.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/m8qqmsvwq85l0fc1lrh27bj35mls8fyk-gnat-11.3.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/lgsw4kb2nz1k4gfdi5smlb4nn7137xn4-gnat-wrapper-11.3.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/lni7alz1g5d8kvr8j9q4lp46xd5av0wc-coreboot-toolchain-i386-4.16.drv' failed to build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment