[PATCH v7 0/9] ARM: VDSO

Russell King - ARM Linux linux at arm.linux.org.uk
Sat Jun 28 07:49:04 PDT 2014


On Sat, Jun 28, 2014 at 10:55:04AM +0100, Russell King - ARM Linux wrote:
> On Sat, Jun 28, 2014 at 10:42:19AM +0100, Russell King - ARM Linux wrote:
> > On Fri, Jun 27, 2014 at 12:01:12PM -0500, Nathan Lynch wrote:
> > > Since removing -lgcc from the link (one of the changes from v6 to v7), I
> > > believe the VDSO is not asking more of the toolchain or build
> > > environment than the rest of the kernel does.  I have definitely built
> > > it without a target libc.  Apart from the host program's use of
> > > too-recent ELF constants (now fixed), I would appreciate help
> > > identifying any remaining sources of fragility.
> > 
> > There's still something wrong:
> > 
> > fs/binfmt_elf.c: In function 'create_elf_tables':
> > fs/binfmt_elf.c:231:35: error: 'AT_SYSINFO_EHDR' undeclared (first use in this function)
> > fs/binfmt_elf.c:231:35: note: each undeclared identifier is reported only once for each function it appears in
> > 
> > The problem is the fscking generated includes.  This is going to be a
> > right pain - Arnd, is there anything which can be done about this?
> 
> And yes, I see that you've mentioned this in the cover - but I think we
> /really/ need this solved before we can merge this series, otherwise
> we're likely to get lots of people asking about it.

Thinking about this some more - if this can't be resolved by kbuild,
then I think we should add to arch/arm/Kconfig to detect the generated
include file, print a helpful message telling the user how to fix their
build tree, and error out.

-- 
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly
improving, and getting towards what was expected from it.



More information about the linux-arm-kernel mailing list