[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnu-arch] [bug #15915] MACHINE_ALIGNMENT miscalculated on PPC32
From: |
anonymous |
Subject: |
[Bug-gnu-arch] [bug #15915] MACHINE_ALIGNMENT miscalculated on PPC32 |
Date: |
Mon, 27 Feb 2006 14:10:30 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060202 Fedora/1.0.7-1.2.fc4 Firefox/1.0.7 |
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=15915>
Summary: MACHINE_ALIGNMENT miscalculated on PPC32
Project: GNU arch -- a revision control system
Submitted by: None
Submitted on: Mon 02/27/06 at 14:10
Category: tla
Severity: 3 - Normal
Item Group: bug
Status: None
Privacy: Public
Open/Closed: Open
Release: 1.3.4
Fixed Release:
Merge Request?: None
Your Archive Name:
Your Archive Location:
Assigned to: None
_______________________________________________________
Details:
The gen-alignment program that calculates the MACHINE_ALIGNMENT macro
generates the wrong alignment on PPC32. With the newest glibc, the ABI
changed for PPC such that sizeof(long double) returns 16 instead of 8.
However, malloc only guarantees alignment for 2 * sizeof(void *), which is
still 8 bytes.
When attempting to build tla on PPC32, the unit-ar test fails because of this
as it is checking for 16 byte alignment when it should be checking for 8 byte
alignment. See:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=182742
for more details.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=15915>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Bug-gnu-arch] [bug #15915] MACHINE_ALIGNMENT miscalculated on PPC32,
anonymous <=