Re: binutils woes

From: Martin Schlemmer
Date: Thu Jul 01 2004 - 14:45:44 EST


On Thu, 2004-07-01 at 20:07, Russell King wrote:
> On Thu, Jul 01, 2004 at 10:47:31AM -0700, Tom Rini wrote:
> > On Thu, Jul 01, 2004 at 05:52:31PM +0100, Russell King wrote:
> >
> > > Hi guys,
> > >
> > > On ARM, we appear to have somewhat of a problem with binutils. At
> > > least the following binutils suffer from a problem whereby it is
> > > possible to create programs which contain undefined symbols:
> > [snip]
> > > I think the only way we can ensure kernel correctness is to add a
> > > subsequent stage to kbuild such that whenever we generate a final
> > > program, we grep the 'nm' output for undefined symbols.
> > >
> > > Comments?
> >
> > Is there a version of binutils that really does get things right? If
> > so, can't you Just Say No to older versions and force people to upgrade
> > (with a simple testcase done upfront) ?
>
> I've just tested:
>
> GNU assembler 2.15.90 20040409
> Copyright 2002 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License. This program has absolutely no warranty.
> This assembler was configured for a target of `arm-linux'.
>

You might try (which should be on any kernel mirror):

GNU assembler 2.15.91.0.1 20040527
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i686-pc-linux-gnu'.


--
Martin Schlemmer

Attachment: signature.asc
Description: This is a digitally signed message part