Re: [PATCH] MIPS: fix build failure

From: Markos Chandras
Date: Wed Oct 28 2015 - 06:18:13 EST


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 <sudip@xxxxxxxxxxxxxxx>
> ---
>
> This patch is based on mips-for-linux-next branch.
>

Something is not right here. The <linux/auxvec.h> 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?


--
markos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/