The mii-diag ebuild does no error checking at all. Despite the fact that it doesn't build and doesn't install, it never dies so it just cruises straight on through.
Okay, I fixed the mii-diag 2.7 ebuild to (1) build on gcc-3.3, (2) do error checking. I also added the 2.9 ebuild while in the directory...