On 7 Oct, 2013, at 08:19 , Paul Goyette <[email protected]> wrote: > With sources updated on 2013-10-05 at 00:01:55 UTC > > # compile libopcodes/ppc-dis.pico > /build/netbsd-local/tools/x86_64/evbppc64/bin/powerpc64--netbsd-gcc -O2 > -std=gnu99 -Werror --sysroot=/build/netbsd-local/dest/evbppc64 > -I/build/netbsd-local/src/external/gpl3/binutils/lib/libopcodes/arch/powerpc64 > > -I/build/netbsd-local/src/external/gpl3/binutils/lib/libopcodes/../libbfd/arch/powerpc64 > -I/build/netbsd-local/src/external/gpl3/binutils/dist/include -I. > -I/build/netbsd-local/src/external/gpl3/binutils/dist/bfd -DARCH_rs6000 > -DARCH_powerpc -c -fPIC > /build/netbsd-local/src/external/gpl3/binutils/dist/opcodes/ppc-dis.c -o > ppc-dis.pico > /build/netbsd-local/src/external/gpl3/binutils/dist/opcodes/ppc-dis.c: In > function 'powerpc_init_dialect': > /build/netbsd-local/src/external/gpl3/binutils/dist/opcodes/ppc-dis.c:284:10: > error: 'bfd_mach_ppc_e5500' undeclared (first use in this function) > /build/netbsd-local/src/external/gpl3/binutils/dist/opcodes/ppc-dis.c:284:10: > note: each undeclared identifier is reported only once for each function it > appears in > /build/netbsd-local/src/external/gpl3/binutils/dist/opcodes/ppc-dis.c:291:10: > error: 'bfd_mach_ppc_e6500' undeclared (first use in this function) > /build/netbsd-local/src/external/gpl3/binutils/dist/opcodes/ppc-dis.c:302:10: > error: 'bfd_mach_ppc_vle' undeclared (first use in this function) > *** [ppc-dis.pico] Error code 1 > *** BUILD ABORTED ***
FWIW, here's a macppc64 build with sources updated at 2013-10-13 06:50 UTC. I can't quite figure out why this is happening. The build-generated bfd.h which includes those definitions also includes a bunch of other definitions which this compile does not find missing. The missing values are for quite recent ppc CPUs, is there another, older bfd.h hiding somewhere? # compile libopcodes/ppc-dis.pico /build/macppc64/obj/tooldir.NetBSD-6.99.24-amd64/bin/powerpc64--netbsd-gcc -O2 -std=gnu99 -Werror --sysroot=/build/macppc64/obj/destdir.macppc -I/usr/src/external/gpl3/binutils/lib/libopcodes/arch/powerpc64 -I/usr/src/external/gpl3/binutils/lib/libopcodes/../libbfd/arch/powerpc64 -I/usr/src/external/gpl3/binutils/dist/include -I. -I/usr/src/external/gpl3/binutils/dist/bfd -DARCH_rs6000 -DARCH_powerpc -c -fPIC /usr/src/external/gpl3/binutils/dist/opcodes/ppc-dis.c -o ppc-dis.pico /usr/src/external/gpl3/binutils/dist/opcodes/ppc-dis.c: In function 'powerpc_init_dialect': /usr/src/external/gpl3/binutils/dist/opcodes/ppc-dis.c:284:10: error: 'bfd_mach_ppc_e5500' undeclared (first use in this function) /usr/src/external/gpl3/binutils/dist/opcodes/ppc-dis.c:284:10: note: each undeclared identifier is reported only once for each function it appears in /usr/src/external/gpl3/binutils/dist/opcodes/ppc-dis.c:291:10: error: 'bfd_mach_ppc_e6500' undeclared (first use in this function) /usr/src/external/gpl3/binutils/dist/opcodes/ppc-dis.c:302:10: error: 'bfd_mach_ppc_vle' undeclared (first use in this function) *** [ppc-dis.pico] Error code 1 nbmake[6]: stopped in /usr/src/external/gpl3/binutils/lib/libopcodes Dennis Ferguson
