[BusyBox] reproduceable build system error on busybox 1.0

Matthias Lang matthias at corelatus.se
Sun Dec 12 22:45:14 UTC 2004


Hi,

I noticed md5sum seemed to stop working in busybox 1.0:

  | busybox-1.00 >./busybox md5sum busybox
  | 00000000000000000000000000000000  busybox
  | busybox-1.00 >md5sum busybox                (gnu md5sum)
  | 7d12ecaadfc44677c3b96c00dbc9c915  busybox

The same problem was discussed on the list earlier:

  http://www.busybox.net/lists/busybox/2004-August/012252.html

The implied workaround was to re-build from clean source, and that
works for me too. 

I haven't investigated _why_ the build goes wrong, but I thought it
might be useful to post a reproduceable way to make it go bad on a PC
(debian, gcc 3.3.5, x86 native compile):

  Untar busybox 1.0
  make
  (you end up in menuconfig. Exit without changing anything, save config file)
  make
  make menuconfig
  (under coreutils, enable 'md5sum', then exit, saving the config file)
  make

The resulting busybox binary produces incorrect md5sums. Inserting a
'make clean' before the 'make menuconfig' makes the problem go
away. Something appears to be wrong with the build system.

Matt



More information about the busybox mailing list