=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> 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 ===> Installing dependencies for nios2-gcc41-4.1.2nb2 ========================================================================== 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) ========================================================================== ========================================================================== The following variables will affect the build process of this package, nios2-gcc41-4.1.2nb2. Their current value is shown below: * CROSSBASE = /usr/pkg/cross You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency bison>=1.0: found bison-3.0.4nb2 => Tool dependency gmake>=3.81: found gmake-4.1nb1 => Tool dependency perl>=5.0: found perl-5.22.0 => Tool dependency checkperms>=1.1: found checkperms-1.11 => Build dependency gtexinfo-[0-9]*: found gtexinfo-6.0nb2 => Build dependency cwrappers>=20150314: found cwrappers-20150707 => Full dependency nios2-binutils-[0-9]*: found nios2-binutils-2.24nb2 ===> Overriding tools for nios2-gcc41-4.1.2nb2 ===> Extracting for nios2-gcc41-4.1.2nb2 (cd /scratch/cross/nios2-gcc41/work; tar zxf /bulk-data/distfiles/nios2_gnu_gcc4_13.0.gz gcc-4.1 ) ===> Patching for nios2-gcc41-4.1.2nb2 => Applying pkgsrc patches for nios2-gcc41-4.1.2nb2 => Verifying /bulk-data/pkgsrc/cross/nios2-gcc41/patches/patch-aa => Applying pkgsrc patch /bulk-data/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.1 2013/11/16 07:41:00 mef 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 /bulk-data/pkgsrc/cross/nios2-gcc41/patches/patch-gcc_config_nios2_nios2-proto.h => Applying pkgsrc patch /bulk-data/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 /bulk-data/pkgsrc/cross/nios2-gcc41/patches/patch-gcc_config_nios2_nios2.c => Applying pkgsrc patch /bulk-data/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 /bulk-data/pkgsrc/cross/nios2-gcc41/patches/patch-gcc_doc_invoke.texi => Applying pkgsrc patch /bulk-data/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 /bulk-data/pkgsrc/cross/nios2-gcc41/patches/patch-gcc_toplev.h => Applying pkgsrc patch /bulk-data/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 /bulk-data/pkgsrc/cross/nios2-gcc41/patches/patch-libjava_classpath_script_loc => Applying pkgsrc patch /bulk-data/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 (cd /scratch/cross/nios2-gcc41/work/gcc-4.1; /bin/mv gcc/Makefile.in gcc/Makefile.in.orig; /usr/bin/sed '-e s/@@DOC@@//' '-e s/@@INSTALL_HTML@@//' '-e s/@@INSTALL_PDF@@//' gcc/Makefile.in.orig > gcc/Makefile.in; ) ===> Creating toolchain wrappers for nios2-gcc41-4.1.2nb2 ===> Configuring for nios2-gcc41-4.1.2nb2 => 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 => Fixing locale directory references. INFO: [subst.mk:pkglocaledir] Nothing changed in ./Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./boehm-gc/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./boehm-gc/include/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./fastjar/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./fixincludes/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./gcc/ada/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./gcc/testsuite/treelang/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./gnattools/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libada/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libffi/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libffi/include/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libffi/testsuite/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libgfortran/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libiberty/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libiberty/testsuite/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/doc/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/doc/api/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/examples/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/external/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/external/sax/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/external/w3c_dom/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/include/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/lib/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/native/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/native/fdlibm/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/native/jawt/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/native/jni/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/native/jni/classpath/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/native/jni/gtk-peer/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/native/jni/java-io/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/native/jni/java-lang/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/native/jni/java-net/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/native/jni/java-nio/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/native/jni/java-util/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/native/jni/midi-alsa/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/native/jni/midi-dssi/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/native/jni/qt-peer/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/native/jni/xmlj/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/native/target/Linux/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/native/target/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/native/target/generic/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/resource/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/classpath/scripts/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/gcj/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/include/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/libltdl/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libjava/testsuite/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libmudflap/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libmudflap/testsuite/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libobjc/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libssp/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libstdc++-v3/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libstdc++-v3/include/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libstdc++-v3/libmath/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libstdc++-v3/libsupc++/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libstdc++-v3/po/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libstdc++-v3/src/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./libstdc++-v3/testsuite/Makefile.in. INFO: [subst.mk:pkglocaledir] Nothing changed in ./zlib/Makefile.in. => Checking for portability problems in extracted files creating cache ./config.cache checking host system type... Invalid configuration `earmv7hf--netbsd': machine `earmv7hf-' not recognized checking target system type... nios2-unknown-elf checking build system type... Invalid configuration `earmv7hf--netbsd': machine `earmv7hf-' not recognized checking for a BSD compatible install... /usr/bin/install -c -o pbulkXXX -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 -Wl,-R/usr/pkg/lib) works... yes checking whether the C compiler (gcc -O2 -g -DTARGET_SYSTEM_ROOT=0 -DTARGET_SYSTEM_ROOT_RELOCATABLE -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 earmv7hf--netbsd-gnatbind... no 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... /scratch/cross/nios2-gcc41/work/.tools/bin/bison checking for gm4... gm4 checking for flex... flex checking for flex... flex checking for makeinfo... /scratch/cross/nios2-gcc41/work/.tools/bin/makeinfo checking for expect... no checking for runtest... no checking for earmv7hf--netbsd-ar... no checking for ar... ar checking for earmv7hf--netbsd-as... no checking for as... as checking for earmv7hf--netbsd-dlltool... no checking for dlltool... no checking for earmv7hf--netbsd-ld... no checking for ld... ld checking for earmv7hf--netbsd-lipo... no checking for lipo... no checking for earmv7hf--netbsd-nm... no checking for nm... nm checking for earmv7hf--netbsd-ranlib... no checking for ranlib... ranlib checking for earmv7hf--netbsd-strip... no checking for strip... strip checking for earmv7hf--netbsd-windres... no checking for windres... no checking for earmv7hf--netbsd-objcopy... no checking for objcopy... objcopy checking for earmv7hf--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 test: nios2-unknown-elf: unexpected operator checking for nios2-elf-gcc... no test: nios2-unknown-elf: unexpected operator test: nios2-unknown-elf: unexpected operator checking for nios2-elf-c++... no test: nios2-unknown-elf: unexpected operator checking for nios2-elf-g++... no test: nios2-unknown-elf: unexpected operator checking for nios2-elf-cxx... no test: nios2-unknown-elf: unexpected operator checking for nios2-elf-gxx... no test: nios2-unknown-elf: unexpected operator test: nios2-unknown-elf: unexpected operator checking for nios2-elf-dlltool... no test: nios2-unknown-elf: unexpected operator test: nios2-unknown-elf: unexpected operator checking for nios2-elf-gcc... no test: nios2-unknown-elf: unexpected operator checking for nios2-elf-gcj... no test: nios2-unknown-elf: unexpected operator test: nios2-unknown-elf: unexpected operator checking for nios2-elf-gfortran... no test: nios2-unknown-elf: unexpected operator test: nios2-unknown-elf: unexpected operator checking for nios2-elf-ld... nios2-elf-ld checking for nios2-elf-lipo... no test: nios2-unknown-elf: unexpected operator test: nios2-unknown-elf: unexpected operator 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 test: nios2-unknown-elf: unexpected operator test: nios2-unknown-elf: unexpected operator 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