[Bug 20042] Wine does not build on amd64 when linking to 32-bit libmpg123

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Feb 14 10:09:36 CST 2010


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





--- Comment #40 from Thomas Orgis <thomas-forum at orgis.org>  2010-02-14 10:09:34 ---
(In reply to comment #39)
> Anyway, if you wanted to provide a "universal" library you could require that
> your library be built with large file support and then typecast non-64 bit
> off_t calls.

Not that simple: The libmpg123 API also exchanges file descriptors
(mpg123_open_fd()) ... typecasting does not help you much there. The library
would need full dual mode and separate paths for 32 bit / 64 bit I/O. But,
well, I hope that the change I did at least helps the distro builds and also
makes a default custom build of wine work (when it enables large file
support...).
The whole 32/64 bit off_t mess was designed for a transitional period anyway...
that period already is long enough (OK, don't compare it to the transition
period to IPv6).

-- 
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