It fails to complie "sys-devel/gettext-0.17-r1".
Created attachment 226189 [details] build.log
Created attachment 226191 [details] emerge --info=sys-devel/gettext-0.17-r1
things build fine for me. do you have crap in /usr/local/include/ ? post your config.log from the gettext-tools/ build dir as an attachment run the command in the gettext-tools/gnulib-lib/ build dir: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -march=athlon64 -O2 -pipe -E -dD acl.c -fPIC -DPIC -o acl.i then post the acl.i file as an attachment