Bug 195986
Summary: | Cannot mkpart of parted-1.7.1-5 on IA64 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Akio Takebe <takebe_akio> |
Component: | parted | Assignee: | David Cantrell <dcantrell> |
Status: | CLOSED DUPLICATE | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | fj-lkml |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | ia64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-08-22 15:14:50 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: |
Description
Akio Takebe
2006-06-20 05:53:06 UTC
I get the parted from http://ftp.gnu.org/gnu/parted/parted-1.7.1.tar.gz. I use it and try the mkpart. I success making new partition. I look like original parted works good. The follwoing parted-1.7.0-headers.patch causes the problem. It removes the prototype declaration of ped_device_get_constraint(), which is why the return value of that function is considered as an integer (32bit wide), even though its return value is a pointer (64bit wide on ia64). Since the top half of the return value is masked by implicit cast on ia64, SEGV fault occured. (Oviously, this problem never happens on 32bit platforms.) IMHO, that patch should be removed. I'm not sure why this patch is made though. --- parted-1.7.0/include/parted/device.h.traint 2006-05-19 16:26:47.000000000 -0400 +++ parted-1.7.0/include/parted/device.h 2006-05-19 16:27:36.000000000 -0400 @@ -135,7 +135,6 @@ extern int ped_device_sync_fast (PedDevice* dev); extern PedSector ped_device_check (PedDevice* dev, void* buffer, PedSector start, PedSector count); -extern PedConstraint* ped_device_get_constraint (PedDevice* dev); /* private stuff ;-) */ |