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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ben.

[Context to new readers: Ben experience that fixdep (part of kbuild)
 exists with an error during kernel compilations.
 This is now tracked down to fstat() returning EINVAL.
 Due to missing error checks in fixdep.c this has been a long journey
 to reach this far. ]

I looked briefly at the fstat implmnetation in the kernel and
this did not give me any hints.
I therefore changed to subject to attrack attention of more readers.

Can you supply us with a bit more information about your system:
- filesystem (as fstat seems to reach filesystem specific code)
- glibc version 
- box (architecture + 32 or 64 bit kernel)
- do you see other things misbehave or is this only a kernel build thing

If you have provided this info in the past I have missed it.

	Sam

[Kept the below for new readers]

On Sun, Nov 07, 2010 at 01:09:30PM -0500, Ben Gamari wrote:
> On Sun, 7 Nov 2010 18:07:00 +0100, Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
> > Interesting and valueable information!
> > 
> > Looks like fstat() failed for some odd reason
> > Could you try to check the return value of fstat().
> > 
> fixdep: fstat failed: Invalid argument
> 
> Interesting indeed. According to my manpage fstat doesn't even return
> EINVAL.
> 
> - 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/
> 
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux