the following error is shown: cc1: warnings being treated as errors util.c: In function ‘default_failure_notify’: util.c:934: error: ignoring return value of ‘write’, declared with attribute warn_unused_result util.c:935: error: ignoring return value of ‘write’, declared with attribute warn_unused_result make[2]: *** [util.o] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .deps/MemPool.Tpo .deps/MemPool.Po mv -f .deps/ntlmauth.Tpo .deps/ntlmauth.Po make[2]: Leaving directory `/var/tmp/portage/net-proxy/squid-3.0.7/work/squid-3.0.STABLE7/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-proxy/squid-3.0.7/work/squid-3.0.STABLE7/lib' make: *** [all-recursive] Error 1 the ubuntu guys also seem to hit this error: http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg920376.html all in-tree versions of squid-3.0* are affected removing / disabling -D_FORTIFY_SOURCE=2 "fixed" it for me gcc-version used was: gcc-4.3.1; glibc-2.7
https://hardened.gentooexperimental.org/secure/ticket/40 https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/248318 make[1]: Leaving directory `/var/tmp/portage/net-proxy/squid-3.0.7/work/squid-3.0.STABLE7'[[BR]] Source compiled.[[BR]] gcc version 4.3.1 (Gentoo Hardened 4.3.1-r2 p1.1, builtin ssp,fortify, pie-10.0.2)[[BR]] with Glibc 2.8 and b8856-updated.patch
Created attachment 161780 [details, diff] Working patch
Fixed by upstream in version 3.0.STABLE8.