http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55734
--- Comment #11 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2012-12-18 22:41:13 UTC --- Teresa, I think this is what you were referring to, and the reason for my original patch: houston:/build/trunkboot$ ./install/bin/gcc a.c -fprofile-generate /home/build/trunkboot/install/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.8.0/libgcov.a(_gcov.o): In function `gcov_histo_index': libgcov.c:(.text+0x213): undefined reference to `clz_hwi' /home/build/trunkboot/install/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.8.0/libgcov.a(_gcov.o): In function `__gcov_read_summary': libgcov.c:(.text+0x7f3): undefined reference to `popcount_hwi' collect2: error: ld returned 1 exit status