Created attachment 481263 [details] Build failure I tried doing a profiledbuild with latest mozilla-central. I get a build failure when trying to link nsIFileEnumerator (I've attached the error). The issue seems to be that the objects in libxpcomglue_s are compiled with -fprofile-generate, but the linking is done without (as a side-effect of bug 542504). The GCC manual states "You must use ‘-fprofile-generate’ both when compiling and when linking your program."
Urgh, and, of course - I meant to say "--enable-tests" ;)
I guess we should fix it the way I said in bug 542504 comment 3 instead. :-/
Created attachment 521477 [details] [diff] [review] Don't build SIMPLE_PROGRAMS during MOZ_PROFILE_GENERATE pass
Created attachment 521543 [details] [diff] [review] Don't build SIMPLE_PROGRAMS during MOZ_PROFILE_GENERATE pass The previous iteration led to a failure to build on windows due to xpcom/tests/windows/Makefile.in including config.mk before setting CPP_UNIT_TESTS.