When building libselinux-1.18, gcc/binutils errors out with warnings about attributes not being available. Apparently someone's run into and fixed this bug over at Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=281464 The fix is rather trivial, I'll attach the relevent patch -- I'd appreciate it if it could be moved into the ebuild. Reproducible: Always Steps to Reproduce: 1. emerge libselinux 2. Boom...gcc/binutils crap out. 3.
Created attachment 44976 [details, diff] Fix to libselinux to get it to build on mips/mipsel platforms.
Technically mips is not a supported selinux arch in Gentoo, so we wont be adding this to the ebuild. However, I'll check with the Debian guys and try to get this upstream.