On Fri, 2017-02-17 at 14:12 +0000, Ben Hutchings wrote: [...] > I also just hit this with the linux package. On some architectures it > builds kernels with and without the PREEMPT_RT patches. I found that a > dependency list generated from a PREEMPT_RT build may be reused for a > standard build; this caused a build failure because the patched source > directory had not yet been created. > > The two commands are: > > gcc -Wp,-MD,scripts/genksyms/.parse.tab.o.d -Iscripts/genksyms -Wall > -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 > -I/build/linux-4.9.10/scripts/genksyms -c -o scripts/genksyms/parse.tab.o > scripts/genksyms/parse.tab.c > gcc -Wp,-MD,scripts/genksyms/.parse.tab.o.d -Iscripts/genksyms -Wall > -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 > -I/build/linux-4.9.10/debian/build/source_rt/scripts/genksyms -c -o > scripts/genksyms/parse.tab.o scripts/genksyms/parse.tab.c [...]
By the way, these two commands are run with different working directories. At first glance the documentation seems to say that the working directory is included in the hash by default, but actually it's only included when generating debug info and there's no debug prefix map. Ben. -- Ben Hutchings Any sufficiently advanced bug is indistinguishable from a feature.
signature.asc
Description: This is a digitally signed message part