dev-php/php-4.4.0-r4 failing to compile :(

I can’t work out why it’s not compiling - there’s no posts anywhere online that I can find that tell me how to fix it… how am I cross compiling?

checking for sys/utsname.h... yes
checking for sys/ipc.h... yes
checking for dlfcn.h... yes
checking for fopencookie... yes
configure: error: can not run test program while cross compiling

!!! Please attach the config.log to your bug report:
!!! /storage/portage-tmp/portage/php-4.4.0-r4/work/php-4.4.0/config.log

!!! ERROR: dev-php/php-4.4.0-r4 failed.
!!! Function econf, Line 495, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.