Re: fstat suddenly return -EINVAL [Was: Bus error on makeallyesconfig, kernelbuild with HEAD]

From: AmÃrico Wang
Date: Tue Nov 09 2010 - 05:24:43 EST


On Mon, Nov 08, 2010 at 03:17:16PM -0500, Ben Gamari wrote:
>On Mon, 8 Nov 2010 20:05:01 +0100, Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
>> >
>> > $ make
>> > HOSTCC scripts/basic/fixdep
>> > file=scripts/basic/.fixdep.d
>> > fixdep: fstat failed: Invalid argument
>>
>> But open succedd - because we see no output from that one.
>>
>Yes, this is true.
>
>> > How are .d files supposed to be generated?
>>
>> They are generated by kbuild.
>> See scripts/Kbuild.include:
>>
>> If you delete the line marked "==>" then you should have .d files are a build.
>>
>True.
>
>> > export CC=${CROSS_COMPILE}gcc
>> > export CXX=${CROSS_COMPILE}g++
>> This part is wrong. The kernel will do this for you.
>> It should not cause any harm...
>>
>Yeah, this is for other applications.
>
>Any idea of what could be happening?
>

No idea why this only happens to those .*.d files.
A blind guess would be commit 365b1818. :-/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/