[uClibc-cvs] [uClibc 0000314]: uclibc armeb kernel_stat.h stat64 does not match the 2.6 kernel stat.h

bugs at busybox.net bugs at busybox.net
Tue Jun 28 06:04:53 UTC 2005


The following issue has been SUBMITTED.
======================================================================
<http://busybox.net/bugs/view.php?id=314> 
======================================================================
Reported By:                jbowler
Assigned To:                uClibc
======================================================================
Project:                    uClibc
Issue ID:                   314
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             06-27-2005 23:04 PDT
Last Modified:              06-27-2005 23:04 PDT
======================================================================
Summary:                    uclibc armeb kernel_stat.h stat64 does not match the
2.6 kernel stat.h
Description: 
linux-2.4.31/include/asm-arm/stat.h:

struct stat64 {
	unsigned short st_dev;

linux-2.6.11.11/include/asm-arm/stat.h:

struct stat64 {
	unsigned long long st_dev;

Both taken from the www.kernel.org source, no changes.  No conditional
compilation in either case (for this structure member).  Therefore the two
relevant (low order) bytes of st_dev are at offset_ofs of:

armel 2.4  0
armeb 2.4  0
armel 2.6  0
armeb 2.6  6

Therefore there is an ABI change 2.4->2.6 ARMEB only.  There is a similar
problem in st_rdev and possibly other fields.
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-27-05 23:04 jbowler        New Issue                                    
06-27-05 23:04 jbowler        File Added: armeb-kernel-stat.h.patch             
      
======================================================================




More information about the uClibc-cvs mailing list