Skip to contentSkip to conversation

bfin: disable newer binutils for internal toolchain

PATCH New Waldemar Brodkorb 2 participants 4 messages Aug 31, 2014 – Sep 2, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 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.

---
 package/binutils/Config.in.host |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/binutils/Config.in.host +2 -2
index e6b6535..56c733f 100644
@@ -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
Signature · 1 line
1.7.10.4
#1 lore raw

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

Dear Waldemar Brodkorb,

Quoted 8 lines · Waldemar Brodkorb

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.

---
 package/binutils/Config.in.host |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Could you report the bug to upstream binutils? I'd like to be able to get rid of binutils 2.22 at some point.

Thanks a lot!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

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

Hi Thomas,
Thomas Petazzoni wrote,

Quoted 12 lines

Dear Waldemar Brodkorb,

Quoted 8 lines · Waldemar Brodkorb

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.

---
 package/binutils/Config.in.host |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 4 lines

Could you report the bug to upstream binutils? I'd like to be able to get rid of binutils 2.22 at some point.

Thanks a lot!

Done:
https://sourceware.org/bugzilla/show_bug.cgi?id=17334

best regards
Waldemar

#3 lore raw

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

Dear Waldemar Brodkorb,

Quoted 7 lines · Waldemar Brodkorb
Quoted 4 lines

Could you report the bug to upstream binutils? I'd like to be able to get rid of binutils 2.22 at some point.

Thanks a lot!

Done:
https://sourceware.org/bugzilla/show_bug.cgi?id=17334

Great. Could you respin a new version of your patch that references this bug report in the comment, such as:

	# bfin disabled due to
	# https://sourceware.org/bugzilla/show_bug.cgi?id=17334
	config ...
		depends on !BR2_bfin

Thanks!

Thomas

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