Loading ...
Sorry, an error occurred while loading the content.
 

[Bug 90] Changed - uClibc builds have problems with devices

Expand Messages
  • unslung@gmail.com
    ============================================================================ THIS MESSAGE WAS GENERATED BY THE BUGTRACKER SOFTWARE PLEASE DO NOT REPLY INSTEAD
    Message 1 of 2 , Apr 9, 2005
      ============================================================================
      THIS MESSAGE WAS GENERATED BY THE BUGTRACKER SOFTWARE PLEASE DO NOT REPLY

      INSTEAD FOLLOW BUG'S URL BELOW IN ORDER TO DETAIL BUG:
      ============================================================================
      Bug #: 90 (http://slugbug.nslu2-linux.org/bug.php?op=show&bugid=90)
      Reported By: jbowler@...
      ----------------------------------------------------------------------------
      Summary: uClibc builds have problems with devices
      URL:
      Product: Alpha Testing
      Version: Specify in Description
      To be Closed in Version: None
      Closed in Version: None
      Component: openslug
      Site(s): All
      Status: Assigned
      Resolution: None
      Severity: Significant
      OS/Version: All
      Database: None
      Priority: 1 - Low
      Assigned To: nslu2-linux@yahoogroups.com
      ============================================================================
      COMMENTS

      ----- Posted by repvik at 6:54 PM on 2005-04-08 -----
      busybox ls also has problems with sizes when compiled against uClibc.

      This is the output of ls -las:
      0 -rwxr-xr-x 1 root root
      509856 Apr 9 2005 smbcontrol
      0 -rwxr-xr-x 1 root root
      1088632 Apr 9 2005 smbcquotas
      0 -rwxr-xr-x 1 root root
      1191436 Apr 9 2005 smbpasswd
      0 -rwxr-xr-x 1 root root
      653092 Apr 9 2005 smbspool

      The first colum (size in Kb) shows up
      correctly when compiled against glibc, but is as far as I've seen always
      zero when compiled against uClibc.


      ----- Posted by jbowler at 12:12 AM on 2005-04-09 -----
      + busybox uses stat64 (because it is compiled with LFS support).
      The
      + uClibc stat64 for ARM does not match the kernel definition of stat64.
      I
      + fixed this by patching the kernel source - the same thing has been done
      + to other kernel structures for uClibc support. (The problem is that
      + uClibc has its own copy of the kernel headers - despite the comments in
      + the makefile getting the *correct* kernel headers into the uClibc build
      + does not help - it really does just ignore them!)

      I can push the
      + patch, but it's only required for a big-endian ARM system which actually
      + runs uClibc - not openslug at present.
    Your message has been successfully submitted and would be delivered to recipients shortly.