This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: vmlinux parse error 2.6.12.5
- From: Russell King - ARM Linux <linux at arm dot linux dot org dot uk>
- To: Dave Korn <dave dot korn at artimi dot com>
- Cc: 'Jared Hulbert' <jaredeh at gmail dot com>, 'Nicolas Pitre' <nico at cam dot org>,binutils at sourceware dot org, linux-arm-kernel at lists dot arm dot linux dot org dot uk
- Date: Sun, 28 Aug 2005 11:06:51 +0100
- Subject: Re: vmlinux parse error 2.6.12.5
- References: <6934efce05082609196563aaa5@mail.gmail.com> <SERRANOpCiucrtddBA800000339@SERRANO.CAM.ARTIMI.COM>
On Fri, Aug 26, 2005 at 05:39:51PM +0100, Dave Korn wrote:
> >> How long _has_ the ASSERT been present? It wasn't in 2.6.7. As far
>
> > It is in 2.6.12 but not 2.6.11.12 the file to look at is
> > arch/arm/kernel/vmlinux.lds.S
>
> Thank you; that means that the assert has only been there for a couple of
> months and it's entirely possible that the problem is real and I'm just one
> of the first to be tripped up by it, rather than that it's been working fine
> for everyone for ages ....
If you read the ld info pages, you'll find that ASSERT() is documented
as a valid linker script command, and has been since about binutils 2.13.
It seems that there isn't an obvious syntactic error in the file, and it
works fine for the majority(?) of people.
I suggest folk who encounter this problem to report it to the binutils
folk so that they can investigate - the problem may be related to how
you built your binutils.
Also, when there is a resolution of this from the binutils people, please
let us know here the result. Thanks.