DerivedSources.make and some of the perl scripts it invokes use “gcc” as the preprocessor rather than using the compiler Xcode uses for compiling source files.
Created attachment 122262 [details] Set CC according to TARGET_GCC_VERSION and use it in DerivedSources.make
Fixed in <http://trac.webkit.org/r104835>.