Hello, I'm using buildroot 2010.02, configure it for sparc (not sparc64), also the kernel is properly configured (sparc) after make, (or make linux26, after building the toolchain etc) I get the followin error in the last stage of kernel building !! LD vmlinux SYSMAP System.map SYSMAP .tmp_System.map BTFIX arch/sparc/boot/btfix.S AS arch/sparc/boot/btfix.o LD arch/sparc/boot/image arch/sparc/kernel/head_32.o: In function `current_pc': (.head.text+0xc040): relocation truncated to fit: R_SPARC_WDISP22 against `.init.text' arch/sparc/kernel/built-in.o:(.fixup+0x4): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/built-in.o:(.fixup+0xc): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/built-in.o:(.fixup+0x14): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/built-in.o:(.fixup+0x1c): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/built-in.o:(.fixup+0x28): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/built-in.o:(.fixup+0x30): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/built-in.o:(.fixup+0x38): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/built-in.o:(.fixup+0x40): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/built-in.o:(.fixup+0x48): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/built-in.o:(.fixup+0x50): additional relocation overflows omitted from the output make[2]: *** [arch/sparc/boot/image] Error 1 make[1]: *** [zImage] Error 2 make[1]: Leaving directory `/media/Data/PFE/buildroot/output/build/linux-2.6.32.9' make: *** [/media/Data/PFE/buildroot/output/build/linux-2.6.32.9/arch/sparc/boot/zImage] Error 2 Any help ?! At least a useful debugging method !
Can you still reproduce the issue with Buildroot 2010.05 ? It seems to be either a toolchain bug or a kernel bug (more likely a toolchain bug). Sparc support in Buildroot isn't widely used, as Sparc isn't used much in the embedded space.
As Sparc isn't really what we could call a CPU architecture widely used in embedded systems, the core Buildroot team is not really willing to spend time fixing Sparc related issues (we already have tons of other issues on more important embedded architectures like ARM, PowerPC, MIPS, AVR32 and others). So, unless someone (you ?) steps in with a fix for this, we are not going to fix it. We will probably mark the sparc and sparc64 architectures as deprecated in Buildroot some day.