[Bug 32369] dlls/ntdll/file.c fails to link with older glibc due to missing fallocate64()

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Dec 5 22:40:08 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=32369

--- Comment #7 from Dmitry Timoshkov <dmitry at baikal.ru> 2012-12-05 22:40:08 CST ---
(In reply to comment #6)
> > > > 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.
> > 
> > You mean while configure checks for fallocate()?
> 
> Yes.

You are right, it's _GNU_SOURCE defined by wine/port.h which breaks it.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list