Busybox tar failing to compile on snapshot of uClibc
Rob Landley
rob at landley.net
Tue Dec 12 11:21:51 PST 2006
On Tuesday 12 December 2006 7:52 am, Bernhard Fischer wrote:
> On Tue, Dec 12, 2006 at 12:30:06PM -0000, Martyn Welch wrote:
> >Hi,
> >
> >I've been trying to compile busybox as part of buildroot.
> >
> >I am using yesterdays snapshots of uClibc and busybox. It seems that
> >tar.c uses "bzero", which seems to be no longer provided in uClibc.
>
> That's not really correct. If you want the SUSv3 LEGACY stuff, then turn
> it on. See make uclibc-menuconfig
>
> That said, i fixed tar to not use that legacy crap. See r16850.
In toybox I've got a check if bzero exists, and if not I implement it in the
library. I don't know why they deprecate it, bzero() is one less function
argument for _the_ single most common use of memset(). And I'm not humoring
them.
You're welcome to kowtow to standards bodies however you want. Let me know
when your build environment contains sccs:
http://www.opengroup.org/onlinepubs/009695399/utilities/sccs.html
Or when you've restricted df -p to use 32 bit integers on 64-bit platforms:
http://www.opengroup.org/onlinepubs/009695399/utilities/df.html
http://www.unix.org/version2/whatsnew/lp64_wp.html
Rob
--
"Perfection is reached, not when there is no longer anything to add, but
when there is no longer anything to take away." - Antoine de Saint-Exupery
More information about the busybox
mailing list