From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755793AbbJ1Kb2 (ORCPT ); Wed, 28 Oct 2015 06:31:28 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:32539 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755585AbbJ1Kb0 (ORCPT ); Wed, 28 Oct 2015 06:31:26 -0400 Subject: Re: [PATCH] MIPS: fix build failure To: Sudip Mukherjee , Ralf Baechle References: <1446026898-10126-1-git-send-email-sudipm.mukherjee@gmail.com> <5630A0DC.4080700@imgtec.com> CC: , Alex Smith , Matthew Fortune From: Markos Chandras Message-ID: <5630A3FC.9030007@imgtec.com> Date: Wed, 28 Oct 2015 10:31:24 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <5630A0DC.4080700@imgtec.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.154.37] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- markos