All, I have the same problem. Following the Riccardo's lead, I removed all of the objdirs in /src/external/gpl3/binults. I changed in to the lib directory and executed the following:
$ make cleandir && make obj && make dependall USETOOLS=never && make install After much output I got the following error: ar crs libbfd_pic.a `NM=nm lorder archive.pico archures.pico bfd.pico bfdio.pico bfdwin.pico cache.pico coffgen.pico corefile.pico format.pico init.pico lib_bfd.pico opncls.pico reloc.pico section.pico syms.pico targets.pico hash.pico linker.pico srec.pico binary.pico tekhex.pico ihex.pico stabs.pico stab-syms.pico merge.pico dwarf2.pico simple.pico compress.pico verilog.pico elf64-x86-64.pico elf-ifunc.pico elf-nacl.pico elf64.pico elf.pico elflink.pico elf-attrs.pico elf-strtab.pico elf-eh-frame.pico dwarf1.pico elf32-i386.pico elf-vxworks.pico elf32.pico i386netbsd.pico aout32.pico coff-i386.pico cofflink.pico pei-i386.pico peigen.pico pei-x86_64.pico pex64igen.pico elf64-gen.pico elf32-gen.pico cpu-i386.pico cpu-l1om.pico cpu-k1om.pico netbsd-core.pico archive64.pico | tsort -q` make[2]: don't know how to make /home/NetBSD/src/lib/libz/libz.so. Stop make[2]: stopped in /home/NetBSD/src/external/gpl3/binutils/lib/libbfd *** Error code 2 Aran From: Riccardo Mottola <[email protected]> Subject: Re: build broken -groff and c++ compiler Date: Mon, 07 Oct 2013 18:59:35 +0200 > > If I run make distclean and then "cvs -q update -dPA" in > /usr/src/external/gpl3/binutils > I get no output, that menas my source dir is clean > > I went manually into /usr/src/external/gpl3/binutils/lib and typed: > make cleandir && make obj && make dependall USETOOLS=never && make install > > for lib, usr.bin, usr.sbin > > installation looks fine, for example "as": > # install /usr/bin/as > install -N /usr/src/etc -c -r -o root -g wheel -m 555 as /usr/bin/as > > thus, binutils installed now. > > and now, the hello.cc works! Given that, I'll relaunch a build of distribution > and see! it looks more promising now. > > I still have a problem with objective-c, but let's first see if a full > distirbution build finishes and helps or not. I'll give updates tomorrow. > > Thanks for now > Riccardo >
