Message ID | 20160607215237.GA13237@sepie.suse.cz (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
RW0gVGVyLCAyMDE2LTA2LTA3IMOgcyAyMzo1MiArMDIwMCwgTWljaGFsIE1hcmVrIGVzY3JldmV1 Og0KPiBPbiBUdWUsIEp1biAwNywgMjAxNiBhdCAwMjoxMDoyOFBNICswMDAwLCBaYW5vbmksIFBh dWxvIFIgd3JvdGU6DQo+ID7CoA0KPiANCj4gRnJvbSBiMzZmYWQ2NWQ2MWZmZmU0YjY2MmQ0YmZi MWVkNjczYzQ1NWEzNmEyIE1vbiBTZXAgMTcgMDA6MDA6MDANCj4gMjAwMQ0KPiBGcm9tOiBNaWNo YWwgTWFyZWsgPG1tYXJla0BzdXNlLmNvbT4NCj4gRGF0ZTogVHVlLCA3IEp1biAyMDE2IDExOjU3 OjAyICswMjAwDQo+IFN1YmplY3Q6IFtQQVRDSF0ga2J1aWxkOiBJbml0aWFsaXplIGV4cG9ydGVk IHZhcmlhYmxlcw0KPiANCj4gVGhlIE5PU1RESU5DX0ZMQUdTIHZhcmlhYmxlIGlzIGV4cG9ydGVk LCBzbyBpdCBuZWVkcyB0byBiZSBjbGVhcmVkIHRvDQo+IGF2b2lkIGR1cGxpY2F0aW5nIGl0cyBj b250ZW50IHdoZW4gcnVubmluZyBtYWtlIGZyb20gd2l0aGluIG1ha2UNCj4gKGUuZy4NCj4gaW4g dGhlIHBhY2thZ2luZyB0YXJnZXRzKS4gVGhpcyBiZWNhbWUgYW4gaXNzdWUgYWZ0ZXIgY29tbWl0 DQo+IDljOGZhOWJjMDhmNiAoImtidWlsZDogZml4IGlmX2NoYW5nZSBhbmQgZnJpZW5kcyB0byBj b25zaWRlciBhcmd1bWVudA0KPiBvcmRlciIpLCB3aGljaCBubyBsb25nZXIgaWdub3JlcyB0aGUg ZHVwbGljYXRlIG9wdGlvbnMuIEFzIFBhdWxvDQo+IFphbm9uaQ0KPiBwb2ludHMgb3V0LCB0aGUg TERGTEFHU192bWxp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K PiDCoENGTEFHU19LRVJORUwJPQ0KPiDCoEFGTEFHU19LRVJORUwJPQ0KPiArTERGTEFHU192bWxp bnV4ID0NCj4gwqBDRkxBR1NfR0NPVgk9IC1mcHJvZmlsZS1hcmNzIC1mdGVzdC1jb3ZlcmFnZSAt Zm5vLXRyZWUtbG9vcC0NCj4gaW0gLVduby1tYXliZS11bmluaXRpYWxpemVkDQo+IMKgQ0ZMQUdT X0tDT1YJPSAtZnNhbml0aXplLWNvdmVyYWdlPXRyYWNlLXBjDQo+IMKg -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 09.06.2016 01:29, Zanoni, Paulo R wrote: > Em Ter, 2016-06-07 às 23:52 +0200, Michal Marek escreveu: >> On Tue, Jun 07, 2016 at 02:10:28PM +0000, Zanoni, Paulo R wrote: >> From b36fad65d61fffe4b662d4bfb1ed673c455a36a2 Mon Sep 17 00:00:00 >> 2001 >> From: Michal Marek <mmarek@suse.com> >> Date: Tue, 7 Jun 2016 11:57:02 +0200 >> Subject: [PATCH] kbuild: Initialize exported variables >> >> The NOSTDINC_FLAGS variable is exported, so it needs to be cleared to >> avoid duplicating its content when running make from within make >> (e.g. >> in the packaging targets). This became an issue after commit >> 9c8fa9bc08f6 ("kbuild: fix if_change and friends to consider argument >> order"), which no longer ignores the duplicate options. As Paulo >> Zanoni >> points out, the LDFLAGS_vmlinux variable has the same problem. >> >> Reported-by: "Zanoni, Paulo R" <paulo.r.zanoni@intel.com> >> Fixes: 9c8fa9bc08f6 ("kbuild: fix if_change and friends to consider >> argument order") >> Signed-off-by: Michal Marek <mmarek@suse.com> > Works for me. > Tested-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Michal, what's the status here? This made it on my 4.7 regressions report due to the "regression" keyword in the subject. Is this an older regression or something that will get fixed post 4.7? It's not fixed in mainline afaics, but maybe I missed something. Sincerely, your regression tracker for Linux 4.7 (http://bit.ly/28JRmJo) Thorsten -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Dne 26.6.2016 v 12:43 Thorsten Leemhuis napsal(a): > On 09.06.2016 01:29, Zanoni, Paulo R wrote: >> Em Ter, 2016-06-07 às 23:52 +0200, Michal Marek escreveu: >>> On Tue, Jun 07, 2016 at 02:10:28PM +0000, Zanoni, Paulo R wrote: >>> From b36fad65d61fffe4b662d4bfb1ed673c455a36a2 Mon Sep 17 00:00:00 >>> 2001 >>> From: Michal Marek <mmarek@suse.com> >>> Date: Tue, 7 Jun 2016 11:57:02 +0200 >>> Subject: [PATCH] kbuild: Initialize exported variables >>> >>> The NOSTDINC_FLAGS variable is exported, so it needs to be cleared to >>> avoid duplicating its content when running make from within make >>> (e.g. >>> in the packaging targets). This became an issue after commit >>> 9c8fa9bc08f6 ("kbuild: fix if_change and friends to consider argument >>> order"), which no longer ignores the duplicate options. As Paulo >>> Zanoni >>> points out, the LDFLAGS_vmlinux variable has the same problem. >>> >>> Reported-by: "Zanoni, Paulo R" <paulo.r.zanoni@intel.com> >>> Fixes: 9c8fa9bc08f6 ("kbuild: fix if_change and friends to consider >>> argument order") >>> Signed-off-by: Michal Marek <mmarek@suse.com> >> Works for me. >> Tested-by: Paulo Zanoni <paulo.r.zanoni@intel.com> > > Michal, what's the status here? This made it on my 4.7 regressions > report due to the "regression" keyword in the subject. I forgot to send it to Linus, fixed now. Thanks for the reminder. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Makefile b/Makefile index 0f70de63cfdb..af0c463e908f 100644 --- a/Makefile +++ b/Makefile @@ -363,11 +363,13 @@ CHECK = sparse CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \ -Wbitwise -Wno-return-void $(CF) +NOSTDINC_FLAGS = CFLAGS_MODULE = AFLAGS_MODULE = LDFLAGS_MODULE = CFLAGS_KERNEL = AFLAGS_KERNEL = +LDFLAGS_vmlinux = CFLAGS_GCOV = -fprofile-arcs -ftest-coverage -fno-tree-loop-im -Wno-maybe-uninitialized CFLAGS_KCOV = -fsanitize-coverage=trace-pc