[Toybox] big endian problems
James McMechan
james_mcmechan at hotmail.com
Wed Oct 22 07:25:15 PDT 2014
I was trying to do a multi-architecture buildall and it blew up on the 2nd architecture on both sparc and ppc it seems the toybox md5sum sha1sum are not big endian safe, i have not puzzled out the logic yet.
Sun Ultra 60 2x450MHz 1GB
for i in md5sum sha1sum;do echo system $i;$i packages/uClibc++-0.2.2.tar.bz2; echo busybox $i;busybox $i packages/uClibc++-0.2.2.tar.bz2;echo toybox $i; ./build/host/toybox $i packages/uClibc++-0.2.2.tar.bz2; done
system md5sum
1ceef3209cca88be8f1bd9de99735954 packages/uClibc++-0.2.2.tar.bz2
busybox md5sum
1ceef3209cca88be8f1bd9de99735954 packages/uClibc++-0.2.2.tar.bz2
toybox md5sum
4e3e122771dc023dee3b3d18808f8dad packages/uClibc++-0.2.2.tar.bz2
system sha1sum
f5582d206378d7daee6f46609c80204c1ad5c0f7 packages/uClibc++-0.2.2.tar.bz2
busybox sha1sum
f5582d206378d7daee6f46609c80204c1ad5c0f7 packages/uClibc++-0.2.2.tar.bz2
toybox sha1sum
4cdd1fe861b52667a1f568ae12449ccdca3d7dfa packages/uClibc++-0.2.2.tar.bz2
Apple G4 Yikes 800MHz 512MB
for i in md5sum sha1sum;do echo system $i;$i packages/uClibc++-0.2.2.tar.bz2; echo busybox $i;busybox $i packages/uClibc++-0.2.2.tar.bz2;echo toybox $i; ./build/host/toybox $i packages/uClibc++-0.2.2.tar.bz2; done
system md5sum
1ceef3209cca88be8f1bd9de99735954 packages/uClibc++-0.2.2.tar.bz2
busybox md5sum
1ceef3209cca88be8f1bd9de99735954 packages/uClibc++-0.2.2.tar.bz2
toybox md5sum
4e3e122771dc023dee3b3d18808f8dad packages/uClibc++-0.2.2.tar.bz2
system sha1sum
f5582d206378d7daee6f46609c80204c1ad5c0f7 packages/uClibc++-0.2.2.tar.bz2
busybox sha1sum
f5582d206378d7daee6f46609c80204c1ad5c0f7 packages/uClibc++-0.2.2.tar.bz2
toybox sha1sum
4cdd1fe861b52667a1f568ae12449ccdca3d7dfa packages/uClibc++-0.2.2.tar.bz2
Intel Atom 330 4x1.6GHz 4GB x86-64/AMD64 - works
for i in md5sum sha1sum;do echo system $i;$i packages/uClibc++-0.2.2.tar.bz2; echo busybox $i;busybox $i packages/uClibc++-0.2.2.tar.bz2;echo toybox $i; ./build/host/toybox $i packages/uClibc++-0.2.2.tar.bz2; done
system md5sum
1ceef3209cca88be8f1bd9de99735954 packages/uClibc++-0.2.2.tar.bz2
busybox md5sum
1ceef3209cca88be8f1bd9de99735954 packages/uClibc++-0.2.2.tar.bz2
toybox md5sum
1ceef3209cca88be8f1bd9de99735954 packages/uClibc++-0.2.2.tar.bz2
system sha1sum
f5582d206378d7daee6f46609c80204c1ad5c0f7 packages/uClibc++-0.2.2.tar.bz2
busybox sha1sum
f5582d206378d7daee6f46609c80204c1ad5c0f7 packages/uClibc++-0.2.2.tar.bz2
toybox sha1sum
f5582d206378d7daee6f46609c80204c1ad5c0f7 packages/uClibc++-0.2.2.tar.bz2
Seagate GoFlex Home ARM 1.2GHz kirkwood 5te 128MB works
required chmod 666 /dev/null and then 'ln -s libc-2.18.so libc.so.0' so native compiler would build under arch linux
took 287m for a single arch compile
my other systems are still in need of work
AMD Athlon64 - power supply replacement
Intel P75 24MB - networking problems
hp sh3 32MB - have not yet got aboriginal to build for sh3
TP-Link mr3020 - aboriginal will build MIPS, but static binaries do not run on openwrt kernel
hoo-too Tripmate Elite - also MIPS not yet tested
More information about the Toybox
mailing list