[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200914133559.GA126210@localhost.localdomain>
Date: Mon, 14 Sep 2020 16:35:59 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: mingo@...nel.org
Cc: linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org,
masahiroy@...nel.org
Subject: Re: [PATCH] kbuild: Run syncconfig with -s
> BTW., there's another, rather spurious bug I recently triggered in kbuild.
>
> Occasionally when I Ctrl-C a kernel build on a system with a lot of CPUs,
> the .o.cmd file gets corrupted:
Those are temporary files, truncated at page boundary.
$ stat -c %s XXX.pata_sil680.mod.o.cmd
12288
I tried to fix this by inserting shell 'trap' directive but it failed
somewhere else.
cmd_and_fixdep = \
$(cmd); \
scripts/basic/fixdep $(depfile) $@ '$(make-cmd)' > $(dot-target).cmd;\
rm -f $(depfile)
Powered by blists - more mailing lists