[BusyBox] busybox + uClibc bug
Jeff Garzik
jgarzik at mandrakesoft.com
Sat Mar 10 23:23:50 UTC 2001
uClibc's printf doesn't support %llu, so interface.c crashes. When I
remove all traces of long long from struct interface, interface works
just fine:
Broken:
> $ ifconfig
> eth0 Link encap:Ethernet HWaddr 00:A0:C9:42:14:4C
> inet addr:10.10.10.193 Bcast:10.10.10.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:%llu errors:0 dropped:0 overruns:0 frame:0
> TX packets:%llu errors:0 dropped:0 overruns:0 carrier:0
> Segmentation fault.
Working:
> $ ifconfig
> eth0 Link encap:Ethernet HWaddr 00:A0:C9:42:14:4C
> inet addr:10.10.10.193 Bcast:10.10.10.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:31479 errors:0 dropped:0 overruns:0 frame:0
> TX packets:30205 errors:0 dropped:0 overruns:0 carrier:0
> collisions:1
> RX bytes:21739523 (20.7 Mb) TX bytes:21661674 (20.6 Mb)
> Interrupt:9 Base address:0x2000
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:3904 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
--
Jeff Garzik | "You see, in this world there's two kinds of
Building 1024 | people, my friend: Those with loaded guns
MandrakeSoft | and those who dig. You dig." --Blondie
More information about the busybox
mailing list