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: Fred Kiefer
Subject: [bugs #9452] GNUstep fails for ARM architecture
Date: Thu, 01 Jul 2004 19:46:22 -0400
User-agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)

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

/**************************************************************************/
[bugs #9452] Latest Modifications:

Changes by: 
                Fred Kiefer <FredKiefer@gmx.de>
'Date: 
                Thu 07/01/2004 at 23:24 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Applied this patch.






/**************************************************************************/
[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 04:37

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


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.


Follow-up Comments
------------------


-------------------------------------------------------
Date: Thu 07/01/2004 at 23:24       By: FredKiefer
Applied this patch.












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]