Re: [PATCH 1/3] 2.6.8-rc4-mm1 - Fix UML build

From: Russell King
Date: Tue Aug 17 2004 - 07:52:56 EST


On Tue, Aug 17, 2004 at 04:45:27PM +0200, Sam Ravnborg wrote:
> On Mon, Aug 16, 2004 at 10:10:17PM -0700, Andrew Morton wrote:
> > William Lee Irwin III <wli@xxxxxxxxxxxxxx> wrote:
> > >
> > > On Tue, Aug 17, 2004 at 02:02:21AM -0400, Jeff Dike wrote:
> > > > The undefined symbol checking is continuing to cause UML pain. This time,
> > > > it picked up a bunch of 'w' symbols as undefined. They were present in the
> > > > 2.6.8-rc4-mm1 vmlinux and caused no problems for the final link, so I added
> > > > them as a second special case to mksysmap (and I just noticed that I forgot
> > > > a comment there - I can submit a patch for that if there's demand for one).
> > >
> > > Likewise for sparc64; the 'w' symbols are showing up as 'undefined'
> > > there too. Probably because [^w] isn't behaving as expected.
> > >
> >
> > Sigh. That patch is causing a ton of grief. But Russell's reasons for
> > needing it on ARM were solid, and it is a bit weird for any architecture to
> > have undefined symbols in vmlinux. I guess we persist.
> Please note that the functionality is moved to scripts/mksysmap,
> so Russell's original ldchk needs to be backed out.

I'm hopeful that the next release of binutils (any ideas when that'll
be?) should resolve the various problems I've found.

At that point, I think we should consider whether to keep the check
(for possible problems in the future) and/or prevent older ARM
binutils building the kernel. That depends whether forcing all ARM
people to use the latest and greatest binutils (which may have other
issues) is really the best plan...

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
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/