Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343859 - sys-block/gpart-0.1h-r2 can't handle disks larger than 2GiB
Summary: sys-block/gpart-0.1h-r2 can't handle disks larger than 2GiB
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on: 553108
Blocks:
  Show dependency tree
 
Reported: 2010-11-02 15:54 UTC by Ian Abbott
Modified: 2015-06-24 00:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild patch for LFS support (gpart-lfs-ebuild.patch,738 bytes, patch)
2010-11-02 15:59 UTC, Ian Abbott
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Abbott 2010-11-02 15:54:16 UTC
sys-block/gpart-0.1h-r2 fails to analyze disks larger than 2GiB.  This is because the (patched) l64seek() function just calls lseek() which only does 32-bit seeks (on 32-bit architectures) unless compiled with LFS support.


Reproducible: Always
Comment 1 Ian Abbott 2010-11-02 15:59:06 UTC
Created attachment 252913 [details, diff]
Ebuild patch for LFS support

Patch to compile gpart with LFS support for disks greater than 2 GiB.