Bug 533063
Summary: | preadv()/pwritev() prototypes are broken on i386 with -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Daniel Berrangé <berrange> |
Component: | glibc | Assignee: | Andreas Schwab <schwab> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 11 | CC: | agk, awilliam, chrisw, herbert.xu, jakub, jforbes, markmc, mbroz, notting, rjones, schwab, sct, tao, virt-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 2.10.2-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-11-05 18:40:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 473303, 498969, 545006 |
Description
Daniel Berrangé
2009-11-04 20:55:41 UTC
It would appear to me that in /usr/include/sys/uio.h, that these prototypes extern ssize_t __REDIRECT (preadv, (int __fd, __const struct iovec *__iovec, int __count, __off_t __offset), preadv64) __wur; extern ssize_t __REDIRECT (pwritev, (int __fd, __const struct iovec *__iovec, int __count, __off_t __offset), pwritev64) __wur; should be using '__off64_t' instead ? bug #526549 is the 32 bit qemu data corruptor that uncovered this; we've worked around the issue by disabling preadv/pwritev use for F-12 GA Yes, the suggested change in #c1 looks correct to me. While off_t is 64-bit, __off_t is not for 32-bit arches, even when -D_FILE_OFFSET_BITS=64. Built as 2.11-2. <adamw> notting: where are we on 533063 (the glibc bug), did we tag the fixed glibc and rebuilds of affected packages? <notting> adamw: yeah, a couple of hours ago. <adamw> notting: should we close the bug then? <notting> adamw: sure! -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers glibc-2.10.2-1 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/glibc-2.10.2-1 glibc-2.10.2-1 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |