From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Pavel Machek <pavel@ucw.cz>
Cc: kernel list <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.12: arm compilation problems
Date: Tue, 5 Jul 2005 23:42:20 +0100 [thread overview]
Message-ID: <20050705234220.A19003@flint.arm.linux.org.uk> (raw)
In-Reply-To: <20050705215001.GC2259@elf.ucw.cz>; from pavel@ucw.cz on Tue, Jul 05, 2005 at 11:50:01PM +0200
On Tue, Jul 05, 2005 at 11:50:01PM +0200, Pavel Machek wrote:
> I get this, trying to cross-compile 2.6.12 for arm. I tried different
> configs... What am I doing wrong? [2.6.11 compiles ok, and even works
> on my zaurus after some patches. I tried unpatched 2.6.12, too.]
>
> GEN .version
> CHK include/linux/compile.h
> UPD include/linux/compile.h
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> /scratchbox/compilers/arm-gcc-3.3.4-glibc-2.3.2/bin/arm-linux-ld:arch/arm/kernel/vmlinux.lds:648:
> syntax error
Your binutils is probably too old and therefore buggy. 2.16 seems
reasonable, others prefer the known-buggy in other respects 2.15
version (iirc assembler doesn't complain about undefined constant
symbols, doesn't correctly hide $a, $d, $t symbols.)
The exact problem is the ASSERT() macro in the linker script - it
appears some versions of binutils are documented to accept this
but unfortunately it incorrectly errors out with a ficticious syntax
error.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
prev parent reply other threads:[~2005-07-05 22:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-05 21:50 Pavel Machek
2005-07-05 22:42 ` Russell King [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050705234220.A19003@flint.arm.linux.org.uk \
--to=rmk+lkml@arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®