When trying to emerge gcc 4.3.2-r3 which became stable, emerge fails with message: cc1: error: unrecognized command line option "-Wno-overlength-strings" Reproducible: Always Steps to Reproduce: 1. emerge gcc Actual Results: x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -Wl,-O1 -o build/genchecksum \ build/genchecksum.o .././libiberty/libiberty.a build/genchecksum cc1-dummy > cc1-checksum.c x86_64-pc-linux-gnu-gcc -c -march=nocona -O2 -pipe -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libcpp/include -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libdecnumber/bid -I../libdecnumber cc1-checksum.c -o cc1-checksum.o cc1: error: unrecognized command line option "-Wno-overlength-strings" Expected Results: To finish emerging package. Similar bug that is marked fixed can be found at: http://bugs.gentoo.org/241604
Created attachment 187471 [details] output of emerge --info
Created attachment 187473 [details] build.log from failed emerge
Please don't add random people to CC if you cannot assign bugs yourself. In this case I did the arch testing to bring 4.3.2-r3 stable on amd64 and so did others on the team without issues. thx.
FWIW some people think that it could be related to reiser4 : http://forums.gentoo.org/viewtopic.php?p=5630306#5630306
The resolution is to use different filesystem than reiser4 for portage tmp directory. I used ext2 and gcc emerged nicely.