From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755785AbbJ1KtM (ORCPT ); Wed, 28 Oct 2015 06:49:12 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:33323 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751319AbbJ1KtL (ORCPT ); Wed, 28 Oct 2015 06:49:11 -0400 Date: Wed, 28 Oct 2015 16:18:45 +0530 From: Sudip Mukherjee To: Markos Chandras Cc: Ralf Baechle , linux-kernel@vger.kernel.org, Alex Smith , Matthew Fortune Subject: Re: [PATCH] MIPS: fix build failure Message-ID: <20151028104845.GB15178@sudip-pc> References: <1446026898-10126-1-git-send-email-sudipm.mukherjee@gmail.com> <5630A0DC.4080700@imgtec.com> <5630A3FC.9030007@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5630A3FC.9030007@imgtec.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 28, 2015 at 10:31:24AM +0000, Markos Chandras wrote: > On 10/28/2015 10:18 AM, Markos Chandras wrote: > > On 10/28/2015 10:08 AM, Sudip Mukherjee wrote: > >> While building for mips defconfig the build failed with the error: > >> In function 'create_elf_tables': > >> arch/mips/include/asm/elf.h:425:14: error: > >> 'AT_SYSINFO_EHDR' undeclared (first use in this function) > >> > >> AT_SYSINFO_EHDR is defined in uapi/asm/auxvec.h which was not included > >> here. > >> > >> Fixes: c1fb442ade67 ("MIPS: Initial implementation of a VDSO") > >> Signed-off-by: Sudip Mukherjee > >> --- > >> > >> This patch is based on mips-for-linux-next branch. > >> > > > > Something is not right here. The header is already > > included in that file which in turns includes uapi/asm/auxvec.h > > > > I haven't seen this failure in Ralf's tree. Could you share your .config > > and perhaps the hash of the mips-for-linux-next tree you tried it on? > > > > > I believe your problem might be similar to this > > https://www.linux-mips.org/archives/linux-mips/2015-10/msg00280.html > > in other words either remove the generated headers or do a 'make > mrproper' (make sure to backup your .config) and try again Yes, I did a make distclean to be sure everything is clean. And it builds properly. Please discard the patch. Sorry for the noise. regards sudip