[Aboriginal] system-images 1.4.2: od is broken; bzip2 is missing

Denys Vlasenko vda.linux at googlemail.com
Mon Oct 5 04:28:58 PDT 2015


Hi Rob, folks,

I was playing with building busybox using Aboriginal Linux.
(See busybox/qemu_multiarch_testing/README is you want
to know the details).

Used system-image-* from September 12 2015 from
http://landley.net/aboriginal/downloads/binaries/

Looks like od is buggy on arm* and mips*:
the first number on each line (the address) is bogus:

On arm*:
# echo Hello-hello-hello-hello | od -b
0000000 110 145 154 154 157 055 150 145 154 154 157 055 150 145 154 154
0000000 157 055 150 145 154 154 157 012
0000000

On mips[el]:
# echo Hello-hello-hello-hello | od -b
0000000 110 145 154 154 157 055 150 145 154 154 157 055 150 145 154 154
17767153361 157 055 150 145 154 154 157 012
0000000

Broken on powerpc too.
Works on x86.

I noticed that system images no longer have bzip2.
I think it was removed in an effort to reduce the number of tools
necessary to the bare minimum?
Maybe it's worth it. But just FYI, this did add another wrinkle to my use case.


Re musl: two cases of breakage:

  #include <netinet/in.h>
  #include <linux/if_bridge.h>
results in:
  In file included from /usr/include/linux/if_bridge.h:18,
                   from networking/brctl.c:67:
  /usr/include/linux/in6.h:32: error: redefinition of 'struct in6_addr'
  /usr/include/linux/in6.h:49: error: redefinition of 'struct sockaddr_in6'
  /usr/include/linux/in6.h:59: error: redefinition of 'struct ipv6_mreq'

and

  #include <linux/ethtool.h>
  #include <net/ethernet.h>
results in:
  In file included from /usr/include/net/ethernet.h:10,
                   from networking/ifplugd.c:41:
  /usr/include/netinet/if_ether.h:96: error: redefinition of 'struct ethhdr'


More information about the Aboriginal mailing list