=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. => Checksum SHA1 OK for nios2_gnu_gcc4_13.0.gz => Checksum RMD160 OK for nios2_gnu_gcc4_13.0.gz => Checksum SHA512 OK for nios2_gnu_gcc4_13.0.gz ===> Installing dependencies for nios2-gcc41-4.1.2nb5 ========================================================================== The supported build options for nios2-gcc41 are: doc sysroot The currently selected options are: sysroot You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.nios2-gcc (not defined) ========================================================================== => Tool dependency bison>=1.0: found bison-3.2.4 => Tool dependency gmake>=3.81: found gmake-4.2.1nb1 => Tool dependency perl>=5.0: found perl-5.28.2 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency gtexinfo-[0-9]*: found gtexinfo-6.5nb3 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency nios2-binutils-[0-9]*: found nios2-binutils-2.24nb3 ===> Overriding tools for nios2-gcc41-4.1.2nb5 ===> Extracting for nios2-gcc41-4.1.2nb5 (cd /tmp/cross/nios2-gcc41/work; tar zxf /amd/pkgsrc/CHROOT/P/pkgsrc/distfiles/nios2_gnu_gcc4_13.0.gz gcc-4.1 ) ===> Patching for nios2-gcc41-4.1.2nb5 => Applying pkgsrc patches for nios2-gcc41-4.1.2nb5 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/cross/nios2-gcc41/patches/patch-aa => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/cross/nios2-gcc41/patches/patch-aa Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-aa,v 1.2 2019/06/08 10:53:29 rillig Exp $ | |# |# (1) craft FPBIT_FUNCS and DPBIT_FUNCS lists to avoid routine collision |# against NetBSD softfloat implementation. Following twelve are to |# be eliminated; |# _addsub_df.o _addsub_sf.o _df_to_sf.o _df_to_si.o |# _div_df.o _div_sf.o _mul_df.o _mul_sf.o _sf_to_df.o _sf_to_si.o |# _si_to_df.o _si_to_sf.o |# (2) To swith with and without documents, put @@VAR@@ type words. | |--- gcc/Makefile.in.orig 2013-06-14 06:32:52.000000000 +0900 |+++ gcc/Makefile.in 2013-10-22 18:50:44.000000000 +0900 -------------------------- Patching file gcc/Makefile.in using Plan A... Hunk #1 succeeded at 1062. Hunk #2 succeeded at 1216. Hunk #3 succeeded at 3655. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/cross/nios2-gcc41/patches/patch-gcc_config_nios2_nios2-proto.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/cross/nios2-gcc41/patches/patch-gcc_config_nios2_nios2-proto.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_config_nios2_nios2-proto.h,v 1.1 2013/11/16 07:41:00 mef Exp $ | |Correction of prototype declaration. |This was origin of segmentation fault at compiling crtstuff.c |on 64bit machine, thanks nisimura@ | |diff --git a/gcc-4.1/gcc/config/nios2/nios2-protos.h b/gcc-4.1/gcc/config/nios2/nios2-protos.h |index 7f72eaa..2b7db5d 100644 |--- a/gcc-4.1/gcc/config/nios2/nios2-protos.h |+++ gcc/config/nios2/nios2-protos.h -------------------------- Patching file gcc/config/nios2/nios2-protos.h using Plan A... Hunk #1 succeeded at 35. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/cross/nios2-gcc41/patches/patch-gcc_config_nios2_nios2.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/cross/nios2-gcc41/patches/patch-gcc_config_nios2_nios2.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_config_nios2_nios2.c,v 1.1 2013/11/16 07:41:00 mef Exp $ | |Move prototype to nios2-proto.h, thanks nisimura@ | |diff --git a/gcc-4.1/gcc/config/nios2/nios2.c b/gcc-4.1/gcc/config/nios2/nios2.c |index f8cdb9d..fafa968 100644 |--- a/gcc-4.1/gcc/config/nios2/nios2.c |+++ gcc/config/nios2/nios2.c -------------------------- Patching file gcc/config/nios2/nios2.c using Plan A... Hunk #1 succeeded at 84. Hunk #2 succeeded at 2359. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/cross/nios2-gcc41/patches/patch-gcc_doc_invoke.texi => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/cross/nios2-gcc41/patches/patch-gcc_doc_invoke.texi Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_doc_invoke.texi,v 1.1 2013/11/16 07:41:00 mef Exp $ | |wip/nios2-gcc/work/gcc-4.1/gcc/doc/invoke.texi:1078: I can't find file `'. | |--- gcc/doc/invoke.texi.orig 2013-06-14 06:32:55.000000000 +0900 |+++ gcc/doc/invoke.texi 2013-11-09 10:31:35.000000000 +0900 -------------------------- Patching file gcc/doc/invoke.texi using Plan A... Hunk #1 succeeded at 1075. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/cross/nios2-gcc41/patches/patch-gcc_toplev.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/cross/nios2-gcc41/patches/patch-gcc_toplev.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_toplev.h,v 1.1 2014/09/10 12:13:06 joerg Exp $ | |--- gcc/toplev.h.orig 2013-06-13 21:33:10.000000000 +0000 |+++ gcc/toplev.h -------------------------- Patching file gcc/toplev.h using Plan A... Hunk #1 succeeded at 171. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/cross/nios2-gcc41/patches/patch-libjava_classpath_script_loc => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/cross/nios2-gcc41/patches/patch-libjava_classpath_script_loc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libjava_classpath_script_loc,v 1.1 2013/11/16 07:41:00 mef Exp $ | |portablily check | |--- libjava/classpath/scripts/loc.orig 2013-06-14 06:33:15.000000000 +0900 |+++ libjava/classpath/scripts/loc 2013-11-08 09:55:51.000000000 +0900 -------------------------- Patching file libjava/classpath/scripts/loc using Plan A... Hunk #1 succeeded at 19. Hunk #2 succeeded at 27. done ===> Creating toolchain wrappers for nios2-gcc41-4.1.2nb5 ===> Configuring for nios2-gcc41-4.1.2nb5 => Substituting "nios" in gcc/Makefile.in => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Checking for portability problems in extracted files creating cache ./config.cache checking host system type... x86_64--netbsd checking target system type... nios2-unknown-elf checking build system type... x86_64--netbsd checking for a BSD compatible install... /usr/bin/install -c -o makoto -g users checking whether ln works... yes checking whether ln -s works... yes checking for gcc... gcc checking whether the C compiler (gcc -O2 -g -DTARGET_SYSTEM_ROOT=0 -DTARGET_SYSTEM_ROOT_RELOCATABLE -D_FORTIFY_SOURCE=2 -Wl,-R/usr/pkg/lib) works... yes checking whether the C compiler (gcc -O2 -g -DTARGET_SYSTEM_ROOT=0 -DTARGET_SYSTEM_ROOT_RELOCATABLE -D_FORTIFY_SOURCE=2 -Wl,-R/usr/pkg/lib) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for gnatbind... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16 checking for correct version of gmp.h... no *** This configuration is not supported in the following subdirectories: target-libssp target-libmudflap target-libffi target-boehm-gc target-zlib target-libjava target-libada gnattools target-libstdc++-v3 target-libgfortran zlib fastjar target-libobjc (Any other directories should still work fine.) checking for bison... /usr/pkg/bin/bison -y checking for bison... /tmp/cross/nios2-gcc41/work/.tools/bin/bison checking for gm4... gm4 checking for flex... flex checking for flex... flex checking for makeinfo... /tmp/cross/nios2-gcc41/work/.tools/bin/makeinfo checking for expect... no checking for runtest... no checking for x86_64--netbsd-ar... no checking for ar... ar checking for x86_64--netbsd-as... no checking for as... as checking for x86_64--netbsd-dlltool... no checking for dlltool... no checking for x86_64--netbsd-ld... no checking for ld... ld checking for x86_64--netbsd-lipo... no checking for lipo... no checking for x86_64--netbsd-nm... no checking for nm... nm checking for x86_64--netbsd-ranlib... no checking for ranlib... ranlib checking for x86_64--netbsd-strip... no checking for strip... strip checking for x86_64--netbsd-windres... no checking for windres... no checking for x86_64--netbsd-objcopy... no checking for objcopy... objcopy checking for x86_64--netbsd-objdump... no checking for objdump... objdump checking for nios2-elf-ar... nios2-elf-ar checking for nios2-elf-as... nios2-elf-as checking for nios2-elf-cc... no checking for nios2-elf-gcc... no checking for nios2-elf-c++... no checking for nios2-elf-g++... no checking for nios2-elf-cxx... no checking for nios2-elf-gxx... no checking for nios2-elf-dlltool... no checking for nios2-elf-gcc... no checking for nios2-elf-gcj... no checking for nios2-elf-gfortran... no checking for nios2-elf-ld... nios2-elf-ld checking for nios2-elf-lipo... no checking for nios2-elf-nm... nios2-elf-nm checking for nios2-elf-objdump... nios2-elf-objdump checking for nios2-elf-ranlib... nios2-elf-ranlib checking for nios2-elf-strip... nios2-elf-strip checking for nios2-elf-windres... no checking where to find the target ar... pre-installed checking where to find the target as... pre-installed checking where to find the target cc... just compiled checking where to find the target c++... pre-installed checking where to find the target c++ for libstdc++... pre-installed checking where to find the target dlltool... pre-installed checking where to find the target gcc... just compiled checking where to find the target gcj... pre-installed checking where to find the target gfortran... pre-installed checking where to find the target ld... pre-installed checking where to find the target lipo... pre-installed checking where to find the target nm... pre-installed checking where to find the target objdump... pre-installed checking where to find the target ranlib... pre-installed checking where to find the target strip... pre-installed checking where to find the target windres... pre-installed checking whether to enable maintainer-specific portions of Makefiles... no checking if symbolic links between directories work... yes updating cache ./config.cache creating ./config.status creating Makefile