vmlinux parse error

Russell King - ARM Linux linux@arm.linux.org.uk
Sun Aug 28 10:07:00 GMT 2005

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 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.

More information about the Binutils mailing list