[PATCH] misc size-shrinkage; merges
Bernhard Fischer
rep.nop at aon.at
Tue Aug 29 20:38:29 UTC 2006
On Tue, Aug 29, 2006 at 10:28:59PM +0200, Bernhard Fischer wrote:
>On Tue, Aug 29, 2006 at 04:22:03PM -0400, Rob Landley wrote:
>>> Saved here: http://busybox.net/~aldot/bb/busybox.config.Breeze
>>
>>I copied that .config into my directory, did a make clean, and a make
>>oldconfig. The oldconfig prompted me for a couple screens worth of things, I
>>don't know why.
>
>Easiest way is to cp that .config and make menuconfig -> save and exit
>>
>>Ok... Odd.
>>
>>I've simplified it to:
>>
>>echo "a=b" | ./busybox cut -d'=' -f2 | cat
>>
>>Which works when you don't have the | cat on the end, but doesn't when you do.
>>Why is cut caring about whether or not its output has been redirected? And
>>why is this configuration dependent? Well, it's only a 332 line applet,
>>let's see...
>>
>>Something screwing up printf, and it's doing so fairly early in the process.
>>It's not closing fd 1, if I write(1,"blah",4) it goes out, but printf() does
>>not. Hmmm. Well, if it's config dependent let's see what the config
>>difference is...
>>
>>You've switched off verbose usage, the installer, locale support, suid, you're
>>building statically, you yanked susv2... Locale, suid, and static are the
>>three biggies, let's try defconfig with those... Nope, that's not
>>reproducing it. Static linking?
>>
>>Wow. It's _static_linking_ that's doing it. Ok, that's just ODD. Lemme try
>>this with my uClibc cross compiler...
>>
>>And the problem does not reproduce with uClibc!
>>
>>You say one of the commits since you forked your tree produced this? When did
>>you fork your tree?
>
>15642 was the branch-point
Sorry. It was r16463. Later on i pulled parts off trunk ("merge from trunk. Pull
parts of 15464:15564 that made sense.") and it still worked as expected
afterwards.
HTH,
Bernhard
More information about the busybox
mailing list