On the lantank we see the following error when merging net-tools. libflash.c:(.text+0x7c4): undefined reference to `inb' libflash.c:(.text+0x93c): undefined reference to `outl' libflash.c:(.text+0x940): undefined reference to `inb' libflash.c:(.text+0xb18): undefined reference to `outl' libflash.c:(.text+0xb1c): undefined reference to `outb' libflash.c:(.text+0xb40): undefined reference to `inb' libflash.o: In function `do_cmd': libflash.c:(.text+0xbf8): undefined reference to `outl' libflash.c:(.text+0xbfc): undefined reference to `outb' collect2: ld returned 1 exit status make[1]: *** [ne2k-pci-diag] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-tools-1.60-r12/work/net-tools-1.60/ethe rcard-diag/pub/diag' make: *** [most] Error 2 make: Leaving directory `/var/tmp/portage/net-tools-1.60-r12/work/net-tools-1.60/etherca rd-diag' !!! ERROR: sys-apps/net-tools-1.60-r12 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile net-tools-1.60-r12.ebuild, line 56: Called die !!! emake ethercard-diag failed !!! If you need support, post the topmost build error, and the call stack if relevant.
*** Bug 156812 has been marked as a duplicate of this bug. ***
superh wrongly includes sys/io.h i think ... that's how net-tools knows whether to build those binaries
glibc no longer installs sys/io.h for superh