Messages in this thread | | | Date | Thu, 1 Jul 2004 20:52:55 +0100 | From | Russell King <> | Subject | Re: binutils woes |
| |
On Thu, Jul 01, 2004 at 09:44:10PM +0200, Martin Schlemmer wrote: > 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'.
I don't think there's any point in trying - I just received a mail from Nick Clifton who has found the problem in the ARM backend of GAS and is apparantly in the process of committing it to CVS.
So, all ARM binutils versions from 2002 to date are affected by the bug.
Whether ld --no-undefined successfully producing binaries with undefined symbols is a problem or not remains unclear, however.
Even so, we still can not check whether we are actually using a late enough version of binutils and force kernel build failure on that basis. About the best we can do is as I originally suggested which is to add a postprocessing step after we link a binary object to ensure there are no undefined symbols remaining.
The alternative is we just say "Sorry, we're not prepared to provide any form of support for problems reported for ARM builds until the next stable release of binutils." Realistically, I don't think that's an acceptable position to take.
Therefore, unless anyone has any objections, I shall be cooking up a patch which adds an extra pass to any final object link for the kernel build system.
-- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |