From: Michal Marek <mmarek@suse.cz>
To: "Yang, Fei" <fei.yang@intel.com>
Cc: Sam Ravnborg <sam@ravnborg.org>,
"linux-kbuild@vger.kernel.org" <linux-kbuild@vger.kernel.org>,
"'linux-kernel@vger.kernel.org' (linux-kernel@vger.kernel.org)"
<linux-kernel@vger.kernel.org>
Subject: Re: Can anyone suggest a better fix? Not sure if I understand the problem, but the patch fixed it
Date: Wed, 28 Aug 2013 17:07:30 +0200 [thread overview]
Message-ID: <521E1232.6010501@suse.cz> (raw)
In-Reply-To: <02E7334B1630744CBDC55DA85862258348E458D8@ORSMSX102.amr.corp.intel.com>
On 27.8.2013 21:05, Yang, Fei wrote:
>>> From: Fei Yang <fei.yang@intel.com>
>>> Date: Mon, 26 Aug 2013 11:21:48 -0700
>>> Subject: [PATCH] FIXDEP: error opening depfile
>>>
>>> Met a kernel build issue where fixdep fails to open a depfile,
>>> fixdep: error opening depfile: drivers/driver-name/.driver-code.o.d:
>>> No such file or directory
>>> make[4]: *** [drivers/driver-name/driver-code.o] Error 2
>>> make[3]: *** [drivers/driver-name] Error 2 Don't know why the expected
>>> file was not created, but the assumption that the file had been
>>> created might not be true, so simply return for such failure.
>
>> I tried to grep:
>> git grep "driver-name"
>>
>> No hits.
>>
>> Are you trying to fix a build issue with something out-of-tree - or is this only in linux-next?
>
> Oh, I changed the driver and file name in the error message to avoid
> unnecessary confusion
You achieved quite the opposite :-).
> as the driver is not an upstream one. But this issue happens randomly, not 100%
> reproducible. And it happens on different driver sometimes.
Are you able to reproduce this with the vanilla kernel? If so, details
please. If not, then this can be something with your module's build
system. Are you using anything fancier than
$ cat Makefile
obj-m += my-module.o
$ make -C <kernel build tree> M=$PWD
?
Michal
next prev parent reply other threads:[~2013-08-28 15:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-26 19:22 Can anyone suggest a better fix? Not sure if I understand the problem, but the patch fixed it Yang, Fei
2013-08-26 20:10 ` Sam Ravnborg
2013-08-27 19:05 ` Yang, Fei
2013-08-28 15:07 ` Michal Marek [this message]
2013-08-28 15:08 ` Michal Marek
2013-08-28 16:27 ` Yang, Fei
2013-08-28 16:31 ` Michal Marek
2013-08-28 16:47 ` Yang, Fei
2013-08-29 17:55 ` Sam Ravnborg
2013-08-30 15:10 ` Michal Marek
2013-08-29 17:55 ` Sam Ravnborg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=521E1232.6010501@suse.cz \
--to=mmarek@suse.cz \
--cc=fei.yang@intel.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox