Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 343859

Summary: sys-block/gpart-0.1h-r2 can't handle disks larger than 2GiB
Product: Gentoo Linux Reporter: Ian Abbott <ian>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: CONFIRMED ---    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 553108    
Bug Blocks:    
Attachments: Ebuild patch for LFS support

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.