lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <213451dcf8036133426aa04b6f377a16c6b53ff5.camel@infradead.org>
Date:   Mon, 30 Oct 2023 09:45:33 +0000
From:   David Woodhouse <dwmw2@...radead.org>
To:     David Laight <David.Laight@...LAB.COM>,
        "kvm@...r.kernel.org" <kvm@...r.kernel.org>
Cc:     Paolo Bonzini <pbonzini@...hat.com>, Shuah Khan <shuah@...nel.org>,
        "linux-kselftest@...r.kernel.org" <linux-kselftest@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] KVM: selftests: add -MP to CFLAGS

On Sun, 2023-10-29 at 21:13 +0000, David Laight wrote:
> From: David Woodhouse
> > Sent: 28 October 2023 20:35
> > 
> > Using -MD without -MP causes build failures when a header file is deleted
> > or moved. With -MP, the compiler will emit phony targets for the header
> > files it lists as dependencies, and the Makefiles won't refuse to attempt
> > to rebuild a C unit which no longer includes the deleted header.
> 
> Won't a phony target stop a header being built if there is
> an actual rule to build it?

It probably would have taken you about the same time to find the answer
for yourself, as it took to write that email. Why don't you try it?

Download attachment "smime.p7s" of type "application/pkcs7-signature" (5965 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ