When building hwinfo-13.0, it uses the gcc option -Wno-pointer-sign which was only introduced with gcc4. I don't get the error myself, as I have gcc-4.1.1 but I verified that it chooses that option to be used. Snipet from "emerge hwinfo": gcc -c -Wall -Wno-pointer-sign -O2 -pipe -g -fPIC -march=pentium4 -O2 -fomit-frame-pointer -pipe And here's a link to see where the actual error "in action": http://forums.gentoo.org/viewtopic-t-485785-highlight-.html
/me kicks upstream. it would be nice if they documented things like that...
Created attachment 93674 [details, diff] files/hwinfo-13.0-makefile-fixes.patch uncomment the following existing line in the ebuild: EPATCH_OPTS="-p1 -d ${S}" epatch ${FILESDIR}/${P}-makefile-fixes.patch This fixes the compilation problem under gcc3
*** Bug 148241 has been marked as a duplicate of this bug. ***
This is especially important on hardened as gcc4 is not yet available on hardened systems due to problems.
fixed in cvs.