Compile errors with sparc-2.6.git on cross compile GCC 4.1.1

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

 



Hi all,

I'm attempting to compile the latest sparc-2.6 git tree using a cross
compiler on my x86 box.

The compiler was generated with the crosstools v 0.43 scripts.

I've attached my .config.

The errors are:
===========
  LD      arch/sparc/boot/image
.tmp_kallsyms2.o: In function `kallsyms_addresses':
.tmp_kallsyms2.S:(.rodata+0x0): relocation truncated to fit:
R_SPARC_32 against symbol `_text' defined in .text section in
arch/sparc/boot/image
.tmp_kallsyms2.S:(.rodata+0x4): relocation truncated to fit:
R_SPARC_32 against symbol `_text' defined in .text section in
arch/sparc/boot/image
.tmp_kallsyms2.S:(.rodata+0x8): relocation truncated to fit:
R_SPARC_32 against symbol `_text' defined in .text section in
arch/sparc/boot/image
.tmp_kallsyms2.S:(.rodata+0xc): relocation truncated to fit:
R_SPARC_32 against symbol `_text' defined in .text section in
arch/sparc/boot/image
.tmp_kallsyms2.S:(.rodata+0x10): relocation truncated to fit:
R_SPARC_32 against symbol `_text' defined in .text section in
arch/sparc/boot/image
.tmp_kallsyms2.S:(.rodata+0x14): relocation truncated to fit:
R_SPARC_32 against symbol `_text' defined in .text section in
arch/sparc/boot/image
.tmp_kallsyms2.S:(.rodata+0x18): relocation truncated to fit:
R_SPARC_32 against symbol `_text' defined in .text section in
arch/sparc/boot/image
.tmp_kallsyms2.S:(.rodata+0x1c): relocation truncated to fit:
R_SPARC_32 against symbol `_text' defined in .text section in
arch/sparc/boot/image
.tmp_kallsyms2.S:(.rodata+0x20): relocation truncated to fit:
R_SPARC_32 against symbol `_text' defined in .text section in
arch/sparc/boot/image
.tmp_kallsyms2.S:(.rodata+0x24): relocation truncated to fit:
R_SPARC_32 against symbol `_text' defined in .text section in
arch/sparc/boot/image
.tmp_kallsyms2.S:(.rodata+0x28): additional relocation overflows
omitted from the output
make[1]: *** [arch/sparc/boot/image] Error 1
make: *** [image] Error 2
===========

My commandline is:
===========
make ARCH=sparc
CROSS_COMPILE=/usr/local/sparc-unknown-linux-gnu/bin/sparc-unknown-linux-gnu-
===========

and my tools are in
/usr/local/sparc-unknown-linux-gnu/

What analysis I can do on this at the moment indicates that an almost
identical .config (i.e. this config was imported into sparc-2.6.git
with make oldconfig) compiles fine on gentoo's revision 5 of the
2.6.22 kernel using a native (gentoo) version of gcc 3.4.6

Anyone seen this before or know what's going on?

Thanks,

-- 

Julian Calaby

Email: julian.calaby@xxxxxxxxx

Attachment: config-sparc-2.6-fail
Description: Binary data


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux