Attempting a cross build of netbsd-9 on amd64 fails for me while
building the tools with
[...]
# link dtc/dtc
cc -O
-I/u/sources/netbsd-9/src/tools/dtc/../../sys/external/bsd/libfdt/dist
-I/u/netbsd-builds/9/evbarm/tools/include
-I/u/netbsd-builds/9/evbarm/tools/include/nbinclude
-I/u/netbsd-builds/9/evbarm/tools/include/compat
-I/u/sources/netbsd-9/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1
-D_FILE_OFFSET_BITS=64
-I/u/sources/netbsd-9/src/tools/dtc/../../external/gpl2/dtc/usr.bin/dtc
-I/u/sources/netbsd-9/src/external/gpl2/dtc/dist
-I/u/sources/netbsd-9/src/sys/external/bsd/libfdt/dist -o dtc
checks.lo data.lo dtc.lo flattree.lo fstree.lo livetree.lo srcpos.lo
treesource.lo util.lo dtc-lexer.lo dtc-parser.lo
-L/var/obj/netbsd-build-objects/9/evbarm/tools/libfdt -lfdt
-L/u/netbsd-builds/9/evbarm/tools/lib -lnbcompat -lrt -lz
ld: dtc-parser.lo:(.bss+0x0): multiple definition of `yylloc';
dtc-lexer.lo:(.bss+0x0): first defined here
*** Failed target: dtc
[...]
Is this a known issue?
Cheerio,
Hauke