http://bugs.winehq.org/show_bug.cgi?id=32369
--- Comment #3 from Dmitry Timoshkov dmitry@baikal.ru 2012-12-05 03:54:42 CST --- (In reply to comment #2)
This appears to be https://bugzilla.redhat.com/show_bug.cgi?id=500487. On my system configure already adds #define _FILE_OFFSET_BITS 64.
Configure (correctly) adds '_FILE_OFFSET_BITS 64' 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.
I'll rephrase that:
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.