Re: [musl] bbox: musl versus uclibc

2017-08-14 Thread Denys Vlasenko
On Mon, Aug 14, 2017 at 8:48 PM, Rich Felker wrote: >> Now, the good news - musl has smaller data! >> 6695 bytes versus 7129 bytes for uclibc: >> >>text data bss dechex filename >> 894902 465 6664 902031 dc38f busybox.uclibc >> 912538 563 6132 919233

Re: [musl] bbox: musl versus uclibc

2017-08-14 Thread Rich Felker
On Mon, Aug 14, 2017 at 07:43:39PM +0200, Denys Vlasenko wrote: > As uclibc is increasingly aging, I am finally forced > to switch to musl: I'm bitten by a nasty bug in > getopt() - hush is using it in a slightly unusual way, > which uclibc does not expect. While I'm glad musl is working for you,

Re: bbox: musl versus uclibc

2017-08-14 Thread Mattias Schlenker
Am 14.08.2017 um 19:43 schrieb Denys Vlasenko: As uclibc is increasingly aging, I am finally forced to switch to musl: I'm bitten by a nasty bug in getopt() - hush is using it in a slightly unusual way, which uclibc does not expect. I built a toolchain using

Re: bbox: musl versus uclibc

2017-08-14 Thread Emmanuel Deloget
On Mon, Aug 14, 2017 at 7:43 PM, Denys Vlasenko wrote: > Only a few options did not build: > EXTRA_COMPAT and FEATURE_VI_REGEX_SEARCH > failed because they need GNU regexp extensions. I have a patch somewhere that enable parts of VI_REGEX_SEARCH (it only does forward

Re: bbox: musl versus uclibc

2017-08-14 Thread wdlkmpx
I'm sure there was plenty of people willing to contribute to uclibc, there is even an updated fork. The project has been badly managed.. thats the only reason i can think of for this situation to happen On 8/14/17, Denys Vlasenko wrote: > As uclibc is increasingly

bbox: musl versus uclibc

2017-08-14 Thread Denys Vlasenko
As uclibc is increasingly aging, I am finally forced to switch to musl: I'm bitten by a nasty bug in getopt() - hush is using it in a slightly unusual way, which uclibc does not expect. I built a toolchain using https://github.com/richfelker/musl-cross-make (Rich, is this the thing I should

Re: Busybox in Debian

2017-08-14 Thread Mattias Schlenker
Am 14.08.2017 um 16:42 schrieb Denys Vlasenko: If you want "resume" and "ipconfig" in bbox, I can do that. The weird thing with Debian is that any package can add scripts to the initramfs and call an initramfs update after installation. This perfectly makes sense for tools that manage

Re: Busybox in Debian

2017-08-14 Thread Denys Vlasenko
>> ipconfig Looks like it is used to run DHCP / BOOTP / RARP on several interfaces, including a possibility to run it on _all_ existing interfaces (excluding loopback and point-to-point). I see how this can be useful during boot. >> minips It's just mini-ps. Proliferation of reinvented tools

Re: Busybox in Debian

2017-08-14 Thread Denys Vlasenko
On Mon, Aug 14, 2017 at 3:05 PM, Ben Hutchings wrote: > On Mon, 2017-08-14 at 14:55 +0200, Denys Vlasenko wrote: >> On Sat, Aug 12, 2017 at 4:15 PM, Ben Hutchings >> wrote: >> > On Fri, 2017-08-11 at 14:54 -0400, Chris Boot wrote: >> > [...] >> > > -

Re: Busybox in Debian

2017-08-14 Thread Mattias Schlenker
Am 14.08.2017 um 14:55 schrieb Denys Vlasenko: On Sat, Aug 12, 2017 at 4:15 PM, Ben Hutchings wrote: On Fri, 2017-08-11 at 14:54 -0400, Chris Boot wrote: [...] - The default initramfs assembly system, initramfs-tools, incorporates busybox into the initramfs and it's

Re: Busybox in Debian

2017-08-14 Thread Denys Vlasenko
On Sat, Aug 12, 2017 at 4:15 PM, Ben Hutchings wrote: > On Fri, 2017-08-11 at 14:54 -0400, Chris Boot wrote: > [...] >> - The default initramfs assembly system, initramfs-tools, incorporates >> busybox into the initramfs and it's used until the root filesystem (and >> /usr

Re: [PATCH v2] Silence misguided GCC warning about alignment issues

2017-08-14 Thread Daniel Thompson
On 07/08/17 21:58, Johannes Schindelin wrote: When compiling xz_dec_stream.c with GCC (at least with versions 5.4.0 and 7.1.0), it complains thusly: In function 'dec_stream_footer': error: dereferencing type-punned pointer will break strict-aliasing rules