Re: [uml-devel] [PATCH 8/9] um: fix strrchr problems

From: Jeff Dike
Date: Mon Aug 29 2011 - 23:51:48 EST


On Mon, Aug 29, 2011 at 02:27:05PM -0700, Andrew Morton wrote:
> ok, I give up. How does this work?

It fixes symbol clashes between libc and kernel names by redefining
the kernel name in any file that is built against kernel headers.

This fix is fairly nasty, but simple and it works. My long-range plan
was to build all of the kernel objects into a single self-contained
object with no dangling references and link it into the userspace
stuff, but I never acquired the ld-fu to pull that off.

Jeff
--
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/