From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935462AbdLSHoz (ORCPT ); Tue, 19 Dec 2017 02:44:55 -0500 Received: from mx2.suse.de ([195.135.220.15]:37698 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758246AbdLSHoy (ORCPT ); Tue, 19 Dec 2017 02:44:54 -0500 Date: Tue, 19 Dec 2017 08:44:51 +0100 From: Michal Hocko To: Johannes Berg Cc: Linux Kernel Mailing List Subject: error: redefinition of =?utf-8?B?4oCYc2hp?= =?utf-8?B?cHBlZF9yZWdkYl9jZXJ0c+KAmQ==?= Message-ID: <20171219074451.GA15210@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Johannes, this is the first time I am seeing this with the current Linus tree. 4.15-rc3 compiled fine. I have checked that you have updated the makefile which generates the file by 715a12334764 ("wireless: don't write C files on failures"). I am getting the following compilation error: CC [M] net/wireless/shipped-certs.o net/wireless/shipped-certs.c:686:10: error: redefinition of ‘shipped_regdb_certs’ const u8 shipped_regdb_certs[] = { ^~~~~~~~~~~~~~~~~~~ net/wireless/shipped-certs.c:2:10: note: previous definition of ‘shipped_regdb_certs’ was here const u8 shipped_regdb_certs[] = { ^~~~~~~~~~~~~~~~~~~ net/wireless/shipped-certs.c:1368:14: error: redefinition of ‘shipped_regdb_certs_len’ unsigned int shipped_regdb_certs_len = sizeof(shipped_regdb_certs); ^~~~~~~~~~~~~~~~~~~~~~~ net/wireless/shipped-certs.c:684:14: note: previous definition of ‘shipped_regdb_certs_len’ was here unsigned int shipped_regdb_certs_len = sizeof(shipped_regdb_certs); ^~~~~~~~~~~~~~~~~~~~~~~ scripts/Makefile.build:310: recipe for target 'net/wireless/shipped-certs.o' failed make[3]: *** [net/wireless/shipped-certs.o] Error 1 scripts/Makefile.build:569: recipe for target 'net/wireless' failed make[2]: *** [net/wireless] Error 2 Makefile:1012: recipe for target 'net' failed make[1]: *** [net] Error 2 I have no idea how the generated file is supposed to work but it seems that the cleanup doesn't work properly. Compilation succeeds if I remove the file and it is generated again: $ rm net/wireless/shipped-certs.c [...] GEN net/wireless/shipped-certs.c CC [M] net/wireless/shipped-certs.o I have double checked that neither make clean/distclean removed the file. Strangely enough neither did the tree with 715a12334764 reverted. Any idea? -- Michal Hocko SUSE Labs