From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qw0-f46.google.com ([209.85.216.46]:35273 "EHLO mail-qw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752936Ab0KGXHL (ORCPT ); Sun, 7 Nov 2010 18:07:11 -0500 From: Ben Gamari Subject: Re: fstat suddenly return -EINVAL [Was: Bus error on make allyesconfig, kernelbuild with HEAD] In-Reply-To: <20101107223056.GA23871@merkur.ravnborg.org> References: <20100729105225.GA13192@faui48a.informatik.uni-erlangen.de> <20100729121002.GC13192@faui48a.informatik.uni-erlangen.de> <20100730084353.GB5638@cr0.nay.redhat.com> <87d3qicwxn.fsf@gmail.com> <87aalmcv0p.fsf@gmail.com> <20101106162426.GA14361@merkur.ravnborg.org> <87tyjtjd7m.fsf@gmail.com> <20101107170700.GA22684@merkur.ravnborg.org> <87mxplypid.fsf@gmail.com> <20101107223056.GA23871@merkur.ravnborg.org> Date: Sun, 07 Nov 2010 18:07:08 -0500 Message-ID: <87lj54raw3.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Sam Ravnborg Cc: =?utf-8?Q?Am=C3=A9rico?= Wang , Christoph Egger , linux-kernel@vger.kernel.org, linux-kbuild , Michal Marek On Sun, 7 Nov 2010 23:30:56 +0100, Sam Ravnborg wrote: > 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. > Thanks! > 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. > The kernel tree resides on an ext4 partition. The machine has two Xeon E5520 processors and runs 64-bit Ubuntu 10.04 which uses eglibc 2.11.1. Note that the kernel is being cross-compiled for ARM under an OpenEmbedded toolchain (have tried both gcc 4.4.4 and 4.5). This is the only strange behavior that I know of. Cheers, - Ben