Issue with tar (Busybox 1.20.2): unknown file type

Sedat Dilek sedat.dilek at gmail.com
Tue Jun 25 07:58:58 UTC 2013


On Mon, Jun 24, 2013 at 5:08 PM, walter harms <wharms at bfs.de> wrote:
>
>
> Am 24.06.2013 16:30, schrieb Rich Felker:
>> On Mon, Jun 24, 2013 at 04:14:52PM +0200, walter harms wrote:
>>>
>>> hi,
>>> normally busybox is build with -Os for size optimisation.
>>> Will you give it a try without any -O ?
>>
>> -Os should never affect alignment. If it does that's a serious gcc
>> bug...
>>
>
> If everything would work as expected ...
> I was just thinking about an easy test and disabling any gcc magic
> seemed a good starting point
>

>From my experiences with toolchain-building (especially in the Freetz
router project) it's of course worth to play with different
optimizing-levels [ -O0 -O1 -O2 -O3 -Os ].
It has also shown that different gcc-versions have different qualities
in optimizing, even in the same optlevel.
So be careful when changing your gcc :-).
( [1] was a nice experiment and experience for me. )

Another example:
The Linux-kernel project turned off "-Wmaybe-uninitialized" for "-Os"
because it gave more false-positives than it helped.
[ I wanted to recommend that setting for the Freetz router project. ]

See commit e74fc973b6e531fef1fce8b101ffff05ecfb774c
"Turn off -Wmaybe-uninitialized when building with -Os".

AFAICS this will be in Linux v3.10.

- Sedat -

[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49618
[2] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e74fc973b6e531fef1fce8b101ffff05ecfb774c

> re,
>  wh
>
>> Rich
>>
>>
>>>
>>> re,
>>>  wh
>>>
>>> Am 24.06.2013 16:09, schrieb piquemal michel:
>>>> HI Dietmar,
>>>>
>>>> I did rebuilt the whole uclibc and toolchain with long file support: same result (see below the extended printf of stat structure): it's definitely an alignment issue.
>>>> Could that come from some GCC optimization? I've not set any in busybox config. It seems default buildroot toochain build has some GGC optimizations.
>>>>
>>>> It really seems a related busybox issue (probably something in .config), since other own-applications I compiled work without issues: including those working with stat/lstat (through glob() for instance).
>>>>
>>>> I could not upload cross-compiled uClibc on target, since if I touch the target's one in /lib (ram mapped), the target won't work anymore, and I can not build/flash a new firmware.
>>>>
>>>>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list