I just got bitten by the same thing as I got a new laptop today with OSX 10.8. However, my clang-based build does not really run well enough to do anything.
I guess I'll have to find and install an older gcc for now, but this will become really anoying if we can't fix it.