In Makefile.inc for php there are some items that seems to pull in gcc. I remember that when building php in May that similar items were removed from other modules. Can php do without these references to gcc?
MODULES+= gcc4 # for atomic builtins MODGCC4_ARCHS+= arm MODGCC4_LANGS+= c++
