http://bugs.winehq.org/show_bug.cgi?id=32369
--- Comment #4 from Hans Leidekker hans@meelstraat.net 2012-12-05 04:09:57 CST --- (In reply to comment #3)
Configure (correctly) adds '_FILE_OFFSET_BITS 64' to config.h here as well. The problem is that this define redirects fallocate() to fallocate64() which is missing in an older glibc, but configure fails to detect that because it doesn't add that define while compiling the detecting code.
It does add that define here.