Skip to contentSkip to conversation

bfin: disable newer binutils for internal toolchain

PATCH New Waldemar Brodkorb 2 participants 2 messages Sep 4, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 bfin: disable newer binutils for internal toolchain

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.

---
Changes in v2:
* added comment about upstream bugreport suggested by Thomas P.

---
 package/binutils/Config.in.host |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/binutils/Config.in.host +4 -2
index 826db6d..45f604a 100644
@@ -16,12 +16,14 @@ choice
 		depends on !BR2_avr32 && !BR2_aarch64 && !BR2_microblaze && !BR2_powerpc64le
 		bool "binutils 2.22"
 
+	# bfin disabled for newer binutils due to
+	# https://sourceware.org/bugzilla/show_bug.cgi?id=17334
 	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
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH v2 1/1 bfin: disable newer binutils for internal toolchain

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Waldemar" == Waldemar Brodkorb <[email protected]> writes:

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.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard