Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754307Ab0KHURV (ORCPT ); Mon, 8 Nov 2010 15:17:21 -0500 Received: from mail-yx0-f174.google.com ([209.85.213.174]:59525 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753640Ab0KHURU (ORCPT ); Mon, 8 Nov 2010 15:17:20 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; b=gfaYM0X4IvvbP4Suu7njzmWjUesVZdlTh7Ghn1Pj08X+KgEqjao9xwfNT6AfYUs3B/ a2q3Suc0aMEw1dqAswS5KRtQBY+Ukv8tfkJglTHOnZUSpgEP8nSVIrhqYCKhWLUqNLKT c5kGanEpBOJy7/xZrvppLbXAMf9C+nWx/98Dg= From: Ben Gamari To: Sam Ravnborg Cc: =?utf-8?Q?Am=C3=A9rico?= Wang , Christoph Egger , linux-kernel@vger.kernel.org, linux-kbuild , Michal Marek Subject: Re: fstat suddenly return -EINVAL [Was: Bus error on make allyesconfig, kernelbuild with HEAD] In-Reply-To: <20101108190501.GA26866@merkur.ravnborg.org> References: <20101106162426.GA14361@merkur.ravnborg.org> <87tyjtjd7m.fsf@gmail.com> <20101107170700.GA22684@merkur.ravnborg.org> <87mxplypid.fsf@gmail.com> <20101107223056.GA23871@merkur.ravnborg.org> <87lj54raw3.fsf@gmail.com> <20101108101920.GA5527@cr0.nay.redhat.com> <87d3qgq9ca.fsf@gmail.com> <20101108182209.GA26742@merkur.ravnborg.org> <87d3qfejy5.fsf@gmail.com> <20101108190501.GA26866@merkur.ravnborg.org> User-Agent: Notmuch/0.3.1-158-g04cd99c (http://notmuchmail.org) Emacs/23.1.1 (x86_64-pc-linux-gnu) Date: Mon, 08 Nov 2010 15:17:16 -0500 Message-ID: <8762w7efjn.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 983 Lines: 35 On Mon, 8 Nov 2010 20:05:01 +0100, Sam Ravnborg 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/