bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #9452] GNUstep fails for ARM architecture


From: anonymous
Subject: [bugs #9452] GNUstep fails for ARM architecture
Date: Fri, 25 Jun 2004 00:40:01 -0400
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.2 (KHTML, like Gecko) Safari/125.8

This mail is an automated notification from the bugs tracker
 of the project: GNUstep.




/**************************************************************************/
[bugs #9452] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9452>
Project: GNUstep
Submitted by: 0
On: Fri 06/25/2004 at 00:37

Category:  Base/Foundation
Severity:  5 - Average
Item Group:  Bug
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  GNUstep fails for ARM architecture

Original Submission:  GNUstep base classes core dump on ARM architecture.  This 
is caused by an assumption within NSTimeZone.m that the 'ttinfo' structure is 6 
bytes long.  Since the ARM always aligns structures to word boundaries, this 
structure is 8 bytes on ARM.

The following diff fixes this bug and allows GNUstep to work properly.

*** NSTimeZone.m        Thu Jun 24 20:06:35 2004
--- NSTimeZone.m~       Sun Feb  8 02:42:38 2004
***************
*** 131,137 ****
    char offset[4]; // Seconds east of UTC
    unsigned char isdst; // Daylight savings time?
    unsigned char abbr_idx; // Index into time zone abbreviations string
! } __attribute__((packed));
  
  /*
   * And this is the structure used in the time zone instances.
--- 131,137 ----
    char offset[4]; // Seconds east of UTC
    unsigned char isdst; // Daylight savings time?
    unsigned char abbr_idx; // Index into time zone abbreviations string
! };
  
  /*
   * And this is the structure used in the time zone instances.












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9452>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]