[Buildroot] [PATCH] bfin: disable newer binutils for internal toolchain

Waldemar Brodkorb wbx at openadk.org
Sun Aug 31 08:24:54 UTC 2014


You get following linking error, when trying to build a
toolchain for bfin with newer binutils:
bfin-buildroot-linux-uclibc/bin/ld: fde encoding in _divdi3_s.o(.eh_frame) prevents .eh_frame_hdr table being created.

Signed-off-by: Waldemar Brodkorb <wbx at openadk.org>
---
 package/binutils/Config.in.host |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host
index e6b6535..56c733f 100644
--- a/package/binutils/Config.in.host
+++ b/package/binutils/Config.in.host
@@ -17,11 +17,11 @@ choice
 		bool "binutils 2.22"
 
 	config BR2_BINUTILS_VERSION_2_23_2
-		depends on !BR2_avr32 && !BR2_aarch64 && !BR2_microblaze && !BR2_powerpc64le
+		depends on !BR2_avr32 && !BR2_aarch64 && !BR2_bfin && !BR2_microblaze && !BR2_powerpc64le
 		bool "binutils 2.23.2"
 
 	config BR2_BINUTILS_VERSION_2_24
-		depends on !BR2_avr32
+		depends on !BR2_avr32 && !BR2_bfin
 		bool "binutils 2.24"
 
 endchoice
-- 
1.7.10.4



More information about the buildroot mailing list