BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001247 [uClibc] Architecture Specific major always 03-02-07 12:50 09-15-07 02:26
Reporter holin View Status public  
Assigned To uClibc
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0001247: uClibc endian detection seems broken if __BYTE_ORDER is not defined
Description This was observer on Mac OS X. In case BYTE_ORDER is defined by the host and __BYTE_ORDER is not, __BIG_ENDIAN and __LITTLE_ENDIAN still remain undefined. Attached patch fixes that and also adds fallback OS X support if even BYTE_ORDER is not defined; gcc defines __BIG_ENDIAN__ (=1) or __LITTLE_ENDIAN__ (=1) on OS X. The patch is against 0.9.28.3, but svn seems affected, too.
Additional Information
Attached Files  uClibc-0.9.28.3-endian.patch [^] (996 bytes) 03-02-07 12:50
 uClibc-svn-070314-bswap.patch [^] (681 bytes) 03-14-07 04:01

- Relationships

- Notes
(0002234)
vapier
03-13-07 20:46

added to trunk, cheers
 
(0002236)
holin
03-14-07 04:00

In trunk, as it seems, bswap_64 is also taken into use. A lame replacement is needed for that, too. Attaching a patch for the issue.
 
(0002751)
vapier
09-15-07 02:26

current trunk should be ok
 

- Issue History
Date Modified Username Field Change
03-02-07 12:50 holin New Issue
03-02-07 12:50 holin Status new => assigned
03-02-07 12:50 holin Assigned To  => uClibc
03-02-07 12:50 holin File Added: uClibc-0.9.28.3-endian.patch
03-13-07 20:46 vapier Note Added: 0002234
03-13-07 20:46 vapier Status assigned => closed
03-13-07 20:46 vapier Resolution open => fixed
03-14-07 04:00 holin Status closed => feedback
03-14-07 04:00 holin Resolution fixed => reopened
03-14-07 04:00 holin Note Added: 0002236
03-14-07 04:01 holin File Added: uClibc-svn-070314-bswap.patch
03-31-07 09:47 bendiken Issue Monitored: bendiken
09-15-07 02:26 vapier Note Added: 0002751
09-15-07 02:26 vapier Status feedback => closed
09-15-07 02:26 vapier Resolution reopened => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker