Subject: bug#9811: fstatat test error when cross compiling

From: Jake Magee <[email-masked]>
Date: Thu, 20 Oct 2011 10:48:03 -0500

When doing a cross compile from x86 to arm, the configure fails with:

checking whether fstatat (..., 0) works... configure: error: in
`/usr/arm-none-linux-gnueabi/tmp/portage/sys-apps/coreutils-8.14/work/coreutils-8.14':
configure: error: cannot run test program while cross compiling