libgomp's ./configure, and others, ignore --disable-werror and use -Werror in some ./configure tests.
-Wstack-protector and -D_FORTIFY_SOURCE=2 can cause warnings in some of these ./configure tests, causing them to fail when they really shouldn't. This would also affect any package that also uses -Werror this way. I haven't looked into this, but it's something we should pay attention to in every package. Every package, including upgrades, should be checked for -Werror, and see if it causes any problems. The failed ./configure test would usually cause the package to use its own version of a libc function, instead of the one in libc. It might be an idea to have a shell script like: tar xf package.tar.bz2 cd package find . -type f | xargs grep -n -E 'Werror|mktemp|tmpnam' When unpacking any package. robert
pgpM2knhiHDCG.pgp
Description: PGP signature
-- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page