[Buildroot] [PATCH] binutils: fix xtensa ld segfault on linking linux modules

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Jul 12 12:34:28 UTC 2014


Dear Max Filippov,

On Thu, 10 Jul 2014 20:25:13 +0400, Max Filippov wrote:
> This fixes the following build error reproducible with any linux kernel
> module built with a recent buildroot toolchain:
> 
>   LD [M]  fs/jbd2/jbd2.ko
>   /bin/sh: line 1: 12069 Segmentation fault
>   buildroot/host/usr/bin/xtensa-buildroot-linux-uclibc-ld -r --no-relax
>   -T linux/scripts/module-common.lds --build-id
>   -o fs/jbd2/jbd2.ko fs/jbd2/jbd2.o fs/jbd2/jbd2.mod.o
> 
> Backported from: e7d17e71cdc10a2e81e454ce3b9637f1b2a587f2
> Signed-off-by: Max Filippov <jcmvbkbc at gmail.com>

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list