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

From: Ben Gamari
Date: Mon Nov 08 2010 - 15:17:26 EST


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?

- Ben
--
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/