I'm using hardened x86 stable Gentoo system (2.6.26-hardened-r9) and emerging of net-firewall/ipset-2.4.7 fails with error: cc1: error: unrecognized command line option "-Wno-missing-field-initializers" make: *** [ipset.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [ipset_ipmap.o] Error 1 emerge --info and build.log in attachments
Created attachment 182876 [details] emerge --info
Created attachment 182878 [details] build log
This bug is caused by old compiler (gcc-3.4.6) which does not understands -Wno-missing-field-initializers. This commit introduced this breakage: http://svn.netfilter.org/cgi-bin/viewcvs.cgi/trunk/ipset/Makefile?rev=7576&view=diff&r1=7576&r2=7575&p1=trunk/ipset/Makefile&p2=/trunk/ipset/Makefile Probably we could filter this but I still have not tested if it works.
Thank you for report Aleksey. I've disabled warnings with sed in 2.4.7 version and using NO_EXTRA_WARN_FLAGS=yes make option in 2.4.8. Fixed.
*** Bug 260921 has been marked as a duplicate of this bug. ***