[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Add -MP to CFLAGS along with -MMD.



On 17.03.2020 15:34, David Woodhouse wrote:
> From: David Woodhouse <dwmw@xxxxxxxxxxxx>
> 
> This causes gcc (yes, and clang) to emit phony targets for each dependency.
> 
> This means that when a header file is deleted, the C files which *used*
> to include it will no longer stop building with bogus out-of-date
> dependencies like this:
> 
>   make[5]: *** No rule to make target
>   '/home/dwmw2/git/xen/xen/include/asm/hvm/svm/amd-iommu-proto.h',
>   needed by 'p2m.o'. Stop.

In principle this would be nice, but there must be a reason this isn't
the default behavior. As the workaround for the issue at hand is quite
simple, I wouldn't like to treat addressing this one by some other
anomaly/quirk. Do you (or does anyone else) have insight into why this
isn't default behavior?

Jan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.