Re: 2.6.12: arm compilation problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux