[uClibc 0001247]: uClibc endian detection seems broken if __BYTE_ORDER is not defined
bugs at busybox.net
bugs at busybox.net
Fri Mar 2 20:50:25 UTC 2007
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=1247
======================================================================
Reported By: holin
Assigned To: uClibc
======================================================================
Project: uClibc
Issue ID: 1247
Category: Architecture Specific
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 03-02-2007 12:50 PST
Last Modified: 03-02-2007 12:50 PST
======================================================================
Summary: 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.
======================================================================
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
======================================================================
More information about the uClibc-cvs
mailing list